0

我试图在本地安装 Jenkins,在 Manage Plugin 中安装 GIT 等插件时出现以下错误:

"sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
4

1 回答 1

0

您可能需要将 git pub cert 添加到您的 cacerts 文件中,无论您的 jdk 安装在哪里。

于 2021-05-11T13:42:25.650 回答