I looked at the documentation and examples in the service stack library and googled around but couldn't find a way to create an ssl (https) web service. In particular in the example i run the console example (really cool) that extends the AppHostHttpListenerBase class. I would like to make it run with https.
You must set up a Server Certificate for the Http Listener, here's a walk through example of how to do that:
https://learn.microsoft.com/en-us/archive/blogs/jpsanders/how-to-walkthrough-using-httplistener-or-http-server-unmanaged-code-c-as-an-ssl-simple-server
Whilst here is an article for setting up SSL with HttpListener on Mono: Does HttpListener work well on Mono?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With