安装Jenkins报错 SSLHandshakeException

报错信息:

There were errors checking the update sites: SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

 

解决方法1:

网页端Manage Jenkins -> Manage Plugins -> Advanced  把url https改为http (此方法不能彻底解决问题, 需要看方法2)

 

解决方法2:

vim /etc/sysconfig/jenkins

JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dhudson.model.DownloadService.noSignatureCheck=true"

posted @ 2021-07-02 14:22  ivy_wang  阅读(1381)  评论(0编辑  收藏  举报