Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.36 KB

File metadata and controls

46 lines (27 loc) · 1.36 KB
title NuGet Warning NU3015
description NU3015 Warning code
author mishra14
ms.author jodou
ms.date 8/16/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU3015

NuGet Warning NU3015

Scenario 1

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The lifetime signing EKU in the primary signature's certificate is not supported.

Issue

The certificate used to sign the package has an unsupported Extended Key Usage.

Solution

Please ensure that the signing certificate does not have lifetime signing Extended Key Usage.

Scenario 2

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The lifetime signing EKU in the signing certificate is not supported.

Issue

The certificate used to sign the package has an unsupported Extended Key Usage.

Solution

Please ensure that the package was signed using a signing certificate that does not have lifetime signing Extended Key Usage.

Note

When NuGet’s signature validation mode is set to accept (default), NU3015 is raised as a warning. When NuGet’s signature validation mode is set to require, or when running the nuget verify -signatures command, NU3015 is elevated from a warning to an error.