How to resolve/troubleshoot SSL Certificate problem on windows?

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.

1 answer

1 accepted

Accepted Answer
0 votes

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.Chrome verification info

TLS not supported/tested in SourceTree?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 3 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

13 views 0 0
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you