豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 902 Bytes

File metadata and controls

23 lines (17 loc) · 902 Bytes
title NuGet Warning NU3040
description NU3040 Warning code
author JonDouglas
ms.author jodou
ms.date 11/12/2018
ms.topic reference
ms.reviewer rmpablos
f1_keywords
NU3040

NuGet Warning NU3040

There are two certificates with conflicting allowUntrustedRoot attributes in the computed settings. The allowUntrustedRoot attribute is going to be set to false. Certificate: SHA256-3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE

Issue

There are conflicting attributes in a certificate item in nuget.config. Two certificate items share the same fingerprint and hashAlgorithm, but have different allowUntrustedRoot.

Solution

NuGet will take the most restrictive of those settings (allowUntrustedRoot=false), to remove the warning make sure to either deduplicate the certificate items or set allowUntrustedRoot to the same value on both.