Skip to content

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

@wenzzzel

Description

@wenzzzel

Prerequisites

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions