Extracting SSL certificate from the Java Keystore (JKS)
To extract SSL certificate and private key from Keystore (JKS) file, run It will ask for the new Keystore password
List contents of jks keystore file
To list the content of jks keystore file used by tomcat web server, run command It will ask Keystore password.
keytool
The keytool command is a key and certificate management utility. It enables users to administer their own public/private key pairs