http_listener SSL support

Dec 22, 2014 at 2:47 PM

Is http_listener supporting https? I think that on Windows is using WinHttp, and this supports SSL, but, How can I access to the server navite handle for set the certificate? I see a set native handle on http_client, but not in http_listener.

Dec 22, 2014 at 7:20 PM
Hi jdiazdesico,

The http_listener on Windows supports https, but no work has been done for exposing certificates or a native handle option like with our http_client. Most of the focus of this library is really on the client side. Side note WinHTTP is a client side API only, there is a separate Windows API for building servers Windows HTTP Server API.

We accept back contributions to the library if you had interest in exposing an option to help you get the certificate.

Jan 14, 2015 at 9:21 AM
Thanks you stevetgates,

I found how to create the certificate and assign it to a port here: