【发布时间】:2013-05-25 16:32:45
【问题描述】:
我尝试使用带有 SnapIn 证书(远程计算机)的 MMC 将 p12 证书导入远程 Windows 2008 Server Core 计算机的个人证书存储区。
证书导入向导告诉我: '不支持将 .pfx 或 .p12 文件导入远程证书存储'
有没有其他方法可以做到这一点?
【问题讨论】:
标签: https ssl-certificate pfx mmc server-core
我尝试使用带有 SnapIn 证书(远程计算机)的 MMC 将 p12 证书导入远程 Windows 2008 Server Core 计算机的个人证书存储区。
证书导入向导告诉我: '不支持将 .pfx 或 .p12 文件导入远程证书存储'
有没有其他方法可以做到这一点?
【问题讨论】:
标签: https ssl-certificate pfx mmc server-core
我发现我可以像这样使用 certutil 和 winhttpcertcfg 做任何事情:
1) 将 .p12 添加到个人密钥库
certutil -p P@ssword -importpfx cert.p12
2) 将 .cer 证书添加为受信任的发布者
certutil -addstore TrustedPublisher cert.cer
3) 检查哪些用户可以访问证书
winhttpcertcfg -c LOCAL_MACHINE\My -s certificate.name -l
3) 授予对证书的访问权限
winhttpcertcfg -c LOCAL_MACHINE\My -s certificate.name -g -a user@domain.com
【讨论】: