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

Bitbucket fail to start the http to https redirection

HI,

 We have installed the bitbucket version 5.10.0 in our on-premise Windows 2012 server.

 The Application works fine in http if we try to  enable https, the url is getting redirected and the application is not getting up.

  • We  placed the SSL Setico cert in the following path. (D:\Atlassian\ApplicationData\Bitbucket\shared\config\ssl-keystore).
  • The following config has been added in the "bitbucket properties file".
    server.port=8443
    server.secure=true
    server.scheme=https
    server.ssl.enabled=true
    server.ssl.client-auth=want
    server.ssl.protocol=TLS
    store=D:\\Atlassian\\ApplicationData\\Bitbucket\\shared\\config\\ssl-keystore
    server.ssl.key-store-password=XXXX123
    server.ssl.key-password=XXXX123
    server.require-ssl=true
  • Then we restarted the bitbucket services and try to connect with local host. 

Result : the page is getting redirected and Application is not getting up.

 

Please help to fix this issue.

 

1 answer

1 accepted

0 votes
Answer accepted
Apoorva Atlassian Team Sep 11, 2020

Hi Govindan,

Glad that we were able to fix the issue for you using the custom configuration.

Following configuration is what eventually got the redirection working:

server.port=443
server.scheme=https
server.secure=true
server.ssl.enabled=true
server.ssl.key-store=D:/Atlassian/ApplicationData/Bitbucket/shared/config/ssl-keystore/example.jks
server.ssl.key-store-password=XXXX123
server.ssl.key-password=XXXX123
server.require-ssl=true
server.ssl.key-alias=sample.example.com
server.additional-connector.1.port=7990
server.additional-connector.1.redirect-port=443
server.additional-connector.1.port=80
server.additional-connector.1.redirect-port=443

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

218 views 2 5
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