gpt4 book ai didi

Maven+Nexus+Jenkins SSL证书错误

转载 作者:太空宇宙 更新时间:2023-11-03 14:39:51 26 4
gpt4 key购买 nike

我已经为 nexus 安装了证书。当我启动 jenkins builder 时出现错误:

[ERROR] Failed to execute goal on project wf-base: Could not resolve dependencies for project 1.0.0o-SNAPSHOT: Failed to collect dependencies at 1.0.0o-SNAPSHOT: 

Failed to read artifact descriptor for 1.0.0o-SNAPSHOT: Could not transfer artifact 1.0.0o-SNAPSHOT from/to Nexus (https://nexus.repository.link):

sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]

最佳答案

看起来您在链中缺少证书,因此您的证书不受信任,如果它是自签名证书,您需要将其添加为根证书。如果证书是由 CA 颁发的,您需要下载链中缺少的证书并安装它们。

关于Maven+Nexus+Jenkins SSL证书错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44141811/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com