当前位置:首页运维笔记Debian – ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.解决方法

Debian – ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.解决方法

今天使用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我们将第一时间处理! 资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。 所有资源仅限于参考和学习,版权归原作者所有。

给TA打赏
共{{data.count}}人
人已打赏
运维笔记

Kimsufi独立服务器DD安装Windows 2012教程

2018-9-7 20:50:54

运维笔记

Virmach 128M $$ BBR/锐速,二选一 优化方案

2018-9-10 11:58:58

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索