What Do You Need?

  • keytool to read they "keyAlias" from a keystore.


The following command will show information about the Keystore "keystore.jks":


keytool -v -list -storetype jks -keystore keystore.jks


Please note, that the value for parameter "-storetype" must be set to "PKCS12" if the Keystore type is "PKCS12". In this example the Keystore type is "JKS".