伟明部落格

CentOS 7系统上wget 报 ERROR: cannot verify certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’: Issued certificate has expired的问题

--发布于 2023-06-10 22:25:14

在CentOS 7上,用wget访问使用Let's Encrypt https证书的网站时,会报

ERROR: cannot verify certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’: Issued certificate has expired

的错误,在CentOS 8 和其它系统上暂未发现。

有两个方法:

  1. 客户端CentOS上安装或升级ca-certificates

    yum install ca-certificates

    如果安装或升级后还是不行,可能就要升级操作系统了。

  2. 按照报错提示说的,在wget上加上--no-check-certificate选项。不想折腾这么多的可以选这种。

    wget --no-check-certificate https://weshare.team
--更新于 2023-06-16 15:46:26