keytool trustcacerts code example
Example 1: list of certificates in keystore
keytool -list -v -keystore keystore.jks
Example 2: keytool list certificates
keytool -v -list -keystore .keystore
keytool -list -v -keystore keystore.jks
keytool -v -list -keystore .keystore