...
Code Block |
---|
keytool -v -list -keystore $JAVA_HOME/jre/lib/security/cacerts |
Alternatives to Sun keytool Utility
- Portecle is a Java GUI tool that can handle all the keystore and certificate formats I've ever encountered. Very easy to use and recommended if you are uncomfortable with CLI tools.
- keystore is a CLI tool that has a couple notable improvements on keytool:
- Support for both PEM and DER-encoded files.
- You can import a certificate/key pair directly into a keystore. (With keytool, keys never leave the keystore; you generate them, then a corresponding CSR, then import the matching certificate once it is issued.)