需要证书才能完成客户端身份验证 [英] A certificate is required to complete client authentication
问题描述
我已经编写了以下代码,当我运行调度程序时,出现以下错误:完成客户端身份验证需要证书,msxml3.dll错误'80072f0c'".
I have written the following code and when I run the scheduler, get this error : "A certificate is required to complete client authentication, msxml3.dll error '80072f0c'".
Dim objXML
Set objXML = CreateObject ("MSXML2.ServerXMLHttp")
objXML.open "GET", "https://test.moneymapwebpro.com/synchClients.aspx", false
objXML.send
Set objXML = Nothing
请告诉我,为什么会出现错误消息.
Please let me know , why the error message occurs.
推荐答案
根据Microsoft KB302080 :
According to Microsoft KB302080:
安全套接字层(SSL)证书支持已添加到与MSXML 3.0版一起发布的ServerXMLHTTP请求对象Service Pack1.要从Web服务器发出任何SSL请求,ServerXMLHTTP期望安装客户端数字证书,即使目标Web服务器不需要客户端证书.
Secure Sockets Layer (SSL) certificate support was added to the ServerXMLHTTP request object with the release of MSXML version 3.0 Service Pack 1. To make any SSL requests from the Web server, ServerXMLHTTP expects a client digital certificate to be installed, even if the target Web server does not require a client certificate.
您需要使用新版本的MSXML(至少是MSXML 3.0 SP2)并安装客户端证书.
You need to use to a new version of MSXML -- at least MSXML 3.0 SP2 -- and install a client certificate.
这篇关于需要证书才能完成客户端身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!