Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 902 Bytes

File metadata and controls

23 lines (17 loc) · 902 Bytes
title description author ms.author ms.date ms.topic ms.reviewer f1_keywords
NuGet Warning NU3040
NU3040 Warning code
JonDouglas
jodou
11/12/2018
reference
rmpablos
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.