Advertencia de NuGet 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

Problema

Hay atributos en conflicto en un elemento de certificado en nuget.config. Dos elementos de certificado comparten el mismo fingerprint y hashAlgorithm, pero tienen diferentes allowUntrustedRoot.

Solución

NuGet tomará la configuración más restrictiva (allowUntrustedRoot=false), para quitar la advertencia, asegúrese de desduplicar los elementos del certificado o establecer allowUntrustedRoot en el mismo valor en ambos.