title: How to ignore invalid certificates with IWinHttpRequest?
body: <p>i am using Microsoft's <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa384106.aspx" rel="nofollow"><code>WinHttpRequest</code></a> COM object to request a web-page with an invalid certificate:</p>
  
  <pre><code>IWinHttpRequest http = new WinHttpRequest();
  http.Open("GET", url, false);
  http.Send(null);
  </code></pre>
  
  <p>Except that the call to <code>Send</code> throws an exception:</p>
  
  <pre><code>0x80072F0D - The certificate authority is invalid or incorrect
  </code></pre>
  
  <p>How do i tell <code>WinHttpRequest</code> that i don't care, and i want it to retrieve the page i asked for?</p>