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