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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.