It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi everyone,
I'm running a Stash server with about 1000 users. Currently, we don't use HTTPS but we'll be required to very soon. My question is: is it possible to access Stash via Browser and Git with both HTTP AND HTTPS at the same time? I'm asking because I want to get a clear picture of what users will have to do in case HTTP is no longer an option. I guess they will all have to update their repo uris, right?
Thanks in advance for your help and keep up the great work you are doing with Stash - we love it!
Cheers,
Georg
Hello Georg,
Thank you for your question.
You are able to set up a new connector to listen to HTTPS under "<stash-install>/conf/server.xml"
In case you remove the HTTP connector to your Stash instance, it will be required to update "remote" under ".git/config" to point to the HTTPS repository.
Alternatively, you could be setting up SSH access to your repositories.
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
—
Kind regards,
Rafael P. Sperafico
Atlassian Support
Hi Georg,
Yes. You can have all of them together. Ultimately when developers click on the "Clone" link of a repository, they will be given the option of which clone to use (note that I didn't have a HTTPS connector configured on my end):
Browse Project1 - repotest - Stash 2015-06-17 11-12-36.png
Note that while it is mandatory to Enable SSH as described by Rafael, the SSH URL only shows up if the user browsing Stash has already uploaded a SSH key to their account.
If you're interested in configuring another Connector (Stash ships by default a 7990 HTTP connector), please follow Securing Stash with Tomcat using SSL for a quick guide.
Proxying and securing Stash will provide you with different insights on how you could use a proxy. Using a proxy to off-load SSL is important if you have a high load on your Stash and you want to avoid performance issues.
Hope that helps.
Best,
Thiago
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreBitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.