Resolve "keystore password was incorrect" when attempting to start a Tomcat JVM

Home > Search

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: 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.



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


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

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