Error code
fatal : unable to access 'https://***/': error ******
CAfile: *****/Git/minw64/ssl/certs/ca-bundle.crt
CApath: none
Cause of the error, changing the Git installation directory may cause this problem
Solution: Modify the file content under C:/ProgramData/Git/
to the correct path.
曾经蜡笔没有小新2017-05-02 09:27:55
I also encountered this problem today. I tried your solution but it didn't work. The reason is that in addition to this config file, there are other configuration files covering this config file. What's crazy is that uninstalling and reinstalling git doesn't work. Can't solve the problem.
In fact, you can use the command git config -l to list all current configurations, check whether there are any configuration errors in the sslCAInfo item, and then modify them.
Just modify this file, C:Usersusername.gitconfig
巴扎黑2017-05-02 09:27:55
I just encountered this problem today, so I will post my solution here for reference by those who need it
$ git config --system http.sslcainfo "**D:\Git\mingw64\ssl\certs\ca-bundle.crt**"
Replace the bold part with the correct configuration path