gpt4 book ai didi

certificate - 无法创建主题 <'MyCAContainerName' 的键 >

转载 作者:行者123 更新时间:2023-12-04 07:28:29 25 4
gpt4 key购买 nike

使用 makecert我写了命令:

makecert -pe -n "CN=Myauthority" -sr localmachine -ss Root -a sha256 -cy authority -r -sk MyCAContainerName -sky exchange -sp "Microsoft RSA Schannel Cryptographic Provider " -sy 12 -len 2048 certif.cer;



我收到一个错误

Error: Can't create the key of the Subject <'MyCAContainerName'>



在寻求解决方案的过程中,我发现问题出现是因为我没有在 machineKey上获得授权。文件 : ( C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys ),

以下链接更好地解释了我在说什么;

http://support.microsoft.com/kb/278381

我遵循相同的程序以获得对机器 key 的足够权限,但问题始终存在

最佳答案

看来Can't create the key of the subject这是一个相当普遍的错误,但是,后面的内容可能会提供线索。

虽然它可能是由权限错误引起的(例如 makecert.exe error: Can't create the key of the subject ),但我也看到了形式 Can't create the key of the subject ('<some guid>') 的错误由 -sp 的错误参数引起争论。

在您的情况下,Error: Can't create the key of the Subject <'MyCAContainerName'>会让我猜测 -sk MyCAContainerName 有问题命令的一部分,但结果是,如果它不是具有权限的东西,则很可能是不正确的命令参数或参数组合。

关于certificate - 无法创建主题 <'MyCAContainerName' 的键 >,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5728806/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com