【问题标题】:Importing a .pfx or .p12 file to a remote certificate store is not supported不支持将 .pfx 或 .p12 文件导入远程证书存储
【发布时间】:2013-05-25 16:32:45
【问题描述】:

我尝试使用带有 SnapIn 证书(远程计算机)的 MMC 将 p12 证书导入远程 Windows 2008 Server Core 计算机的个人证书存储区。

证书导入向导告诉我: '不支持将 .pfx 或 .p12 文件导入远程证书存储'

有没有其他方法可以做到这一点?

【问题讨论】:

    标签: https ssl-certificate pfx mmc server-core


    【解决方案1】:

    我发现我可以像这样使用 certutilwinhttpcertcfg 做任何事情:

    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
    

    【讨论】:

      猜你喜欢
      • 2019-12-09
      • 2018-05-27
      • 2013-09-18
      • 2011-07-07
      • 2014-07-12
      • 2022-07-11
      • 2012-02-26
      • 1970-01-01
      • 2015-04-01
      相关资源
      最近更新 更多