1

I got a problem with upgrading my deployment to windows server 2012, my deploy works fine with osfamily=2 and compiled with .net4, but failed at .net4.5 and osfamily=3,

the exception I saw when remote to the vm is "Keyset does not exist", seems to related to some certificates. My program using the certificates to encrypt some stream and should be able to using this certs to decode this stream after I deploy it. I checked the certs on vm, it is installed fine, in the right place. So I suspect this is an issue with the different secure policy with 2012 that prevent my role to get the key in the certs.

this blocks me for a while so Thank a lot for any clue!

4

1 回答 1

5

Keyset 不存在通常是指当您的程序尝试访问证书的私钥并且由于私钥不存在或无权访问它而无法访问时出现错误

您需要在证书存储中找到有问题的证书,验证它是否包含私钥(将显示在证书的属性中)

证书属性

然后通过右键单击证书存储中的证书并选择:所有任务->管理私钥来验证您的进程/应用程序池是否有权访问私钥。从那里,确保将足够的用户添加到允许列表中

添加权限

希望这可以帮助

于 2013-01-08T13:53:15.543 回答