No "Access denied" Error page for HTTPS squid

Solution Verified - Updated -

Issue

  • Why squid don't generate "Access denied" Error page for HTTPS
acl blocksites url_regex -i  "/etc/squid/restricted-sites.squid"
http_access deny blocksites
# cat /etc/squid/restricted-sites.squid
www.test.com
  • While accessing http://www.test.com , get proper "Access Denied" message.
  • But when https://www.test.com , Not getting access denied message , getting "This webpage is not available" instead.

Environment

  • Redhat Enterprise Linux
  • Squid

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content