简体   繁体   English

证书链中的自签名证书 - NuGetToolInstaller

[英]Self signed certificate in certificate chain - NuGetToolInstaller

I have configured an Azure DevOps pipeline.我已经配置了一个 Azure DevOps 管道。 When I try to run NuGetToolInstaller, I received ERR:self signed certificate in certificate chain .当我尝试运行 NuGetToolInstaller 时,我收到了ERR:self signed certificate in certificate chain What is the solution to this error?这个错误的解决方案是什么?

Azure Devops 仪表板错误输出

If you use Azure DevOps service, and your organization is secured with a firewall or proxy server, you need to add certain IP addresses and domain URLs to the Allow list by following this doc: Allowed address lists and network connections .如果您使用 Azure DevOps 服务,并且您的组织受到防火墙或代理服务器的保护,则需要按照以下文档将某些 IP 地址和域 URL 添加到允许列表允许的地址列表和网络连接 And if you use self-hosted agents, please follow this doc: Run a self-hosted agent behind a web proxy to configure your agent.如果您使用自托管代理,请遵循此文档: 在 web 代理后面运行自托管代理来配置您的代理。

If you use on-premise Azure DevOps Server, please refer to this doc: Run the agent with a self-signed certificate to check this issue.如果您使用本地 Azure DevOps Server,请参阅此文档: 使用自签名证书运行代理来检查此问题。

In addition, if you recently changed your account, you could refer to this thread to check if its solution works for your issue.此外,如果您最近更改了帐户,则可以参考此线程以检查其解决方案是否适用于您的问题。

BTW, you could review debug logs to diagnose pipeline issues .顺便说一句,您可以查看调试日志以诊断管道问题

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

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