1. Problem description
The git black window reports an error "error setting certificate verify locations", which means that the certificate location is set incorrectly.
fatal: unable to access 'https://github.com/goSilver/daydayup.git/': error setting certificate verify locations:
CAfile: D:/dev/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none
2. Problem Analysis
The path in the git configuration file is inconsistent with the actual path, so the wrong certificate location setting error is reported.
3. Solution
- Reset the git configuration file path: (recommended)
git config --system http.sslcainfo "D:\_dev\Git\mingw64\ssl\certs\ca-bundle.crt"
- Turn off certificate verification:
git config --system http.sslverify false