Forums

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

Jira <-> Bitbucket Application linking failing with self signed certificates

Apoorva HR August 31, 2020

Hi,

I am running Jira and Bitbucket servers in two different linux machines. Both jira and bitbucket servers are secured with tomcat using ssl(self-signed certificates). I am trying link both JIRA and Bitbucket with application linking. i have exported the certificates from Jira server and imported in Bitbucket and vice-versa. But still I am getting errors 'Jira may be using a self-signed SSL certificate or a certificate that was issued by a certificate authority that isn't known locally' in bitbucket. Please help me to solve the issue.

I have exported and imported certificates using keytool.

 

Thanks,

Apoorva

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 1, 2020

Hi Apoorva,

Looks like you're on the right track by importing the certificates, but I wonder which keystore you imported which certificate(s) into.

Cheers,

Christian

Premier Support Engineer

Atlassian

Apoorva HR September 1, 2020

Hi Christian,

I followed the below steps..

1. Exported the certificate from butbucket into file file.cer.

$sudo keytool -export -alias tomcat -file file.cer -keystore <Bitbucket home>\shared\config\ssl-keystore

2. Copied file.cer to Jira machine.

3. Imported the file.cer in Jira machine.

$sudo keytool -import -alias tomcat -file file.cer -keystore

4.

export JAVA_OPTS=-Djavax.net.ssl.trustStore="$JAVA_HOME/jre/lib/security/cacerts" -Djavax.net.ssl.trustStorePassword="changeit"

I got these steps from https://confluence.atlassian.com/bitbucketserverkb/problem-creating-an-application-link-from-jira-to-a-https-bitbucket-server-or-vice-versa-779171870.html

Thanks,

Apoorva

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events