Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I configured SSL on my Windows HTTP server (HTTP listener) developed using HTTPAPI_VERSION_1 API's using HttpSetServiceConfiguration. I used a self signed certificate and followed the steps at this link to set it as trusted http://blogs.msdn.com/b/jpsanders/archive/2009/09/29/walkthrough-using-httplistener-as-an-ssl-simple-server.aspx[^]

Then I tried using the sample in MSDN named WinHttpPostSample to connect to the HTTP server using HTTPS. But WinHttpSendRequest API always fails with error 12044 (ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED).

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.
Posted
Updated 4-Oct-11 10:34am
v2
Comments
André Kraak 4-Oct-11 16:35pm    
Edited question:
Added code tags
Formatted text/code
Spelling/Grammar
Corrected link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900