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!

keytool exporting certificate chain

843811Feb 27 2004 — edited Oct 7 2004

I went through the steps of generating a key pair with keytool and created a certificate signing request.

Using openSSL I signed the certificate and imported it back into the keystore.

When I run:
keytool -list -v -keystore myKS.jks -alias my_site

I see the certificate and it indicates its in a chain of two certificates. So far so good.

However, when I export the certificate, only the site certificate is exported and not the full chain.

How do I export the chain into a single file?
If I can't, is there a way I can glue the root certificate and the site certificate into a single file?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2004
Added on Feb 27 2004
2 comments
794 views