Just to clarify, this is not related to git not being able to push/pull from stash over https (I use http.sslNoVerify=false to fix that).
In sourcetree when I click "Clone/New" then click browse hosted projects (earth button) I get an SSL errror: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
I get this error because my network administrator enforces a rule to not trust any SSL certificates. With git I use the sslnoverify setting and in browsers I click through the SSL warning or turn it off alltogether on internal sites. Is there a way to get sourcetree to ignore SSL warnings when browsing hosted(stash) projects?
This was driving me nuts, but I finally found a setting in the SourceTree.exe.config file. It disables cert checks when SourceTree is connecting to the repo meta data web service to allow self signed certs.
<applicationSettings> <SourceTree.Properties.Settings> <setting name="SourceTreeHomeWebSite" serializeAs="String"> <value>https://www.sourcetreeapp.com/</value> </setting> <setting name="ReleaseNotesRelativeUrl" serializeAs="String"> <value>update/WindowsReleaseNotes.html</value> </setting> ************* Set the value to true :) <setting name="AllowUncertifiedSSLRequests" serializeAs="String"> <value>True</value> </setting> ************* <setting name="IsPortable" serializeAs="String"> <value>False</value> </setting> </SourceTree.Properties.Settings> </applicationSettings>
If you aren't able to get a solution here in the next few days, you'll probably want to file a bug report on jira.atlassian.com. I'm not sure whether the hosted repository communication should respect the git/hg sslNoVerify option, or if they should define a new one.
The only other viable option I can see is to persuade your network administrator to shell out the cash for a valid certificate.
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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