Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to import a new SSL certificate?

Dear Support,


How do I import a new certificate in Bitbucket? I have a on-premise server which uses tomcat and an ssl-keystore.

I have a new crt & key files from QuoVadis but I don't know what to do with it.

Following the instructions in the following kb, I receive the following error when trying to import the new crt into the keystore. Which seems to indicate that the certificate wasn't generated by the csr file.


keytool -import -alias tomcat -file "NEW Certificate" -keystore "DIR keystore"


"keytool error: java.lang.Exception: Certificate reply does not contain public key for <tomcat>"


reference: Secure Bitbucket with Tomcat using SSL | Bitbucket Data Center and Server 7.14 | Atlassian Documentation

Any help would be much appreciated as I've struggling with this for a while and technical teams are using a workaround.


Many thanks,




0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

130 views 1 5
Read article

Community Events

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

Events near you