[squid-users] ssl-bump does not redirect to block page

leo messi leomessi983 at yahoo.com
Wed Feb 6 14:55:03 UTC 2019


HiMy squid config is something like this:acl blk ssl::server_name .google.com
http_access deny blk
http_access allow all


http_port 0.0.0.0:3128
http_port 0.0.0.0:3129 tproxy
https_port 3130 tproxy ssl-bump \
  cert=/etc/squid/ssl_cert/myCA.pem \
  generate-host-certificates=on dynamic_cert_mem_cache_size=4MB
sslcrtd_program /usr/lib64/squid/security_file_certgen -s /var/lib/ssl_db -M 4MB

acl step1 at_step SslBump1
ssl_bump peek step1
ssl_bump splice all


My problem is when i block some pages like google.com,my Firefox browser show "secure connection failed",but i want it to show block page or warning page, how can i do this?
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190206/bf9ccf4c/attachment.html>


More information about the squid-users mailing list