Hello
I do not need the certificate request:
web = "XML = CREATEOBJECT("WinHttp.WinHttpRequest.5.1")
TRY
XML.Open("GET", web , .F.)
XML.SetCredentials("user", "pass", 0)
XML.SetRequestHeader("content-type", "application/x- XML.Send
CATCH TO oError WHEN .T.
** ERROR
FINALLY
WAIT CLEAR
ENDTRY
It throws the following error in oError.details:
"OLE IDispatch exception code 0 from WinHttp.WinHttpRequest: The certificate authority is invalid or incorrect
With the following code I can access fine, but show me an alert window notifying me that the security certificate is valid and asking me if I want to continue. I need that window does not appear.
web = "XML = CreateObject("Microsoft.XMLHTTP")
XML.Open("GET", web, .f.,"user","pass")
try
XML.Send
CATCH TO oError WHEN .T.
** ERROR
FINALLY
WAIT CLEAR
ENDTRY
How do I disable the security certificate?
Thanks
I do not need the certificate request:
web = "XML = CREATEOBJECT("WinHttp.WinHttpRequest.5.1")
TRY
XML.Open("GET", web , .F.)
XML.SetCredentials("user", "pass", 0)
XML.SetRequestHeader("content-type", "application/x- XML.Send
CATCH TO oError WHEN .T.
** ERROR
FINALLY
WAIT CLEAR
ENDTRY
It throws the following error in oError.details:
"OLE IDispatch exception code 0 from WinHttp.WinHttpRequest: The certificate authority is invalid or incorrect
With the following code I can access fine, but show me an alert window notifying me that the security certificate is valid and asking me if I want to continue. I need that window does not appear.
web = "XML = CreateObject("Microsoft.XMLHTTP")
XML.Open("GET", web, .f.,"user","pass")
try
XML.Send
CATCH TO oError WHEN .T.
** ERROR
FINALLY
WAIT CLEAR
ENDTRY
How do I disable the security certificate?
Thanks