Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Add a certificat on bitbucket

GBE June 4, 2020

Hi all, 

I'm searching to add a certificat https on our bitbucket server. 
I'm using this documentation (https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html?&_ga=2.227374557.139487468.1591101705-1621464724.1578497647#).
I'm generated the certificate using this command line :

"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSA -sigalg SHA256withRSA -keystore <Bitbucket home>\shared\config\ssl-keystore

The certificate is correctly generated on the path : <Bitbucket home>\shared\config\ssl-keystore

However, I'm still face an issue. 
I'm able to connect on Bitbucket using http://localhost:7993 with success, but the connection on https failed, with an errror "Server Not Found".

 

Below the configurations set on <bitbucket_home>/shared/bitbucket.properties file :

server.port=7993

#server.require-ssl=true

#Config Connector
server.additional-connector.1.redirect-port=443
#server.additional-connector.1.require-ssl=true
server.additional-connector.1.secure=true
server.additional-connector.1.scheme=https
server.additional-connector.1.ssl.protocol=TLSv1.2
server.additional-connector.1.ssl.connection-timeout=20000
server.additional-connector.1.ssl.enabled=true
#DNS AddressIP - bitbucket-dev.********.com
server.additional-connector.1.ssl.key-alias=xxx.xxx.xxx.xxx
server.additional-connector.1.ssl.key-store=G:\\BITBUCKET_PATH\\file.jks
#server.additional-connector.1.ssl.key-alias=tomcat

server.additional-connector.1.ssl.key-store-password=<xxxxxx>

server.additional-connector.1.ssl.key-password=<xxxxx>
server.additional-connector.1.ssl.client-auth=want
server.additional-connector.1.ssl.key-store-type=jks

 

Thanks for your help, 

Regards, 

Pauline ERNST 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events