AMPS-1394 Explicitly set server.ssl.key-password for Bitbucket 5.0+

Merged
#270 · Created  · Last updated

Merged pull request

Merged in issue-6.3/AMPS-1394-cant-start-bitbucket-5-ssl (pull request #270)

6e22cc2·Author: ·Closed by: ·2017-06-06

Description

Failure to explicitly set server.ssl.key-password for Bitbucket Server 5.0+ means the default password (changeit) is used. The way AMPS works with Bitbucket Server 4.x is that the "key store password" is used as the "key password" too (actually Tomcat provides this behaviour, because in BBS 4.x AMPS just generates a server.xml). This just implements that same behaviour when AMPS is starting Bitbucket Server 5.0+

Note, that in Tomcat or Spring Boot it is possible to set a different password for the key itself versus the keystore. However AMPS only supports a single password, provided via the httpsKeystorePass provided to the maven-amps-plugin.

For background see:

Build: https://ecosystem-bamboo.internal.atlassian.com/browse/AMPS-AMPSB6D3X3-2

0 attachments

0 comments

Loading commits...