最近,Jenkins 服务器(Linux)和 IIS 服务器(Windows)上的证书都过期了,我们已经为 Jenkins 和远程从站导入了新证书。
发布当我们通过浏览器启动时它能够连接(但弹出 java -(The certificate is not valid and cannot be used to verify the identity of this website) 如果我们将 Jenkins 作为服务安装在 Windows 机器上,它处于启动状态(不继续运行状态)并且无法启动 Jenkins 作为从日志中我可以看到这个错误如下:
"Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"