How can I configure the SSL certificate if I want to build an https server based on HttpListener.
The only information I found is here
but it doesn't work.
Sadly the link is broken, any chance you got it working and could share how you did it?
My understanding is that you do not have to do anything special on the code end , except to make sure that your HttpListener object has the "https://..." prefix in the Prefixes property. E.g. do something like:
Which will set your HttpListener instance to listen for Https requests on port 443 (which is the standard https port).
Beyond that, if you are using trusted certificates, then that should be all you have to do. If you want to use self-signed certificates, that is another can of worms... but I did find this SO post that may help with that as well:
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies