git clone fails with error setting certificate verify locations

1,478 views
Skip to first unread message

ferro...@gmail.com

unread,
Oct 30, 2018, 6:27:01 AM10/30/18
to git-for-windows
Need help with git clone.

git clone results in:
fatal: unable to access ...
error setting certificate verify locations:
  CAfile: C:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
  CApath: none

Johannes Schindelin

unread,
Oct 31, 2018, 10:56:47 AM10/31/18
to ferro...@gmail.com, git-for-windows
Hi,
This most likely means that you installed Git for Windows using the
"Secure Channel" option as HTTPS backend, but then somehow ended up using
the "OpenSSL" one.

The easiest way out would be to configure http.sslBackend = schannel, I
think.

Ciao,
Johannes
Reply all
Reply to author
Forward
0 new messages