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!

How to extract Private key from keystore entry using keytool ??

843811May 21 2007 — edited May 22 2007
How may I extract just the private key from the keystore entry of a public/private key pair originally generated by keytool -genkey ??

I know how to extract the certificate (-export), but my understanding is that is only the public key.

Thanks for help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2007
Added on May 21 2007
3 comments
475 views