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:
Whilst here is an article for setting up SSL with HttpListener on Mono: Does HttpListener work well on Mono?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.