How to grant permission to private key from powershell

Question:

I’m trying to find a way to grant permissions for private key from powershell script. Certificate is stored in CNG. All ideas are welcome.

Answer:

Cmdlet code for getting private key filename.

using cmdlet. CngCrypt.dll – dll with cmdlet code.

Source:

How to grant permission to private key from powershell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply