Jenkins 插件安装失败,出现以下错误
ERROR: cannot verify pkg.jenkins.io 1’s certificate, issued by ‘/C=US/O=Let’s Encrypt/CN=R3’: Issued certificate has expired.
访问 jenkins.io 的任何子域也会出现证书错误
wget https://get.jenkins.io/war-stable/2.303.3/jenkins.war
--2023-05-10 19:47:32-- https://get.jenkins.io/war-stable/2.303.3/jenkins.war
Connecting to 10.65.1.6:8080... connected.
ERROR: cannot verify get.jenkins.io's certificate, issued by '/C=US/O=Let\'s Encrypt/CN=R3':
** Issued certificate has expired**.
To connect to get.jenkins.io insecurely, use `--no-check-certificate'.
它应该安装插件或从 jenkins.io 下载 war 没有认证问题
下面为我工作
sudo yum install -y ca-certificates
如果您手动下载,您可以使用“--no-check-certificate”选项来不安全地下载。