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
relevant lines in apps/x509.c ;-)

Mario Fabiano schrieb:
> 
> How can I convert a certificate obtained with openssl CA from PEM to
> PKCS#10 format?
> Thank you in advance for any help.

-- 
Holger Reif                  Tel.: +49 361 74707-0
SmartRing GmbH               Fax.: +49 361 7470720
Europaplatz 5             [EMAIL PROTECTED]
D-99091 Erfurt                    WWW.SmartRing.de
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to