I've got a problem with a function which is used to retrieve a file off a server. The server has SSL encryption, however the certificate is not issues by a "trusted company" - or atleast this is the alert I receive when attempting to manually access the file.
The error I get when trying to execute my script:
msxml3.dll error '80072f0d'
The certificate authority is invalid or incorrect
I've researched the subject and found the XMLHTTP setOption method can override the handling of the certificate issue, but I have not been able to get it working.
Function GetDBfile( GroupID )
dim xml, newopt
set xml= CreateObject("Msxml2.ServerXMLHTTP")
newopt = (xml.getOption(2) - 13056)
xml.setOption(2) = newopt
strFContent = xml.ResponseBody
.Type = 1
.SaveToFile Server.MapPath("files/db/"& GroupID &".txt"),2
GetDBFile = True
Thanks in advance.