【发布时间】:2014-08-04 16:56:16
【问题描述】:
我有一个 powershell 脚本,我想在 2 台不同的独立机器上运行。在安装了 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
有什么想法吗?
提前致谢,杰夫
【问题讨论】: