Hi
We have used the code present in ca.c to make a library to generate
the certs on fly.. OpenSSL CA generates the certificates. We have used
the same.. Plz chk ca.c it would give more insigh.. I am sorry to say
but to us it appears they aren't any simple direct API for this..
HTH
-Krishna
On
U can have a set of APIs to generate the cert with some configurable
common name on the fly... Not sure whether u want to always use a
particular self-sign cert and modifiy CN of that particular cert or u
want to generate a self-signed cert with a configurable common name...
hth
-Krishna
On
Hi Krishna,
Thanks for your help. What are the set of APIs that would enable me to
generate the cert on the fly? Could you provide more detail?
Thanks,
-Grace
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krishna M Singh
Sent: Wednesday, August 16,
To change the Common Name attribute (or any attribute, really), you
have to re-sign the new certificate.
I'd think that you would need d2i_*, i2d_*, X509_*, and whatever else
is necessary to actually sign the data... then load the newly-signed
data as the certificate.
You should look at the
Hello,
To change the Common Name attribute (or any attribute, really), you
have to re-sign the new certificate.
I'd think that you would need d2i_*, i2d_*, X509_*, and whatever else
is necessary to actually sign the data... then load the newly-signed
data as the certificate.
You should
Hi,
In the code I am programming, it's required to replace the Common Name
(CN) field at runtime. Does anyone know how to replace one field at
runtime without using Openssl command? Meaning by calling some routing
to change just that one field in a self-signed certificate.
Thanks,
-Grace