Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket and applicationlink to Jira

Mads Schack Kahl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2019

Hi I am having some trouble with making a application link between my jira (Windows Server 2016) and my Bitbucket (Linux 18.04.02) with an Nginx proxy in front that does HTTP redirect and SSL.

Then I try to make the link it get the following error:

"No response was received from the URL you entered - it may not be valid. Please fix the URL below, if needed, and click Continue."


The URL is correct. Both servers are able to ping each other. In the Atlassian-bitbucket.log file it comes with this error: "Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to jira.domain.com:443 [jira.domain.com/localip] failed: Read timed out"

On the Jira server I get the following:
" Caused by: 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"

Both servers use the same CA certificate which works fine.  What am I missing here?

1 answer

1 accepted

0 votes
Answer accepted
Alexis Robert
Community Champion
October 10, 2019

Hi @Mads Schack Kahl , 

 

this errors is due to the JVM not having a valid root certificate for your Jira and Bitbucket instances.

This documentation explains how to import your root certificate (domain.com for example) in the JVM so that it's trusted and both applications can talk to each other.

 

Let me know if you have any questions, 

 

--Alexis

Mads Schack Kahl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2019

Thank you so much Alexis.

This solved my problem in 10 min. :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events