Posted on: 9/2/2014 1:31:11 PM | Views : 770

Hi, I'm trying to grant access to a certificate in Windows 2K3 with the next command (obviusly i replaced with the correct input values):

winhttpcertcfg -g -c LOCAL_MACHINE\My -s MyCertificate -a TESTUSER

when i run it, throws the next error:

Error: Access was not successfully obtained for the private key. This can only be done by the user who installed the certificate.

I installed the certificate with an Administrator account, and excecuted the command with the same user. I also tried with FindPrivateKey and in the Location column shows the message "Not available". I changed permissions to full control in the directory "C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys".

Camilo

Go to the complete details ...