read java keystore file code example Example: list of certificates in keystore keytool -list -v -keystore keystore.jks