Checking JKS file

List all certificates in a JKS

keytool -list -v -keystore keystore.jks

Check a particular certificate using an alias

keytool -list -v -keystore keystore.jks -alias mydomain