简体   繁体   中英

A certificate is required to complete client authentication

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.

According to Microsoft KB302080 :

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.

You need to use to a new version of MSXML -- at least MSXML 3.0 SP2 -- and install a client certificate.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM