解决unable to find valid certification path to requested target

#访问jenkins的插件管理时报错:

解决unable to find valid certification path to requested target_第1张图片

#点开advanced找到最下后的update site的URL,访问点击应用锁会出现一个证书

解决unable to find valid certification path to requested target_第2张图片

#点开查看证书,查看详细信息

解决unable to find valid certification path to requested target_第3张图片

 #导出证书,保存,保存类型选PEM

解决unable to find valid certification path to requested target_第4张图片

 #在jenkins服务器上面导入证书。路径必须切换到/opt/jdk1.8.0_91/jre/lib/security

#运行:keytool -import -alias updatesjenkinsio.crt -keystore cacerts -file updatesjenkinsio.crt

解决unable to find valid certification path to requested target_第5张图片

#弹出是否信任此证书,填Y

解决unable to find valid certification path to requested target_第6张图片

 最后查看证书口令是否跟之前的一样

解决unable to find valid certification path to requested target_第7张图片

#重启jenkins

解决unable to find valid certification path to requested target_第8张图片

此解决方法参考: https://blog.csdn.net/frankcheng5143/article/details/52164939

 

你可能感兴趣的:(解决unable to find valid certification path to requested target)