RE: problem converting PKCS8 keystore private key to PEM

2010-03-11 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of eoinmoon > Sent: Wednesday, 10 March, 2010 11:00 > my attempts have failed to convert an private > key[generated in java keystore and exported via java code] to > a PEM format > which I need for my application. > > These are the steps I have d

Re: problem converting PKCS8 keystore private key to PEM

2010-03-11 Thread eoinmoon
And that's all he wrote Thanks for that Stephen, it worked... times like this you kind of go "duh!"... but still learning I suppose [Its my only excuse]. Excellent forum, loads of info and quick responses... not all are like that, appreciate it Regards Eoin Dr. Stephen Henson wrote: >

Re: problem converting PKCS8 keystore private key to PEM

2010-03-10 Thread Dr. Stephen Henson
On Wed, Mar 10, 2010, eoinmoon wrote: > > I then exported the private key [in java code], checked it was in PKCS8 form > - See below > > "if (key instanceof PrivateKey && "PKCS#8".equals(key.getFormat())) { > // Get certificate of public key > keyOutput =