We are setting up Git repositories for students to use as part of a class at our institution. We need to bypass the SSL verification step in order for the repositories to be cloned. For example, cloning a repository works on the command line like this:
$ env GIT_SSL_NO_VERIFY=true git clone https://domain.edu/path/to/git Cloning into 'git'... Username for 'https://domain.edu': xxx Password for 'https://email@example.com':
Alternatively, this also works:
$ git config --global http.sslVerify false $ git clone https://domain.edu/path/to/git Cloning into 'git'... Username for 'https://domain.edu': xxx Password for 'https://firstname.lastname@example.org':
However, when I use SourceTree to attempt to clone the repo, it gets stuck on the authentication part, even with the http.sslVerify in my .gitconfig and the "Disable SSL certificate verification" box checked in the preferences.
If you're working on the Mac there's an option on the Git tab in preferences that says "Disable SSL certificate validation" which you can disable. The same option may be on Windows, too (apologies, I'm the Mac dev and haven't got a Windows OS running handy at the moment)
I've filed an issue for you so it's worth following it from there. We'll still need to validly reproduce this issue but based on what you've said (https://jira.atlassian.com/browse/SRCTREE-1547). I'm creating my own apache server now to have a fake certificate so I can ignore and clone from a URL to clone from.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork? We've compiled a list here, along with...
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!
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