| title | NuGet Warning NU3011 | |
|---|---|---|
| description | NU3011 Warning code | |
| author | mishra14 | |
| ms.author | jodou | |
| ms.date | 8/16/2018 | |
| ms.topic | reference | |
| ms.reviewer | anangaur | |
| f1_keywords |
|
Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The primary signature is invalid.
NuGet client was unable to read the certificate chain for the signing certificate used to sign the package.
Please request the package author to re-sign the package using the nuget sign command as described in NuGet docs. If the problem persists, then please file an issue at NuGet/Home along with the package that generated this problem.
Note
When NuGet’s signature validation mode is set to accept (default), NU3011 is raised as a warning.
When NuGet’s signature validation mode is set to require, or when running the nuget verify -signatures command, NU3011 is elevated from a warning to an error.