简体   繁体   English

更新SSL证书后,Jenkins与从机的连接断开了吗?

[英]Jenkins to slave machine connection got broken after updating the SSL certs?

Recently the cert got expired both on Jenkins server (Linux) and IIS server (windows) and we have imported the new certs for both Jenkins and remote slave. 最近,该证书在Jenkins服务器(Linux)和IIS服务器(Windows)上均已过期,并且我们已经为Jenkins和远程从服务器导入了新证书。

post that it was able to connect when we launch through browser (but pop up with java - (The certificate is not valid and cannot be used to verify the identity of this website) and if we install Jenkins as a service on windows machine it was in starting state (not proceeding with the Running state) and unable to start the Jenkins as slave in logs i can see this error as following: 发布它能够通过浏览器启动时连接(但使用java弹出) (The certificate is not valid and cannot be used to verify the identity of this website) ,如果我们在Windows机器上将Jenkins作为服务安装,处于启动状态(不进入运行状态)并且无法以日志中的奴隶身份启动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" Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

Your certs are not correct. 您的证书不正确。 Make sure the values for CN and hostname on the cert you imported are the same as the old cert. 确保您导入的证书上的CN和主机名的值与旧证书相同。 Make sure you have the intermediate and root certificates imported/trusted as well, as those may have changed with the new certs. 确保您也已导入/信任中间证书和根证书,因为新证书可能已更改这些证书。

Windows: certlm to check that the intermediate and root certificates are also trusted. Windows:certlm,用于检查中间证书和根证书是否也受信任。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM