connect confluence to Jira over SSL

Hi

 

I have setup JIRA for SSL and that works fine. I have installed Confluence on a new server in the same subnet. I get the following error message -

 

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"


my JIRA SSL cert is here - C:\Program Files\Atlassian\JIRA as per the SSL guide

 my Confluence cert is stored here -  C:\Users\Administrator\Documents\keystore.keystore

are these in the right place?


4 answers

Have you added your cert to the keystore of the jre which JIRA is using?

Yes I have and still the same error

0 vote
Brian Tom Atlassian Team Feb 02, 2015

Either Confluence cannot set up a trusted Connection to JIRA, JIRA cannot set up a trusted connection to Confluence, or both. The error basically means that one of the applications cannot find the cert of the other application in order to trust the connection. So you'll have to ensure that the Confluence cert is in JIRA's truststore, and that JIRA's cert is in Confluence's truststore. 

This KB has some instructions on how to do that: https://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services]

You can also use the SSLPoke tool to determine if your truststore has the right ceftificates. That tool is described in this KB: https://confluence.atlassian.com/display/JIRAKB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Building+Failed+sun.security.provider.certpath.SunCertPathBuilderException

Hope this helps!

 

Hi 

I checked this and still no joy... I tried using Application Links as well and still the same error! 

Not sure what else to do now. 

Is there a definitive answer on where the keystores should be? I have mentioned that above and even when I asked the unhelpful support chap I got no answer smile 

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
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

48 views 1 2
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