Update bitbucket upgrade docs (4.x to 5.x)

There's a major bug in documentation, where it says 

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 bitbucket.properties to secure Bitbucket with SSL.

https://confluence.atlassian.com/bitbucketserver/migrate-server-xml-customizations-to-bitbucket-properties-897811761.html

 

As the matter of fact you should not set server.ssl.key-password if you didn't use them in server.xml as it will fail the server to start with  java.security.UnrecoverableKeyException: Cannot recover key

 

1 answer

0 vote
Ben Stuart Atlassian Team Jan 25, 2018

Hey Marcin, I'm not sure what the scinario was that you ran into, but this line should be correct.  We added this line because when migrating server.xml settings, if server.xml only had keystorePass, springboot may require both key-store-password and key-password to be specified, if both values are other than the default changeit

Suggest an answer

Log in or Join to answer
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...

714 views 0 4
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