ERROR: The certificate of `github.com’ is not trusted.

  • 2
  • 8,923 views
  • A+
所属分类:Linux

这两天在安装一脚本的时候wget下载总是出现ERROR: The certificate of `github.com' is not trusted.的错误提示,这是提示你该网站的证书不被信任,解决这种问题的方法有两种。

1.临时解决

运行wget等命令时在后面加上--no-check-certificate就行了。

2.完全解决,安装 ca-certificates 包

apt-get install ca-certificates

安装完证书包后就可以顺畅运行脚本了。

weinxin
我的微信公众号
我的微信公众号扫一扫

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:2   其中:访客  0   博主  0

    • 666 666 2

      厘米 可否 出一篇 更换 系统 源库 的教程? 阿里云源坑人啊。

        • 厘米 厘米 9

          @666 自己找个好用点的源就是了,国外的就用美国,国内用163或中科大等也行。我之前有收集过debian和ubuntu的源地址