[squid-users] Certificate error using using squid with tproxy configuration

Alex Rousskov rousskov at measurement-factory.com
Thu Jun 15 13:08:14 UTC 2023


On 6/15/23 07:31, Ben Goz wrote:

> the tproxy configuration works perfectly using http without ssl,
> But using ssl I'm getting in browser ssl error "ERR_SSL_PROTOCOL_ERROR"


> http_port 0.0.0.0:3130 tproxy ...

This http_port is for plain text HTTP interception. The configuration 
needs an https_port (note the "s") dedicated to TLS interception instead.


> TPROXY     tcp  --  anywhere             anywhere             tcp 
> dpt:https TPROXY redirect 0.0.0.0:3130 mark 0x1/0x1

The above rule should redirect traffic to that https_port.


HTH,

Alex.



More information about the squid-users mailing list