Unable to configure SSL due to Incorrect Java home or invalid keystore

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After Configuring JIRA applications to run over SSL, JIRA applications starts but does not give access over port 443 or 8443. Logs contain:

SEVERE: Failed to load keystore type JKS with path /usr/local/jira/.keystore due to Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect

Causes and Resolutions

tip/resting Created with Sketch.

Add SSL Certificates automatically!

If you'd prefer to do this through the UI, we now have an Atlassian Labs plugin for this process.

  1. The keystore file is specified incorrectly in conf/server.xml. Check to make sure you specified the correct location and password with the keystorePass="<password value>" parameter.
  2. Check to make sure you're using the same password for the keystore when you use the keytool command to create it.
  3. Make sure java_home is set correctly. See Installing Java.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.