Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,717 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you