i am using Microsoft's WinHttpRequest
COM object to request a web-page with an invalid certificate:
IWinHttpRequest http = new WinHttpRequest();
http.Open("GET", url, false);
http.Send(null);
Except that the call to Send
throws an exception:
0x80072F0D - The certificate authority is invalid or incorrect
How do i tell WinHttpRequest
that i don't care, and i want it to retrieve the page i asked for?