加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – makecert错误:无法访问主题的键

发布时间:2020-12-14 01:45:52 所属栏目:Windows 来源:网络整理
导读:我有一个Power Shell脚本,我想在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'
我有一个Power Shell脚本,我想在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

有任何想法吗?

谢谢,杰夫

运行此命令后,应弹出几个令人困惑且无用的密码提示.

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

Entering the same password in both the first and second pop-up screens got me past this.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读