Client not able to view secure sites (https) when browsing thru squid
Hi,
I am using. Red Hat Enterprise Linux ES release 3 (Taroon) & squid version STABLE2.5. The configuration is herewith attached.
My requirement is to block all sites and to allow only 3 sites , which are secure sites (https). With the current configuration where i need to change the setting.
http_port 11011icp_port 0hierarchy_stoplist cgi-bin ?acl QUERY urlpath_regex cgi-bin \?no_cache deny QUERYcache_mem 16 MBmaximum_object_size_in_memory 100 KBrequest_body_max_size 100 KBreply_body_max_size 0acl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl localhost src 127.0.0.1/255.255.255.255acl Safe_ports port 80 9998 8080 # httpacl Safe_ports port 20 21 # ftpacl Safe_ports port 443 563 8443 # https, snewsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl Safe_ports port 4650 # custom portacl Safe_ports port 25 110 # pop3 portacl Safe_ports port 201 # Unknown Portacl CONNECT method CONNECTacl intrallow url_regex "/etc/squid/intrallow"visible_hostname proxy2http_access allow intrallowhttpd_accel_host virtualhttpd_accel_port 80httpd_accel_with_proxy onhttpd_accel_uses_host_header onicp_access allow allhttpd_accel_host virtualhttpd_accel_port 80httpd_accel_with_proxy onmemory_pools off~
For example if i click in http://icicibank.com , the first page comes up, when i click on Personal login ( Which takes to secure site) it says "Access denied, The acl is restricting you to view these sites.
(Note: The website has no problem as it is working from my Notebook, connect thru DSL directly)
d-it-lx
Squid only support CONNECT method fot HTTPS sites:
whether the " use proxy server for all protocol" selected.
Yes , Use the proxy server for all protocols
The problem is that when you click on "Login" on the bank site, it redirects you to: https://infinity.icicibank.co.in
The same has been already added.
Hi ,
As said i had added the httpaccess to the ports. Now it is working fine. But when browsing the proxy from the clint it is damn slow.
My Internet link is 2 Mbps. It is opening very slow as if browsing thru 56 k modem.
acl intrallow url_regex "/etc/squid/intrallow"
I have added the sites on "intrallow" file eg: http://expert-exchange.com, http://icicibank.com".
For example if i click in http://icicibank.com , the first page comes up, when i click on Personal login ( Which takes to secure site) it says "Access denied, The acl is restricting you to view these sites.
(Note: The website has no problem as it is working from my Notebook, connect thru DSL directly)