Steve, 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? And you responded 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. I have a similar problem and would be willing to send you the private key file in question if your still prepared to have a go at converting it. The file was generated using Oracles genreq tool of which I know little! many thanks Andy Griffin
begin:vcard n:Griffin;Andrew tel;home:0018 9722935 tel;work:0118 9245580 x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] note:IMAP://ims1.uk.oracle.com?fetch>UID>/Personal>183&part=1.2 x-mozilla-cpt:;-25280 fn:Andrew Griffin end:vcard
