ERROR: cannot verify xxx certificate, issued by ‘/C=US/O=Let’s Encrypt/CN=R3’:use `--no-check-certif`

今天在使用wget来下载下载一个不安全的https 域名下的内容时会提示如下内容:

 cannot verify pkg.jenkins.io's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’
 Issued certificate has expired. To connect to pkg.jenkins.io insecurely, use `--no-check-certificate'.

我们的解决方法是安装一个ca-certificates

sudo yum install -y ca-certificates
posted @ 2022-05-17 17:17  流年中渲染了微笑  阅读(890)  评论(0编辑  收藏  举报