Network Error while connecting JIRA Cloud to on-prem Server Using Application Link

Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

Summary

Application links are used to connect Jira cloud with on-prem servers. Sometimes the integration fails with Network Error and with exception :

"xxxx may be using a self-signed SSL certificate or a certificate that was issued by a certificate authority that isn't known locally"

Environment

Jira Cloud 

Diagnosis

  • Validate if the certificate is indeed valid by browsing to the on-prem server url in browser. If it gives error, it is clear certificate is not valid.
  • If it succeeds, run the following command in terminal and get the output


openssl s_client -servername atlassian.com -connect atlassian.com:443

Note : Replace atlassian.com in servername and connect with on-prem site url.

  • Open the certificate details in browser too and then compare if we see the same chain in command output that we see in UI of certificate details. 
  • Refer to the screenshots below where we see 3 certificates, Server > Intermediate> Root . In the UI complete chain can be seen and then in output of command as well we see bith intermediate and 




If there are any errors in certificate validation, they will also appear in the command output

Cause


If the intermediate or root certificate cannot be accessed during validation the connection will fail with Network Error. 

Solution

This needs to be fixed on the on-prem server. Verify if the certificate is properly installed.




Last modified on May 1, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.