我在 IIS7/Windows Server 2008 R2 上尝试向 Microsoft CA 请求用户证书时遇到问题。
为了请求证书,我使用 CCertRequest提交方法。
在我的日志中,出现以下错误:
CCertRequest::Submit: The RPC server is unavailable. 0x800706ba (WIN32: 1722) COMException at CERTCLIENTLib.CCertRequestClass.Submit(Int32 Flags, String strRequest, String strAttributes, String strConfig)
以及事件查看器中关联的 DCOM 错误:
DCOM was unable to communicate with the computer cert.XXX.com/XXXCA using any of the configured protocols.
当我使用 CertUtil 命令工具 ping CA 时,命令成功:
C:\Windows\system32>certutil -ping -config "cert.XXX.com\XXXCA " Connecting to cert.XXX.com\XXXCA ... Server "XXXCA" ICertRequest2 interface is alive CertUtil: -ping command completed successfully.
你有什么想法可以帮助我吗?
最佳答案
我修好了!
证书服务服务器的有效配置字符串是
ComputerName\CAName
而不是
ComputerName/CAName
关于iis-7 - CA 证书请求失败 - RPC 服务器不可用 - DCOM 无法与计算机通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17977570/