As I mentioned in a recent post that I use Atlassian Stash to manage my git repositories. It has some great features especially when it comes to setting up user permissions. It also integrates with JIRA and SourceTree since they’re also Atlassian products.
I wanted to be able to use my repositories while I was on the go so, naturally, I wanted the transmission to be encrypted HTTPS/SSL. Stash uses an Apache Tomcat server to serve up both the admin pages and the repositories themselves. It’s not totally clear on how to set up a self-signed SSL certificate on Windows (their documentation focuses on Mac’s, mostly) and there are a couple issues that they don’t even discuss.
This post covers how I generated the certificate, got Windows to trust it and set up git so that it could connect to both my Stash server, and externally hosted servers such as github.
Let’s get to it.Read the rest of this entry »