Re: Certificate format conversion APIs

2013-05-20 Thread Saurabh Pandya
your stuff is here.. http://www.openssl.org/docs/crypto/pem.html happy reading ! On Mon, May 20, 2013 at 12:20 PM, Rahul Godbole wrote: > Hi OpenSSL Users > > Can someone tell me API using which I can convert certificates from one > format to another? I know that the openssl command can be use

Re: Certificate format conversion

1999-06-08 Thread Dr Stephen Henson
Mario Fabiano wrote: > > Sorry, I did a mistake. > What I want to do is to convert from PEM to PKCS#7. > I got the PEM format certificate processing with openssl a PKCS#10 > request, but what I actually need is a PKCS#7 certificate. > You can use the 'crl2pkcs7' utility for this. It is used to

Re: Certificate format conversion

1999-06-08 Thread Mario Fabiano
Holger Reif wrote: > > In principle impossible, since the PKCS#10 request contains a > signature with the private key of the requestor. > > But if you have both, the cert and the corresponding private > key, you can try to play with > openssl x509 -x509toreq -signkey > > If you asked about how

Re: Certificate format conversion

1999-06-07 Thread Holger Reif
In principle impossible, since the PKCS#10 request contains a signature with the private key of the requestor. But if you have both, the cert and the corresponding private key, you can try to play with openssl x509 -x509toreq -signkey If you asked about how to do it in C code then look at the r