Application link between Confluence and Jira not working

Antoine Berry
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 16, 2019

I cannot get application link between Jira and Confluence to work since I upgraded to HTTPS (port 8443). I am using a keystore referenced in the server.xml file. I added Confluence's certificate in the Jira keystore (and vice versa).

Here is the error message from Jira : 

image.png

With the associate log error : 

Unable to perform a request to: https://jira-agile.fr.cly:8443/rest/gadgets/1.0/g/messagebundle/en_US/gadget.common%2Cgadget.average.age
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
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
...

And the error message in Confluence : 

image.png

It looks like a certificate error, maybe have I missed a step ?

1 answer

1 accepted

0 votes
Answer accepted
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 16, 2019

Hi @Antoine Berry , 

 

there is actually a KB for this exact error : https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-error-779355358.html

Basically, you need to import your SSL certificates in your JVM trust store, you can follow this documentation to do this : https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html

 

Let me know if this helps, 

 

--Alexis

Antoine Berry
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 16, 2019

Thanks Alexis, that worked! I definitely checked that KB but was unsure what to do since I was already using a keystore. :)

I have another question on how to run on port 443 if you want to check.

Suggest an answer

Log in or Sign up to answer