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

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

当我们使用 wget命令下载不安全的https 域名下的内容时会提示如下内容:

ERROR: 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'.

修复方法:

sudo yum install -y ca-certificates

在这里插入图片描述

成功:

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_44427181/article/details/125336334