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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.


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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

170 views 1 3
Join discussion

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