I want to clone the git repository with the help of TortoiseGit, but I am getting error :
error: SSL certificate problem, verify that the CA cert is OK. Details: error:1
Even though disabling ssl verifyication is considered dangerous for many reasons, sometimes this is feasible. Others have pointed out to use at least a "local" disabling, but not how to do this. For the record, here is how you can define in the global .gitconfig
file (in Windows located under c:\Users\username
) for a single repository to use openssl and disable the check. Just add the following (adjusted) lines:
[http "https://your.repo.com"]
sslBackend = openssl
sslVerify = false
For me this worked perfect. As noted and linked in the answer from FRob, here is a more nuanced option that uses the pem certificate that you can often download yourself, e.g. when "clicking" on the lock symbol in your browser before the url and searching for "additional information" (firefox, others should be similar).