Bootstrap FreeKB - Tomcat - Resolve "keystore password was incorrect"
Tomcat - Resolve "keystore password was incorrect"

Updated:   |  Tomcat articles

If a Tomcat JVM fails to start, and catalina.log has the following.

SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-12345]]
Caused by: java.io.IOException: keystore password was incorrect

 

The keystore password being used should be listed in the JVMs server.xml file. Also make note of the location of the keystore file.

keystoreFile="/path/to/keystore.p12"
keystorePass="example"

 

Ensure the password can be used to view the keystore file. If it cannot, then the wrong keystore password is being used in the JVMs server.xml file.

keytool -list -v -keystore /path/to/keystore.p12 -storetype PKCS12 -storepass the_password

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 41646d in the box below so that we can be sure you are a human.