Change keystore location for (delegated) Active Directory SSL certificate

Instead of using the JVM keystore (\JIRA\jre\lib\security\cacerts) I like Jira use a different keystore for SSL handshaking with the Active Directory. Where can I set/change the location?

e.g. when creating a connector you can set "keystoreFile=" I want to do the same for the external user directory.

1 answer

1 accepted

Hi Lucas,

If Inderstand your question correctly, you are wanting to tell the JVM to look in a different location for it's Keystore, rather than using the default location. If this is indeed the case then you can add an argument to your JAVA_OPTS to tell the JVM to use a different Keystore. To do this just shutdown JIRA, add the following flag to the JAVA_OPTS and restart JIRA again:

-Djavax.net.ssl.keyStore="path-to-file"

All the best,
John

Hi John,

Thanks for your help. I am running Jira as a windows service and like to re-use the keystore containing my domain + user directory (LDAP) certificates. The included cacerts file gets overwritten during upgrade and I do not want to keep copying the file. Also, since the upgrade to 5.2 it no longer picks up the certificate.

Could you please advise how to to update the service so it will make sure the following keystore is used: "c:\certificates\.keystore"?

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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

694 views 6 13
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