git https request prompts error setting certificate verify locations

git https request prompts error setting certificate verify locations

 

 

git.exe pull -v --progress "https://git.oschina.net/g/esteelds-tag.git" master

 

fatal: unable to access 'https://git.oschina.net/g/esteelds-tag.git/': error setting certificate verify locations:

CAfile: C:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt

CApath: none

 

 

 

 

Solution

 

First open the git bash window 

Excuting an order:

 

git config --system http.sslcainfo "C:\Program Files (x86)\git\bin\curl-ca-bundle.crt"

1

1

(note to modify to the correct file path) or

 

git config --system http.sslverify false

1

1

I use git config --system http.sslverify false command to solve the problem.

 

refer to:

http://blog.csdn.net/sdhongjun/article/details/52144253

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326352547&siteId=291194637