Java stores certificates in keystore files.
For example, the trusted CA certificates, by default, are stored in $JAVA_HOME/jre/lib/security/cacerts file.
The certificates in a Java keystore file can be listed using the keytool -list command and in this short note i will show how to. (more…)