“管理私钥”选项失踪 [英] 'MANAGE PRIVATE KEYS' option missing

查看:269
本文介绍了“管理私钥”选项失踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发WCF服务在IIS 7.5在Windows 2008R2主持。我有一个证书,在IIS 7.5中产生存储在本地文件夹

I'm developing WCF service with Transport Security hosted on IIS 7.5 under Windows 2008R2. I have a certificate, generated in IIS 7.5 which is stored in Local folder.

当我使用basicHttpBinding的或用的WSHttpBinding传输安全性 - 一切工作正常。但是,当我将其更改为NetTcp我得到一个异常:

When I use BasicHttpBinding or WSHttpBinding with Transport Security - everything works fine. But when I change it to NetTcp I get an exception :

 CryptographicException 'Keyset does not exist'. 

在有点谷歌搜索,我发现,这个问题可能是因为我的NETSERVICE IIS帐户不有premission我的证书的私钥。

After a bit of googling I found out that the problem can be because my NETSERVICE IIS account doesn't have premission to the private key of my certificate.

该解决方案可以是设置的权限由我的证书,并选择右键单击MMC来accesss管理私钥选项。但是,在选择菜单中没有这样的选择!该证书是根据管理员帐户创建,在那里我打开它 - 它说,它有私钥。我是我做错了。

The solution could be to set the rights to accesss in MMC by right-clicking on my certificate and selecting "MANAGE PRIVATE KEYS" option. But there is no such option in the select menu!!! The Certificate was created under administrator account and where I open it - it says, that it has private key. What I'm I doing wrong?

推荐答案

转到服务器 - >点击开始 - >运行 - >键入mmc - >进入 - >选择证书管理单元在本地计算机选项 - >转到控制台根 - >证书 - > Personal->证书 - >选择cert->右键单击 - >转到所有任务 - >管理专用键 - >添加权限

Go to server -> click Start -> Run -> type mmc -> enter -> select Certificates snap-in with Local Computer option -> Go to Console Root-> Certificates-> Personal-> Certificates-> Select a cert-> Right click-> Go to All tasks-> Manage Private Keys-> Add permissions

这篇关于“管理私钥”选项失踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆