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 http://docs.atlassian.com

Cheer

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

0 vote

Hi Tom,


I found a question in Atlassian answer which seem to be relevant to your current issue https://answers.atlassian.com/questions/146659/unable-to-configure-ssl-in-jira. Feel free to follow the suggestion in the answer and see if the solution apply to your issue.

Regards,
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.

Tom,

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/config.sh" in $JIRA_HOME.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

671 views 3 11
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