Jenkins报错解决:There were errors checking the update sites: SSLHandshakeException: sun.security.valid

报错如下:

There were errors checking the update sites: SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Jenkins报错解决:There were errors checking the update sites: SSLHandshakeException: sun.security.valid

解决办法:修改Advanced里面Update Site的URL

Jenkins报错解决:There were errors checking the update sites: SSLHandshakeException: sun.security.valid


https://updates.jenkins.io/update-center.json
修改为:
http://updates.jenkins.io/update-center.json

之后点击【Submit】—>【Check now】
Jenkins报错解决:There were errors checking the update sites: SSLHandshakeException: sun.security.valid

然后就恢复正常了:
Jenkins报错解决:There were errors checking the update sites: SSLHandshakeException: sun.security.valid