Git拉取代码失败,报SSL certificate的错误

Git拉取代码失败,报SSL certificate的错误

fatal: unable to access '******': SSL certificate problem: unable to get local issuer certificate

原因:是防火墙禁止了

解决办法(Win10):

1.打开控制面板里的System and Security

2. 点 Allow an app through Windows Firewall

 

 

3. 点Change settings

 

 4. 点 Allow another app...

 

 5. 点Browser... 选择git.exe所在路径,再点Add按钮

 

 6.根据需要勾选Git for Windows后面两列,然后点OK按钮

posted on 2022-02-07 11:22  张缤分  阅读(658)  评论(0)    收藏  举报

导航