krys-g/TrotiNet

Trotinet: Browser unable to open https url after running trotinet web proxy

Closed this issue · 1 comments

Trotinet proxy is able to capture all HTTP url.
When I hit HTTP url in browser, trorinet proxy is able to capture all HTTP urls.
After running Trotinet web proxy , the problem is that browser stops supporting HTTPS url opening, however browser is able to open HTTP url.

AS Trotinet does not support HTTPS network trafficking, so I want to capture only HTTP traffic not HTTPS. But the need is that browser should be able to open HTTPS url.
How to achieve this.??

That would depend on how you configure your proxy. You want to redirect HTTP requests to the proxy, but not HTTPS/SOCKS.

  1. if you do not change the proxy settings programmatically: In Firefox for example, this is done by setting "Manual proxy configuration" in "Tools -> Advanced -> Settings...", then specifying e.g. "127.0.0.1" for HTTP proxy, "12345" for the port, unselecting the option "Use this proxy server for all protocols", then leaving the fields for SSL and SOCKS empty.

  2. If you change the proxy settings programmatically, have a look at SystemProxySettings.cs:SetHttpSpecificProxy(). The part about https should be left empty.