Network Error while connecting JIRA Cloud to on-prem Server Using Application Link
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
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"
環境
Jira Cloud
診断
- 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
原因
If the intermediate or root certificate cannot be accessed during validation the connection will fail with Network Error.
ソリューション
This needs to be fixed on the on-prem server. Verify if the certificate is properly installed.