I'm having issues configuring the bitbucket.properties file. After performing a database migration from the evaluation DB to our MSSQL server, no shared\bitbucket.properties file nor a shared directory were created.
I attempted to create the file and shared folder myself, changing the owner to the atlbitbucket user account. The problem is after restarting the bitbucket service, this file is not being used. None of the configuration properties I enter are loaded.
I'm just trying to get bitbucket working over SSL, but cannot get the changes entered into the Atlassian\Bitbucket\5.7.0\shared\bitbucket.properties file to load. Is there something I'm missing?
Atlassian\Bitbucket\5.7.0\bin\set-bitbucket-home.sh
Seems the home directory is actually Atlassian\ApplicationData\Bitbucket
I am having a similar issue with configuring SSL via the bitbucket.properties file.
I created bitbucket.properties file in shared/, however Bitbucket does not appear to be reading the file. Even with the below properties, bitbucket is still accessible via port 7990 after restarting the server
I am running the bitbucket server 5.9.1 on Windows 10.
bitbucket.properties contents
server.context-path=/bitbucket
server.port=7443 # Jira is using 8443
server.secure=true
server.scheme=https
server.ssl.enabled=true
server.ssl.client-auth=want
server.ssl.protocol=TLSv1.2
server.ssl.key-store="path to my keystore"
server.ssl.key-store-password="mypass"
server.ssl.key-password="mypass"
server.require-ssl=true
Fixed! I accidentally created the bitbucket.properties as a text file and the .txt extension was invisible.
After removing the .txt extension, it worked fine