I have a classic ASP application that makes a fairly simple server-side GET.
I have used the same code for many years and hundreds of users without problems. But now only one user reports the following error:
msxml3.dll error '80072f06' The host name in the certificate is invalid or does not match
I can not reproduce the error in any system that I have tried (various combinations of operating systems and browsers).
And I'm even more puzzled because it's pure server-side code - the server is requesting data from another ASP page (on the same server), so I'm not sure how the clientโs browser can matter anyway.
The abusive code is pretty simple:
Set HTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0") URL="https://www.someserver.com/somepage.asp?id=12345" HTTP.Open "GET", URL, FALSE, username,password HTTP.SetRequestHeader "User-Agent",Request.ServerVariables("HTTP_USER_AGENT") HTTP.Send ""
Again, this is great for hundreds of users - only one issue we have heard about.
The user with the problem is Win7 (64-bit) and IE9, if that matters (since I am installing the agent for the actual user agent). But when I manually install the agent for the exact user string, I still cannot reproduce the problem.
Any thoughts or ideas? I would be very grateful!
source share