git error: error setting certificate verify locations

I am using Windows and msysgit. When I try to clone a git repo from Github I received a SSL related error.

>git clone
error: error setting certificate verify locations:
  CAfile: /bin/curl-ca-bundle.crt
  CApath: none
 while accessing

fatal: HTTP request failed

>git config -l

To fix the problem change the forward slashes to backward slashes.

>git config --system http.sslcainfo \bin\curl-ca-bundle.crt

>git config -l

1 comment:

. said...
This comment has been removed by a blog administrator.