Looking to see if there is a way to start a web server with HTTPS support from C# that does not require installing the 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)
Thank you!
Clarification edit: I need to start the web server self-contained on a specific port from a C# Desktop Windows application, without using IIS.