wget下载https时报错ERROR: The certificate of `xxx’ is not trusted的解决办法

admin 阅读:88 2024-03-03

wget下载总是出现ERROR: The certificate of `xxx.com' is not trusted.的错误提示,这是提示该网站的证书不被信任,解决这种问题的方法很简单只需要安装证书包就可以了,具体命令如下:


# CentOS系统
yum install -y ca-certificates
# Debian/Ubuntu系统
apt-get install -y ca-certificates
声明

1、部分文章来源于网络,仅作为参考。
2、如果网站中图片和文字侵犯了您的版权,请联系1943759704@qq.com处理!

搜索