I have a script that gets me the certificate from "Local Machine\My" certificate store on a windows 2008 server.
I need to add "Authenticated Users" to the private Key of this certificate.
These users have credentials, which will need to specified while adding full control access to this certificate's private key.
Through the security snapin this can be manually achieved by right clicking on my certificate -> All Tasks -> Manage Private Keys -> Add -> give username/password
Looking for powershell cmdlets for this purpose or a script would be nice.
Thanks a lot
Fawad