PowerShell / PowerShellGallery

228 stars 65 forks source link

Certificate has expired. Can't install modules. #235

Closed wenzzzel closed 2 years ago

wenzzzel commented 2 years ago

Prerequisites

Steps to reproduce

  1. Run Install-Module CosmosDb
  2. Get's this returned WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/CosmosDB/4.6.0' is not valid.Install-Package: Package 'CosmosDB' failed to download.
  3. Visiting above link says the certificate is bad. This is what the certificate looks like: image

Expected behavior

Expected CosmosDB module to be installed

Actual behavior

WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/CosmosDB/4.6.0' is not valid. Install-Package: Package 'CosmosDB' failed to download.

Error details

No response

Environment data

Not sure if below is verbatim, so sorry about that. Please tell me if it's wrong and I'll try and correct it.

Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

7.2.1

Visuals

No response

wenzzzel commented 2 years ago

It probably has to do with corporate policies and VPNs on my side. Closing this Issue. Sorry if I alarmed anybody.