Windows makecert错误:Can';我拿不到主题的钥匙

Windows makecert错误:Can';我拿不到主题的钥匙,windows,makecert,Windows,Makecert,我有一个powershell脚本,我想在两台不同的单机上运行。在安装了SDK的Windows 8.1上,我发出以下命令: makecert -r -pe -n "CN=My Root Authority" -ss CA -sr CurrentUser ^ -a sha1 -sky signature -cy authority -sv CA.pvk CA.cer 我回来了: Error: Can't access the key of the subject ('CA.pvk') F

我有一个powershell脚本,我想在两台不同的单机上运行。在安装了SDK的Windows 8.1上,我发出以下命令:

makecert -r -pe -n "CN=My Root Authority" -ss CA -sr CurrentUser ^
     -a sha1 -sky signature -cy authority -sv CA.pvk CA.cer
我回来了:

Error: Can't access the key of the subject ('CA.pvk')
Failed
已创建CA.pvk,但未创建CA.cer

有什么想法吗


提前感谢,Geoff在运行此命令后应该会弹出几个混乱且没有帮助的密码提示

当我在第二个提示中输入与第一个提示中输入的密码不同的密码时,我收到了相同的错误消息

在第一个和第二个中输入相同的密码 弹出式屏幕让我克服了这一点