microsoft / microsoft/winget-cli

"0x8a15005e : The server certificate did not match any of the expected values." when trying to search on msstore with winget 1.4

Open
#2,879 57 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

I'm trying to search for a software on msstore specifically with winget 1.4.10173 and I get this error message :

Failed when opening source(s); try the 'source reset' command if the problem persists.
An unexpected error occurred while executing the command:
0x8a15005e : The server certificate did not match any of the expected values.

Steps to reproduce
  1. winget search 7zip -s msstore
  2. winget source reset:
    "The following sources will be reset if the --force option is given:
    Name Argument

msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://cdn.winget.microsoft.com/cache"
3. I opened https://storeedgefd.dsx.mp.microsoft.com/v9.0 in Edge to check if URL was reachable and I got this:
"This XML file does not appear to have any style information associated with it. The document tree is shown below.

No HTTP resource was found that matches the request URI 'https://useast.storeedgefd-origin.xbetservices.akadns.net/v9.0'.
"

Expected behavior

I would expect to see the available software on the Microsoft Store listed

Actual behavior

Failed when opening source(s); try the 'source reset' command if the problem persists.
An unexpected error occurred while executing the command:
0x8a15005e : The server certificate did not match any of the expected values.

Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing winget search 7zip -s msstore with WinGet 1.4.10173 and compare it with winget source reset; the issue provides no source files, tests, or implementation entry point. Done means the Microsoft Store source opens successfully and the search lists available software without error 0x8a15005e.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.