Keith Johnston wrote:
>
> Does anyone know of a tool to convert a PKCS8 RSA private key to the PEM
> or DER format
> that OpenSSL uses?
>
Yes I do.
Its in my personal library source and isn't yet in the main tree: yet
another thing on my list of 'things to do'. What kind of PKCS#8:
encrypted or unencrypted? It is possible to use some operation with the
new openssl asn1parse tool options to retrieve an unencrypted RSA key
from one in unencrypted PKCS#8 format.
If it is encrypted then the format is usually PKCS#5 v1.5, if its PKCS#5
v2.0 (unlikely but possible I suppose) it will take a bit more work.
If you have a sample private key you don't mind sending me I'll see if
my code can handle it.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]