So how do you use HTTPS? Where is the certificate located and how do you change it? What port should I use?

This question is in reference to Atlassian Documentation: Disabling HTTP(S) access to Git repositories in Bitbucket Server

So how do you use HTTPS? Where is the certificate located and how do you change it? What port should I use? I replaced HTTP with HTTPS but that didn't work, even though the ports are open. There are absolutely no details on this feature.

3 answers

1 accepted

This widget could not be displayed.

You configure https for the whole server. The git http/https protocol uses the same certificate/ssl settings as the web page itself.

 

See https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html

This widget could not be displayed.
Steven Behnke Community Champion May 01, 2016

Just accessing the website via "https" wouldn't do anything if you haven't configured it. It's not specific to Atlassian products. IT staff are able to perform this function pretty ubiquitously. And for instance, you probably need to buy a certificate.

Atlassian products typically run in a Tomcat web container. Most people enable SSL on Tomcat or proxy to a webserver like Apache and terminate SSL there.

There is so many techniques you would really need to describe your system, IT situation, etc before we could properly guide you. It really sounds like you're not familiar with this concept but again SSL is a pretty "external" conversation when integrating that technology.

Thanks guys. Because of the HTTP(S) checkbox in the Settings menu, I assumed this was done trough the GUI and not trough text files. The link got me on track.

This widget could not be displayed.

There are a number of ways to do this as per the answers above.  In a linux install, you can't use the default ports (80 or 443 for ssl) unless the process runs as root, so I typically choose this option:

 

https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-apache-using-ssl-776640117.html

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

264 views 14 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you