XMLHttpRequest and certificate errors.

Posted by Dan G on Stack Overflow See other posts from Stack Overflow or by Dan G
Published on 2009-08-07T19:14:18Z Indexed on 2010/05/15 19:04 UTC
Read the original article Hit count: 1073

Filed under:
|
|
|

I'm using a XMLHTTPRequest object in my C++ project. I have things working fine with normal http requests and https requests on servers with valid certificates. When I attempt to make an https:// request to a server who's certificate would produce an IE "There is a problem with this website's security certificate." error if I tried to browse there with IE, the request fails.

The result I get back from the request is a 12019 error. Is there any way to make the request ignore the error and continue on as if a user had clicked on the "continue to this website" link.

You are going to suggest I fix whatever is wrong with the certificate. At the moment I don't have control of that certificate, so I'm looking for an answer (if there is one) that does not include correcting the certificate.

Thanks.

© Stack Overflow or respective owner

Related posts about com

Related posts about xmlhttprequest