I am trying to set up SSL and I am having some trouble really understanding how to get the cert and cert path into a Keystore that the Jira application can read. We have our own PKI and I will need to set up the store so that it has our root, sub and cert.



1 answer

1 accepted

Hi Burton,

As a guide you could check out in Running JIRA over SSL or HTTPS documentation.

Also, are you using proxy in front of JIRA? I mean Apache, IIS.

Would you please explain a little bit more what is the main problem you're facing?

Have you configured SSL as described above and got some error? If so which error was it?

I hope it helps.


Hi, I have read the guide. Where my confusion starts is where is the keystore I should be using? Also, we are using our own PKI so I need to add my own root ca and sub ca to the trusted roots. I am not using an apache reverse proxy.

Thanks for the feedback!


Hi Burton,

Once you have already created a certificate, basically you'll need to:

  1. Copy the certificate (including "BEGIN" and "END" lines) and save it on a "YourCertificateName.cert" text file;
  2. Import it using Keytool to your keystore file:
    $JAVA_HOME/jre/bin/keytool -import -alias YourCertificateName -file YourCertificateName.cert -keystore /path/to/your/keystore
  3. Tip: If you're using Tomcat with SSL, you have to configure *server.xml* file (JiraDirectory\install\conf\sever.xml) as below:
               port="8443" maxThreads="200"
               scheme="https" secure="true" SSLEnabled="true"
               keystoreFile="/path/to/your/keystore" keystorePass="CertificatePassword"
               clientAuth="false" sslProtocol="TLS"/>
  4. Otherwise, you can just import it on a new keystore and add it on your JIRA startupoptions with the following argument:
    -Djavax.net.ssl.trustStore=/path/to/your/keystore -Djavax.net.ssl.trustStorePassword="CertificatePassword"
  5. Restart JIRA and check if SSL is working.

I hope it helps.

Kind Regards

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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 views 0 5
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