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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.