Mel*_*ely 8 certificate makecert
使用makecert我写的commade:
makecert -pe -n"CN = Myauthority"-sr localmachine -ss Root -a sha256 -cy authority -rsk MyCAContainerName -sky exchange -sp"Microsoft RSA Schannel Cryptographic Provider"-sy 12 -len 2048 certif.cer;
我收到了一个错误
错误:无法创建主题<'MyCAContainerName'>的键
在寻求解决方案时,我发现问题出现是因为我没有在machineKey文件上授权:( C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys),.
以下链接更好地解释了我在说什么;
http://support.microsoft.com/kb/278381
我遵循相同的程序,以获得对机器密钥的足够权限,但始终提出问题
这似乎Can't create the key of the subject是一个相当普遍的错误,但是,它之后的内容可能会给出一个线索.
虽然它可能是由权限错误引起的(例如makecert.exe错误:无法创建主题的键),但我也看到了Can't create the key of the subject ('<some guid>')由参数的错误参数引起的表单错误-sp.
在你的情况下,Error: Can't create the key of the Subject <'MyCAContainerName'>会让我猜测-sk MyCAContainerName命令部分有问题,但结果是,如果它不是具有权限的东西,那么它可能是一个不正确的命令参数或参数组合.
| 归档时间: |
|
| 查看次数: |
11688 次 |
| 最近记录: |