Cannot add keystore using JIRA Configuration Tool

I have created a keystore as described here and have attempted to add it using the JIRA Configuration Tool (via the CLI since I'm on a Debian machine). When doing so I receive the following error message:

The referenced certificate could not be found or accessed. Do you want to try again?

After decompiling the relevant class, it seems this is due to a method designed to load the specified certificate details returning null. Is there any way I can get more information on why this is failing?

3 answers

Hi Tom, the message you mentioned usually is related to file system permission. Does the user running JIRA have permission to read the certificate file?

Also, you may find more information about JIRA classes at


Hi Tiago, the keystore file's permissions are 644 so JIRA's user should be able to read it.

0 votes

Hi Tom,

I found a question in Atlassian answer which seem to be relevant to your current issue Feel free to follow the suggestion in the answer and see if the solution apply to your issue.

Jing Hwa

Thanks, I had found that item, but the accepted answer doesn't seem to apply to my situation. The user imported his keys into the wrong keystore - but I have one keystore; named jira.jks in JIRA_HOME.


Perhaps this is a stupid shot in the dark, but are you using the JRE that comes packaged with Jira or are you using your own version of Java?

Do you see any difference if you import your certs into the Java keystore instead of the JKS in Jira?

Also I am confused, are you using the configuration tool or are you using the command line?

Hi Daniel,

I have the exact same error if the keys are imported into Java's main keystore. I'm using the JRE packaged with JIRA, and I'm using the Configuration Tool's command line interface (not any kind of GUI, which is presumably the alternative). I'm accessing this by running the shell script "bin/" in $JIRA_HOME.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,787 views 18 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you