Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

connect confluence to Jira over SSL

Jason Hughes January 27, 2015

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

0 votes
Jason Hughes February 4, 2015

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 

0 votes
Brian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 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!

 

0 votes
Jason Hughes February 2, 2015

Yes I have and still the same error

0 votes
Julian Riedinger [Decadis AG]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events