After installing SSL on the conbuence bitbucket, there was a communication error between the applications. SSL is self-signed by my certificate authority.
I import the certificate, restart, does not help, do this:
echo -n | openssl s_client -connect kb.local:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/kb.local.crt
echo -n | openssl s_client -connect git.local:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/git.local.crt
/opt/atlassian/confluence/jre/bin/keytool -import -trustcacerts -keystore /opt/atlassian/confluence/jre/lib/security/cacerts -storepass changeit -noprompt -alias mycert1 -file /tmp/kb.local.crt
/opt/atlassian/confluence/jre/bin/keytool -import -trustcacerts -keystore /opt/atlassian/confluence/jre/lib/security/cacerts -storepass changeit -noprompt -alias mycert2 -file /tmp/git.local.crt
/opt/atlassian/bitbucket/5.14.1/jre/bin/keytool -import -trustcacerts -keystore /opt/atlassian/bitbucket/5.14.1/jre/lib/security/cacerts -storepass changeit -noprompt -alias mycert1 -file /tmp/kb.local.crt
/opt/atlassian/bitbucket/5.14.1/jre/bin/keytool -import -trustcacerts -keystore /opt/atlassian/bitbucket/5.14.1/jre/lib/security/cacerts -storepass changeit -noprompt -alias mycert2 -file /tmp/git.local.crt
At the same time, there is no error in bitbucket, but in confluence there is, updated confluence to the latest version.
I do not understand what I am doing wrong. Is it possible to disable this check altogether?
Help please, my ideas have already ended.
Hi Roman,
I understand that application links does not work between bitbucket and confluence. Did you see any errors from the logs related to SSL or anything that causing the problem? Can you try adding below parameters to your setenv.sh file of confluence and see if its okay.
-Djavax.net.ssl.trustStore=/path/to/keystore
where '/path/to/keystore' is the absolute file path (i.e /opt/atlassian/confluence/jre/lib/security/cacerts) and restart the application try again.
-Shankar
Hi, Shankar
Yes, the problem is in the links between bitbucket and merge applications. I do not see SSL errors in the catalina.out log.
Added line:
CATALINA_OPTS="-Djavax.net.ssl.trustStore=/opt/atlassian/confluence/jre/lib/security/cacerts ${CATALINA_OPTS}"
in file: /opt/atlassian/confluence/bin/setenv.sh
The error is the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Roman - Glad to know that your issue has been fixed. :)
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.