Discussion:
XmlHttp CA Error , Please help
(too old to reply)
M***@gmail.com
2006-07-06 16:17:14 UTC
Permalink
Hi,
I'm new to this and could use some help.
I am using Server XmlHttp by sending a COOKIE header in win XP sp2 ,
as
following (VB6):

Dim objXmlHttp As New MSXML2.ServerXMLHTTP40
With objXmlHttp
.Open "POST, URL ', False
'ObjDocument. : The Explorer Window
Call .setRequestHeader("COOKIE", ObjDocument.cookie)
.send sHTMSource
While .ReadyState = 1
DoEvents
Wend

sResponse = .responseText
End With

I am getting an error:
"The certificate authority is invalid or incorrect" Altough my cookies
is
enabled on the Internet settings.

I need an advise how to solve this problem.

Thank You

Manu
Martin Honnen
2006-07-07 11:36:26 UTC
Permalink
Post by M***@gmail.com
.Open "POST, URL ', False
"The certificate authority is invalid or incorrect"
Is URL a HTTPS: URL? That error message sounds more like a problem with
an SSL connection which is encrypted and while looking at a certificate
a problem is found and reported.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
john
2007-02-28 23:23:43 UTC
Permalink
Post by M***@gmail.com
Hi,
I'm new to this and could use some help.
I am using Server XmlHttp by sending a COOKIE header in win XP sp2 ,
as
Dim objXmlHttp As New MSXML2.ServerXMLHTTP40
With objXmlHttp
.Open "POST, URL ', False
'ObjDocument. : The Explorer Window
Call .setRequestHeader("COOKIE", ObjDocument.cookie)
.send sHTMSource
While .ReadyState = 1
DoEvents
Wend
sResponse = .responseText
End With
"The certificate authority is invalid or incorrect" Altough my cookies
is
enabled on the Internet settings.
I need an advise how to solve this problem.
Thank You
Manu
There is a solution:

http://www.egilh.com/blog/archive/2006/02/09/2319.aspx

Const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056
Dim oXMLRequest

Set oXMLRequest = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0");
oXMLRequest.setOption(2) = SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Joe Fawcett
2007-04-03 07:05:03 UTC
Permalink
Post by john
Post by M***@gmail.com
Hi,
I'm new to this and could use some help.
I am using Server XmlHttp by sending a COOKIE header in win XP sp2 ,
as
Dim objXmlHttp As New MSXML2.ServerXMLHTTP40
With objXmlHttp
.Open "POST, URL ', False
'ObjDocument. : The Explorer Window
Call .setRequestHeader("COOKIE", ObjDocument.cookie)
.send sHTMSource
While .ReadyState = 1
DoEvents
Wend
sResponse = .responseText
End With
"The certificate authority is invalid or incorrect" Altough my cookies
is
enabled on the Internet settings.
I need an advise how to solve this problem.
Thank You
Manu
http://www.egilh.com/blog/archive/2006/02/09/2319.aspx
Const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056
Dim oXMLRequest
Set oXMLRequest = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0");
oXMLRequest.setOption(2) = SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS
BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Alternatively install a valid and current certificate on the server.
--
Joe Fawcett (MVP - XML)

http://joe.fawcett.name
Loading...