Hi All
I was just wondering if you can help me solve the configuration issue because I'm running out of ideas.
The whole thing is that I'm not able to establish application link between confluence and jira.
My current configuration:
Jira and Confluence is installed on single linux (debian) server with two network adapters and configured to use https with self-signed certificate.
Confluence is accessible from https://192.168.1.100:8443 and Jira from https://192.168.1.101:8444 or by fully qualifiaide doman name. This configuration works ok and I'm able to access those applications without any problems over https and even when switching back to https. Problem stars when I tried to add application links. I was able to add application links when confluence and jira were working on standard pors 8080 and 8090 but not able when I swith back to https.
The error I was able to see wans this "server name may be using a self-signed SSL certificate or a certificate that was issued by a certificate authority that isn't known locally."
Would you be able to assist because I'm running out of ideas how to fix this but I think this has something to do with java root CA
Best Regards
Raf
Hi Raf,
Can you check that the certificate from each application is in the other application's Java truststore? You can read more information about this here:
Regards,
Shannon
Hi Shannon
Confluence and Jira are using currently different self signed certificates but those two certificates are placed in to one store so in this example /etc/ssl/cert.jks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Frequently there is a keystore that the application uses to serve it's certificates and another keystore called a "truststore" that contains all the certificate authority certs and any self-signed certs you have added. By default, the truststore is in the Java directory, for example: JAVA_HOME/lib/security/cacerts
Although we are not seeing "pkix path building failed" this article has the details for adding your self-signed cert to the Java truststores for the applications. Unable to Connect to SSL Services due to PKIX Path Building Failed
I am pretty sure this is a truststore issue based on "server name may be using a self-signed SSL certificate or a certificate that was issued by a certificate authority that isn't known locally." However, there are more troubleshooting options in this guide: SSL and application link troubleshooting guide
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ann thanks for advice :-)
After importing self-signed certs in to default java cacerts the error is gone and I was able to link applications
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's great news! Thanks for circling back and accepting the answer. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually after linking the application I was not able to establish outgoing and incoming OAuth because configuration error. But I have figured out that under server.xml I had this setting
proxyName="confluence.loc" proxyPort="443"
After removing this everything works now :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm having similar issues, but I have dedicated servers for both Jira and Confluence. Does this mean that I need to have Jiras SSL certificate in Confluences JAVA_HOME/lib/security/cacerts and vice versa for Confluence?
Is there some command or config change that I also need to do? Running on windows server.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used the KeyTool Explorers "Examine SLL" feature to import the Cert to JAVA_HOME cacert file but still cant connect Jira to Confluence.
If I try to create the application link from JIRA I get error that Confluence cant be reached. When I try to create the link from Confluence, it finds the JIRA and creates the link from Confluence to Jira, when I'm forwarded to Jira to complete the application link, in JIRA the completion fails.
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.
can anyone tell me in which folder do the cert files need to be in order to use HTTPS?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ernesto - you can keep it in any location you like - but your ssl config file should have a line that points to the certificate location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My ssl file has a configuration like this - it just points to the location where i have it.
SSLCertificateFile /apache/certificates/certificate_file.pem
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.
It was like 4-5 years back - when I introduced apache http infront of jira and confluence - it broke my app link.
I just settled with creating and unproxied link between the two.
Just a thought - is the cert issuing authority same for both the certs and have they been applied in both truststores ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.