I have installed Squid 3.5.12 on Ubuntu 16.04.4 LTS x64, everything is working fine with blocking everything and allowing a whitelist-only, except for when trying to access a website not on the whitelist, if it's HTTP, I get:

ERROR The requested URL could not be retrieved

and if it's HTTPS, I get:

This site can’t be reached

How to get them both display the same message or if possible a custom HTML page?


This behaviour of HTTPS over Proxy is known. The problem was described in Custom Error Page (deny_info) for HTTPS earlier. Also you can read about it in No 'access denied' message with 'https' (post from squid mailing list).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.