You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Cmdlet which grants Permissions to the Private Key of a Certificate in the Certificate Store would be useful.
Example: $Certificate could perhaps be location such as cert:\LocalMachine\My\FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF or perhaps just thumbprint? $Identity would be the security principal (eg: NETWORK SERVICE or DOMAIN\user) Permission parameter being either FullControl or Read
Such a Cmdlet would be useful in order to automate configuration of key access after Certificate Installation as part of installation of a service or other such software.
The text was updated successfully, but these errors were encountered:
A Cmdlet which grants Permissions to the Private Key of a Certificate in the Certificate Store would be useful.
Example:
$Certificate
could perhaps be location such ascert:\LocalMachine\My\FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
or perhaps just thumbprint?$Identity
would be the security principal (eg:NETWORK SERVICE
orDOMAIN\user
)Permission
parameter being either FullControl or ReadThere is a Question-and-Answers on StackOverflow (How to Grant permission to user on Certificate private key using powershell?) on how to grant permissions but seemingly, anecdotally, doesn't seem reliable across platforms and use-cases, I also wonder if the example code provide would work with non-RSA keys but an answer I provided to another StackOverflow Question is useful in obtaining the absolute path of a Certificate Container.
Such a Cmdlet would be useful in order to automate configuration of key access after Certificate Installation as part of installation of a service or other such software.
The text was updated successfully, but these errors were encountered: