fatal: unable to access SSL certificate problem: unable to get local issuer certificate
时间: 2023-09-20 20:14:50 浏览: 108
这个错误通常表示在使用Git进行push操作时出现了SSL证书问题,无法获取本地颁发者证书。解决这个问题的方法是解除SSL验证。你可以使用以下命令将全局的SSL验证设置为false:
git config --global http.sslVerify false
然后再次尝试进行git push操作即可。这样做的原因是,当你通过HTTPS访问Git远程仓库时,如果服务器上的SSL证书未经过第三方机构认证,Git会报错。关闭SSL验证可以解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [git push出现fatal: unable to access ‘‘: SSL certificate problem: unable to get local issuer ...](https://blog.csdn.net/weixin_52797128/article/details/125430398)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [fatal: unable to access ‘XXX.git/‘: SSL certificate problem:unable to get local issuer certificate](https://blog.csdn.net/m0_64288219/article/details/127405426)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文