PowerShell/PowerShellGet

Install-PackageProvider fails - onegetcdn.azureedge.net certificate expired

Closed this issue · 1 comments

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Install-PackageProvider -Name NuGet -Force -Scope AllUsers

Expected behavior

The NuGet package provider should be downloaded and installed successfully.

Actual behavior

WARNING: Unable to download from URI 'https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag' to ''.
WARNING: Unable to download from URI 'https://onegetcdn.azureedge.net/providers/nugetv2.feed.swidtag' to ''.
WARNING: Unable to download from URI 'https://onegetcdn.azureedge.net/providers/psl.feed.swidtag' to ''.
Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package
provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.

Accessing the URLs directly results in browser warnings or errors related to expired or misconfigured SSL certificates.

Example failing URL:
https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.19041.5856
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.5856
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

2.2.5

Visuals

The server certificate expired:

Image

Certificate expired again today.

Image