Skip to content

CertStorePath Parameter Usage (Add-SignerRule) #3542

@NathanJepson

Description

@NathanJepson

It would be helpful to know the correct usage of "CertStorePath".

The intuitive choice would be to use:
Add-SignerRule -FilePath "xml\policy\path" -CertStorePath "cert:\CurrentUser\My\[CertificateThumbprintHere]"

However, when I tried this--with or without the thumbprint supplied--an error is thrown. (In both PowerShell 5.1 and PowerShell 7).

I would at least like to know if my intuition is correct, before I submit an issue report on github.com/PowerShell/PowerShell.

Thanks for your help!


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

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