Bitbucket hipchat - self signed ssl

Looking if anyone out there has been able to integrate Bitbucket with HipChat using a self signed SSL cert. This appears different than integrating with Confluence/Jira/etc, since Bitbucket doesn't have a /%java_home%/lib/security/cacerts path, so I have no idea where to add the cert from HipChat to the Bitbucket keystore.  Any thoughts? Thanks.

2 answers

1 accepted

Hi,

The certificate must be added to the JVM's truststore used by Bitbucket - this is similar to how you've done with the other applications. To determine the Java home of the JVM used by Bitbucket you can go to Bitbucket Administration > Support Tools > System Information tab then search for java.home under the Java Runtime Environment section.

From this path you can then find the cacerts to which you must add the certificate. My Java path, for instance, is /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre, so I will find cacerts under /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/security.

Regards,

Gustavo Refosco

That's all I needed to hear, now it all makes sense. Sorry for the trouble, but thank you this was a huge help!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,764 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you