fatal: unable to access 'https://github.com/Ataraxia24/smartcity.git/': SSL certificate problem: unable to get local issuer certificate
时间: 2023-10-22 12:58:45 浏览: 287
这个错误提示通常是由于无法获取本地颁发机构证书(local issuer certificate)引起的。这可能是由于系统缺少所需的证书文件或配置问题导致的。你可以尝试以下解决方法:
1. 确保你的系统时间和日期设置正确,因为证书验证通常会依赖于正确的时间。
2. 更新你的Git版本,使用最新版本的Git可能会修复一些已知的证书问题。
3. 检查你的网络连接是否正常,确保你可以正常访问互联网。
4. 如果你使用的是公司网络,可能存在一个代理服务器或防火墙,***
相关问题
fatal: unable to access 'https://github.com/GlasierKawa/DrinkTalk.git/': SSL certificate problem: unable to get local issuer certificate
以下是解决SSL证书问题的两种方法:
1. 通过配置git来解决SSL证书问题
```shell
git config --global http.sslverify false
```
2. 通过克隆时指定SSL证书验证为false来解决
```shell
git clone https://github.com/HalfStackDeveloper/FloatBall.git -b master
```
fatal: unable to access 'https://github.com/yyyist/yyy.git/': SSL certificate problem: unable to get local issuer certificate
这个错误通常是由于 Git 无法验证 SSL 证书导致的。您可以尝试以下解决方法:
1. 确认您的网络连接正常,尝试使用其他网络连接。
2. 确认您的 Git 版本是否过时,如果是,请升级到最新版本。
3. 禁用 SSL 验证,可以使用以下命令:
```
git config --global http.sslVerify false
```
但是这种方法不太安全,因为它会禁用所有 SSL 验证。
4. 手动添加 SSL 证书,可以使用以下命令:
```
git config --global http.sslCAInfo /path/to/certificate.crt
```
其中 `/path/to/certificate.crt` 是您的 SSL 证书路径。
阅读全文
相关推荐
















