I am behind a transparent proxy (squid) and whenever I try to add an account e.g: facebook, google, etc., this is what appears. This does not happen when I connect to the net directly.
Any suggestions or workarounds?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
All parts of this answer have been re-worded from Fossfreedom's Answer available here. You should read it, as it gives picture examples and gives a solely command-line method as well.
Instead of running a proxy by using the GUI settings menu, you can use DConf.
First off, install
dconf-tools and run
dconf-editor in a console. It should open a GUI.
org.gnome.system.proxy, set the proxy mode to
https, set your according proxy settings.
Relog/reboot and it should be solved.
Transparent proxies are for unsecured (e.g. HTTP) connections only.
Adding accounts is done with HTTPS.
HTTPS proxying can only be done explicitly, not transparently. Or, with great effort, you can set up a near-"transparent" HTTPS proxy by emulating a man-in-the-middle attack. (Search the web for "SSL Bump")
You'll need to either set up an SSL bumping proxy, or manually specify the HTTPS (not necessarily HTTP) proxy as described in the other answers relating to non-transparent proxies.