centos7 wget命令无法验证 xxxx 的由 “/C=US/O=Let's Encrypt/CN=R3” 颁发的证书:

  • By 之参

  • 2022-06-30 14:01:07

  • 评论

问题记录:

wget xxxxxx
--2022-06-30 13:21:45--  xxxxx
正在解析主机 xxxx.. 1.1.1.1
正在连接 xxxxx (xxxxx)|1.1.1.1|:443... 已连接。
警告: 无法验证 xxxxx  的由 “/C=US/O=Let's Encrypt/CN=R3” 颁发的证书:
  颁发的证书已经过期。


解决办法:

yum install -y ca-certificates
update-ca-trust


如果还是不行,在wget url 后面加上 ”--no-check-certificate

之参博客