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 https://someid@github.com/project/wisper.git
Password:
error: error setting certificate verify locations:
  CAfile: /bin/curl-ca-bundle.crt
  CApath: none
 while accessing https://someid@github.com/project/wisper.git

fatal: HTTP request failed

>git config -l
http.sslcainfo=/bin/curl-ca-bundle.crt

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

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

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

1 comment:

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