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

This widget could not be displayed.

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

This widget could not be displayed.

Yes I have and still the same error

This widget could not be displayed.
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!

 

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

170 views 12 7
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