Skip to content

winget installation fails on Windows 11 #2019

Open
@sjfke

Description

@sjfke

From winver

  • Windows 11
  • Version 23H2 (OS Build 22631.3527)

Installation using winget

PS> winget install --id MikeFarah.yq
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a15005e : The server certificate did not match any of the expected values.

The following packages were found among the working sources.
Please specify one of them using the --source option to proceed.
Name Id           Source
------------------------
yq   MikeFarah.yq winget

Configured sources

PS> winget source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions