I need to start a web server self-contained on a specific port with HTTPS from a C# Desktop Windows application, without using IIS.
Looking to see if there is a way to do this does not require installing the HTTPS certificate into windows with netsh. Just a simple lightweight server that can load up a certificate and/or create one at runtime. I just need to be able to read the URL requests and return the content programmatically based on that.
Built-in .NET and third party suggestions are welcome! I haven't been able to find anything.
Bonus points if no administrator permissions are needed as well (avoiding using netsh to add the port namespace, which is required with most of the built in .NET http libs)
Thank you!