Receiving error when trying to create Incoming Trusted Application link From Confluence to JIRA

I am trying to set up the trusted application link between Confluence and JIRA so that I can list the Issues from JIRA on the Confluence page but I am getting the following error Unable to retrieve the application's certificate: 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. I have looked up the error on the forums and such and have done everything that the forums suggest, but I'm still getting the error. Both confluence and JIRA use SSL and have tried using the same Cert as well as different Certs..

2 answers

Hello,

The best way to proceed is testing both SSL certificates with the SSLPoke class, as per described here:

java -Djavax.net.ssl.trustStore=/your/jira/keystore SSLPoke YOUR_CONF_SERVER 443
java -Djavax.net.ssl.trustStore=/your/conf/keystore SSLPoke YOUR_JIRA_SERVER 443

If SSLPoke was able to stabilish the connection in the servers, the SSL certificates are fine, and it is only a misconfiguration in JIRA or Confluence. However, if SSL Poke doesn't work in some of the cases, it will be a SSL issue.

Best regards,
Lucas Timm

It should be related to certificate as the documentation pointed out. You need to make sure that that keystore import the cert for both Confluence and JIRA. Also, make sure the application using the correct keystore that you use to import the cert. For more information please refer to the following documentation.
* https://confluence.atlassian.com/display/CONFKB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Building+Failed+sun.security.provider.certpath.SunCertPathBuilderException

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 Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

667 views 21 11
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