我今天遇到这个问题。由于时间表和其他一些问题,从供应商那里获取密钥是不可能的。
如果证书没有私钥,则可以通过执行以下操作来解决此问题:
To fix this, use the MMC snapin to import the cert into PERSONAL,
click it and grab the serial # line. Go to dos, run certutil
-repairstore my “paste the serial # in here” (you need the quotes) then refresh MMC with personal certs, right click it – export – select
everything except DELETE PRIVATE KEY, hit ok. Then go to IIS and
IMPORT cert instead of finish request.
对于什么是值得的,我实际上必须做的是运行certutil -repairstore命令,我的证书工作。我确实运行导出并为导出本身设置了密码,但是我没有重新导入证书。证书现在显示在IIS的证书列表中,可用于HTTPS绑定。
我希望这有助于某人。