Cannot get SSL configured on Bitbucket Server 5


we generated the CSR based on java key tool in linux and the ssl has imported to keytool “/home/ec2-user/ssl-keystores”successfully with the below commands. we need your help to resolve this.


[root@ip-172-31-5-38 bin]# ./keytool -import -alias root -keystore /home/ec2-user/ssl-keystores -trustcacerts -file /home/ec2-user/gd_bundle-g2-g1.crt

Enter keystore password:

Certificate was added to keystore

[root@ip-172-31-5-38 bin]# ./keytool -import -alias intermed -keystore /home/ec2-user/ssl-keystores -trustcacerts -file /home/ec2-user/gdig2.crt

Enter keystore password:

Certificate already exists in keystore under alias <root>

Do you still want to add it? [no]:  yes

Certificate was added to keystore

[root@ip-172-31-5-38 bin]# ./keytool -import -alias tomcat -keystore /home/ec2-user/ssl-keystores -trustcacerts -file /home/ec2-user/209134c24b7a184f.crt

Enter keystore password:

Certificate reply was installed in keystore


We created a file with the below configuration and it wont works,














After doing all this we changed the base url to

Not working.



1 comment

..Both ssl.key-store-password and ssl.key-password require explicit configuration. Even if you did not configure both values in the server.xml file, values for both entries need to be explicitly set in to secure Bitbucket with SSL...

Maybe the issue?


Log in or Join to comment
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,230 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot