title: Configure SSL on Windows HTTP server using HTTPAPI_VERSION_1 APIs
body: <p>I configured SSL on my Windows HTTP server (HTTP listener) developed using <code>HTTPAPI_VERSION_1</code> APIs using <code>HttpSetServiceConfiguration</code>. </p>
  
  <p>I used a self signed certificate and followed the steps at this link to set it as trusted <a href="http://blogs.msdn.com/b/jpsanders/archive/2009/09/29/walkthrough-using-httplistener-as-an-ssl-simple-server.aspx" rel="nofollow">http://blogs.msdn.com/b/jpsanders/archive/2009/09/29/walkthrough-using-httplistener-as-an-ssl-simple-server.aspx</a></p>
  
  <p>Then I tried using the sample in msdn named <code>WinHttpPostSample</code> to connect to the http server using https. </p>
  
  <p>But <code>WinHttpSendRequest</code> API always fails with error </p>
  
  <blockquote>
    <p>12044 (ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED)</p>
  </blockquote>
  
  <p>How can we prevent the HTTP server from sending this error or to make it not compulsory for the server to have a client certificate to proceed ?</p>