I am using sourcetree on both mac and windows clients. My git repository is successfully cloned on Mac clients, but refuses to do so on Windows clients.
I have installed the certificate under Trusted Root Certificates on my windows machine.
When I try to clone the repository using a path that looks like "https://i.p.add.ress/git/abc" I get an error with details:
error: SSL certificate problem, verify the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://i.p.add.ress/git/abc/info/refs?service=git-upload-pack
fatal: HTTP request failed
How do I go about troubleshooting this? Please note that this works on a Mac client using sourcetree trying to clone the same git repository, using the same certificates.
Git doesn't look in the Windows certificate store for trust associations on self-signed certs. Please see the bottom section of this KB article for what you need to do in your .gitconfig to trust the certificate: https://confluence.atlassian.com/display/SOURCETREEKB/Resolving+SSL+Self-Signed+Certificate+Errors Obviously ignore the part about exporting from the (Mac) keychain :)
The problem exists even with valid certificates that are verified successfully.
Good example - CloudHost.io service.
Certificate is validated by any kind of SSL enabled software including browsers
This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.
but SourceTree (Windows version) still gives an error.
TLS not supported/tested in SourceTree?
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot