fatal: unable to access ‘https://github.com/laravel/homestead.git/‘: error setting certificate verif

Git prompts error setting certificate verify locations solution

sdhongjun  2016-08-07 19:12:51   33105   Favorite 15

Classification column:  system related

copyright

error message

Displayed when using TortoiseGit to execute the pull command

git.exe pull --progress --no-rebase -v "origin"

fatal: unable to access 'https://github.com/konsumer/arduinoscope.git/': error setting certificate verify locations:
CAfile: D:\Program Files\Git\mingw64/bin/curl-ca-bundle.crt
CApath: none
  • 1
  • 2
  • 3
  • 4
  • 5

git version 2.9.2.windows.1

Solution

First open the git bash window
and execute the command:

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

(Pay attention to modify to the correct file path) or

git config --system http.sslverify false
  • 1

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

reference article

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

Guess you like

Origin blog.csdn.net/qiuziqiqi/article/details/114028632