Squid 3.1 transparent proxy for HTTPS connection getting problems

Latest response

Respected Sir,

 

I am running OS rhel6.3 and intalled squid 3.1 with comes with the os

i have configure my iptables as following to accesss internet with transperatent proxy

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:http redir ports 3128
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:https redir ports 3130

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
MASQUERADE  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

 

Configured the /etc/squid.conf with the following transparent proxy args as below

http_port 3128 transparent
http_port 3130 transparent cert=/etc/pki/tls/certs/njcert.pem key=/etc/pki/tls/certs/njkey.pem

but when i try to connect from the client supposed in firefox i am getting the following error

ssl received a record that exceeded the maximum permissible error code ssl_error_rx_record_too_long

firefox version 18.0.2

I need to configure transparent proxy to work with https connectivity

Please reply asap

 

 

 

 

 

 

Responses