[Perfect solution] Error setting certificate verify locations: CAfile: problem occurs when using git

[Perfect solution] Error setting certificate verify locations: CAfile: problem occurs when using git

1. Appearing scene:

When using idea, push under git, the following error occurs:
insert image description here

2. Reason analysis:

It may be because the system has been reinstalled, or the location where git is installed has changed.

3. Solution:

Find the installation path of git, and after opening gitbash, enter:

git config --system http.sslverify false

insert image description here

insert image description here

Guess you like

Origin blog.csdn.net/weixin_43639180/article/details/126502168