Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Install a SSL certificate to Bitbucket self-host server without proxy Windows version

Allen Wang December 23, 2019

I want to install a SSL certificate to Bitbucket over https without proxy, I am using bitbucket self-host Windows version 6.9.0

I've enabled https by adding'

server.port=443
server.ssl.enabled=true

'to the properties file

I'd like to use a certificate as well.

How can I make it?

 

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 24, 2019

Hi Allen,

We've described the process in https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html

 

Cheers,

Christian

Premier Support Engineer

Atlassian

Allen Wang December 24, 2019

Hi Christian,

 

Thanks for your reply.

 

I've tested with self-signed CA and it works perfectly.

I then import a .pfx CA signed certificate to the keystore successfully but this time bitbucket would not startup.

Error in the log as :

The Tomcat connector configured to listen on port 443 failed to start. The port may already be in use or the connector may be misconfigured.

I added:

server.ssl.key-password=<password value>

The keystore was set by defalut so I did not add:

server.ssl.key-store=/path/to/keystore/bitbucket.jks
server.ssl.key-store-password=<password value>

The certificate was applied from the CA portal.

May I have your advice please?

Allen Wang December 24, 2019

The CA signed certificate was applied before, it was not applied by a CSR file.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events