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?