Yes, "openssl pkcs8" is the command to use.  Try:

        openssl pkcs8 -in key.p8

or the following if the key isn't encrypted:

        openssl pkcs8 -nocrypt -in key.p8

Regards,

Steven

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Wang, Kate
Sent: Tuesday, 25 September 2001 4:10 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: How to convert a PKCS8 private key to a RSA private key



Hi, all,

Could anyone give me some advice on how to convert a PKCS8 private key into
a RSA private key?

Will openssl pkcs8 do the trick?

The reason I ask is that we used RSA BSAFE SSL-J library before and now we
switched to openssl in our application, We need a conversion tool to convert
old private key into what Openssl takes.

Any advice would be greatly appreciated.

Thanks.
Kate
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to