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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

116 views 2 4
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