Background - I can get the HttpListener to work fine for HTTP traffic. However, I have problems with HTTPS traffic.
QUESTION: How can I change the code below so that the browser request for the "https" URL is actually found by my HttpListener?
Notes. Currently with the firefox proxy settings set to "localhost: 8080", when I listen to the traffic on port 8080 ("https: // *: 8080 /") and I enter the HTTPS URL in firefox, I don’t getting any traffic? (when I listen only to http and enter the normal http-url, it works fine)
_httpListener = new HttpListener();
_httpListener.Prefixes.Add("https://*:8080/");
_httpListener.Start();
thank
source
share