今天使用debian下载github上的脚本的时候出现了下图一样的错误.
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443… connected.
ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.
ERROR: The certificate of ‘raw.githubusercontent.com’ hasn’t got a known issuer
错误非常常见,主要是系统过于精简所以很多包没有安装
解决方法
在Wget后面添加”–no-check-certificate”如下所示:
wget --no-check-certificate 你要下载的SSL网址
第二种解决办法就是
安装ca-certificates
apt-get install ca-certificates -y
或者是
apt-get install ssl-cert
然后在尝试下载源文件即可。
文章标题:Debian – ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.解决方法
文章链接:https://p1e.cn/html/412.html
更新时间:2019年05月25日
本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:815494#qq.com我们将第一时间处理! 资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。 所有资源仅限于参考和学习,版权归原作者所有。