Https 不支持将.pfx或.p12文件导入远程证书存储

Https 不支持将.pfx或.p12文件导入远程证书存储,https,ssl-certificate,pfx,mmc,server-core,Https,Ssl Certificate,Pfx,Mmc,Server Core,我尝试使用MMC和管理单元证书(远程计算机)将p12证书导入远程Windows 2008 Server核心计算机的个人证书存储 证书导入向导告诉我: '不支持将.pfx或.p12文件导入远程证书存储' 有其他方法可以做到这一点吗?我发现我可以用certutil和winhttpcertcfg做任何事情,如下所示: 1) 将.p12添加到个人密钥存储 certutil -p P@ssword -importpfx cert.p12 2) 将.cer证书添加为受信任的发布者 certutil -

我尝试使用MMC和管理单元证书(远程计算机)将p12证书导入远程Windows 2008 Server核心计算机的个人证书存储

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


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

我发现我可以用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
 winhttpcertcfg -c LOCAL_MACHINE\My -s certificate.name -g -a user@domain.com
3) 授予对证书的访问权限

 winhttpcertcfg -c LOCAL_MACHINE\My -s certificate.name -l
 winhttpcertcfg -c LOCAL_MACHINE\My -s certificate.name -g -a user@domain.com