Skip to content

[Bug] DefaultCertificateLoader does not accept that name : LocalComputer #1702

Description

@brentschmaltz

Which version of Microsoft Identity Web are you using?
master

To repo:

  1. Create a CertificateDescription with CertificateStorePath = "LocalComputer/My".
  2. Try and load the cert.

The error has the following message:

IDW10703: Certificate store path must be of the form 'StoreLocation/StoreName'. StoreLocation must be one of 'CurrentUser', 'CurrentMachine'. StoreName must be empty or one of 'AddressBook', 'AuthRoot', 'CertificateAuthority', 'Disallowed', 'My', 'Root', 'TrustedPeople', 'TrustedPublisher'.

If you open up MMC the common names are: "CurrentUser" and "LocalComputer"
Since you already have support for "CurrentMachine", please add support for "LocalComputer".

See this document for names.

I is always a good idea to echo what was received.
The above error message could be written"
IDW10703: The Certificate store path received '.......' was not of the form....

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationfixed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions