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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,903 views 0 7
Read article

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