Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading openssl X.509 cert. and RSAPrivateKey

843810Jul 26 2003 — edited Nov 7 2006
Hi,

I've used openssl to create a X.509 certificate and the corresponding private key.
openssl creates 'filename'key.pem file which contains the RSA private key. And a PEM file containing the certificate file. Also it creates the PKCS12 File.

My question is how do I read the private key and the certificate.

I've been checking the web, there were few examples available, but I had problems with reading the private key. Any reliable suggestions?

Thanks,
crypto03
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2006
Added on Jul 26 2003
6 comments
249 views