Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 17, 2012 08:24 AM by BuNanHe
May 08, 2012 12:00 PM|LINK
I am facing a strange problem in developing an installation that should in one of the steps install a certificate.
The problem has to do with granting Certificate’s private key access for an account (e.g. IIS_IUSRS) on Windows Server 2008 R2. The private keys are stored in the location C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys.
A custom C# Setup Project imports a Certificate and gives access for an account on Certificate’s private key during the installation process. After some time (2-3 sec) the private key file is
automatically deleted from the MachineKeys folder. Thus the installed Web Application cannot access the specific certificate and displays the following error message:
“System.Security.Cryptography.CryptographicException: Keyset does not exist”. This error occurs only on Windows Server 2008, while for Windows Server 2003 everything is working correctly.
My question is, why the private key gets deleted and which process does this?
May 17, 2012 06:49 AM|LINK
No answer has been received in this or any of the other suggested forums for our question. Can anyone suggest any other resources or advice for further troubleshooting this issue?
May 17, 2012 08:24 AM|LINK
Maybe you can configure the MachineKeys Folder securities and give the user Read&Execute, List Folder Contents, Read,Write permission or give everyone user the same permissions and have a try.