How to get Firefox to not Proxy SSL (https) with FoxyProxy
Summary: Install FoxyProxy. Go to Tools->FoxyProxy->Options in the Firefox menus. Add a new Proxy. Call it "NoSSL". Configure it to use the proxy you want. Edit that proxy under URL patterns to blacklist all URLs that starts with "https://*". Then select Go to Tools->FoxyProxy->Use "NoSSL" for all URLs from the Firefox menus.
I am typing this from a train which has free WiFi included in the ticket price. The networks is unencrypted, so anyone can poetntially spy on my traffic. I therefore tunnel my http requets with SSH (Putty in my case) to a server where I have a simple proxy installed. I simply tell Firefox that the proxy is at localhost:9119 and then tunnel that with putty to my proxy server.
Unfortunately my proxy server is pretty basic and cannot proxy https (SSL) requests, and it does not need to really, because these are already encrypted from my latop and need not make the trip over my server. So how do I tell Firefox to only proxy http requests but not https (SSL)?
I could not figure out how to do it in Firefox standard proxy dialog. I suspect it is not posible. There is however an add-in for Firefox called FoxyProxy. It can do more advanced stuff. It was not that obvious how to do it, but I realized that a FoxyProxy blacklist does not kill those urls, it just does not proxy them; they go out on the network unproxied. So, as per the summary above:
Install FoxyProxy. Go to Tools->FoxyProxy->Options in the Firefox menus. Add a new Proxy. Call it "NoSSL". Configure it to use the proxy you want. Edit that proxy under URL patterns to blacklist all URLs that starts with "https://*". Then select Go to Tools->FoxyProxy->Use "NoSSL" for all URLs from the Firefox menus.
FoxyProxy is a free, open-source advanced proxy management tool that completely replaces Firefox's limited proxying capabilities. It automatically switches an internet connection across one or more proxy servers based on URL patterns.
Läs mer: FoxyProxy