【问题标题】:Jenkins to slave machine connection got broken after updating the SSL certs?更新 SSL 证书后,Jenkins 与从机的连接中断了吗?
【发布时间】:2019-02-28 05:57:49
【问题描述】:

最近 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"

【问题讨论】:

  • 请验证是否为自签名证书。谢谢。

标签: java windows jenkins iis


【解决方案1】:

您的证书不正确。确保您导入的证书上的 CN 和主机名的值与旧证书相同。确保您已导入/信任中间证书和根证书,因为这些证书可能已随新证书而更改。

Windows:certlm 检查中间证书和根证书是否也受信任。

【讨论】:

    猜你喜欢
    • 2017-05-01
    • 2014-04-30
    • 2012-08-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-02
    相关资源
    最近更新 更多