Git prompt error setting certificate verify locations solution

Question: Use git extension to pull or push code, prompt

“C:\Program Files\Git\bin\git.exe” pull –progress “origin” +refs/heads/zjw
fatal: unable to access’**/ ‘: error setting certificate verify locations:

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

Press Enter or Esc to close console…

This is because git requires security certification when submitting code, which can be set by the following method to cancel the verification


Find the git config configuration file, the path should be
C:\ProgramData\Git\config, add the following two lines

sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt

After saving, submit the code again.

Similar Posts: