| 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 |
|
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
There are conflicting attributes in a certificate item in nuget.config. Two certificate items share the same fingerprint and hashAlgorithm, but have different allowUntrustedRoot.
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.