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.