Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket fail to start the http to https redirection

Govindan T_G_R
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events