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

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

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

原因:是防火墙禁止了

解决办法(Win10):

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

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

2. 点 Allow an app through Windows Firewall

 

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

3. 点Change settings

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

 

 4. 点 Allow another app...

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

 

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

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

 

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

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

上一篇:Yii2与layuiadmin整合1


下一篇:Android APP完整基础教程(17)图形系统-SurfaceView