【问题标题】:Self signed certificate in certificate chain - NuGetToolInstaller证书链中的自签名证书 - NuGetToolInstaller
【发布时间】:2021-01-27 21:16:03
【问题描述】:

我已配置 Azure DevOps 管道。当我尝试运行 NuGetToolInstaller 时,我收到了ERR:self signed certificate in certificate chain。这个错误的解决方法是什么?

【问题讨论】:

  • 你有解密https流量的公司代理吗?

标签: c# azure-devops azure-pipelines nuget-package


【解决方案1】:

如果您使用 Azure DevOps 服务,并且您的组织受到防火墙或代理服务器的保护,您需要按照以下文档将某些 IP 地址和域 URL 添加到 允许列表:@987654321 @。如果您使用自托管代理,请按照此文档:Run a self-hosted agent behind a web proxy 配置您的代理。

如果您使用本地 Azure DevOps Server,请参阅此文档:Run the agent with a self-signed certificate 以检查此问题。

此外,如果您最近更改了帐户,您可以参考此thread 以检查其解决方案是否适用于您的问题。

顺便说一句,你可以review debug logs to diagnose pipeline issues

【讨论】:

    猜你喜欢
    • 2018-05-11
    • 1970-01-01
    • 2015-05-23
    • 2019-12-11
    • 1970-01-01
    • 2022-07-07
    • 2018-11-16
    • 2021-05-20
    • 2021-12-06
    相关资源
    最近更新 更多