I am running these Atlassian products on a virtual machine:
Today, my certificate expired. So, I replaced it with a new one. Unfortunately, I had also to replace the (self-created) CA.
Now for the strange thing: Only Jira accepts the new certificate. I can log-in on Jira without problems. (The only thing not working is including the other products' news feed in the dashboard - but that's explainable I guess.)
For Bamboo, Bitbucket, and Confluence I get upon login
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
All four products use in their server.xml the very same keystore file on that VM.
I have no idea why Jira is happy with the new certificate why the other products are not. I'd appreciate any hint.
Additional hint: Firefox is happy with the new certificate as well - after I have installed the new CA (which is not possible in Chrome anymore).
Putting the certificate into the keystore is not enough - the problem is that the other applications are trying to talk to Jira, but that presents an untrusted certificate. So you'll need to add the new certificate to the truststore (the cacerts file) as well.
Premier Support Engineer
thanks for that hint.
The challenge was: Finding out which cacerts file. The are so many and it was very unclear which Atlassian application uses which cacerts file. In the end, I just searched for all cacerts files on the file system and added the new CA to everyone.
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...
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