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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add a certificat on bitbucket

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.corp.castsoftware.com
server.additional-connector.1.ssl.key-alias=xxx.xxx.xxx.xxx
server.additional-connector.1.ssl.key-store=G:\\BITBUCKET_HOME\\6.9.0\\shared\\config\\ssl-keystore\\ssl-keystore.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
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

121 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you