Linux 下载文件报 Let's Encrypt R3 证书过期
使用wget下载文件时,报了一个错误,浏览器打开检查证书,发现证书没过期。联想起前段时间Let's Encrypt更换了根证书,那应该就是这个问题了。
报错信息:
# wget https://dl.ll00.cn/v2ray-linux-64.zip
--2021-11-03 11:55:26-- https://dl.ll00.cn/v2ray-linux-64.zip
Resolving dl.ll00.cn (dl.ll00.cn)... 59.83.218.168, 116.178.66.14, 59.80.39.21, ...
Connecting to dl.ll00.cn (dl.ll00.cn)|59.83.218.168|:443... connected.
ERROR: cannot verify dl.ll00.cn's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
Issued certificate has expired.
To connect to dl.ll00.cn insecurely, use `--no-check-certificate'.
解决办法:
Linux上更新或安装下的根证书就行
yum install -y ca-certificates