LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid 2.6 not accessing https sites (https://www.linuxquestions.org/questions/linux-newbie-8/squid-2-6-not-accessing-https-sites-625321/)

unixashoke 03-03-2008 03:59 AM

Squid 2.6 not accessing https sites
 
Hi all,

I am working in RHEL5. I have installed squid by default rpm. It is squid 2.6. I want to use Transpaerent Proxy. I have enabled it by using
http_port 3128 transparent and made two ACL like acl mynet src 192.168.1.0/255.255.255.0 and acl wan src 61.66.9.15. And below "INSERT YOUR OWN RULES" I have written http_access allow mynet and http_access allow wan. Where mynet is my LAN Network and wan is my broadband IP. Then I have given squid -z to make cache. After all this these things I have started squid. But, though I can access http sites from my lan, but can not access https sites like mail.yahoo.com, gmail.com, etc. Selinux is disabled and Iptables has been flushed. Please help me to solve the problem. I am feeling very much helpless.

homey 03-03-2008 05:05 AM

Are you letting it through?

acl SSL_ports port 443
http_access allow CONNECT SSL_ports

Don't forget to restart squid after making changes or if using webmin, you can quite often just hit Apply Changes.


Also, just as a matter of readability, I get rid of the tons and tons of commented lines in the squid.conf
Code:

# Trim down the squid.conf
sed -i.bak '/^$/d; /^#/d' /etc/squid/squid.conf


Squidman 04-04-2008 07:52 AM

HTTPS problem
 
Hi There

I have the same problem, installed Squid2.6 on RH enterprize5 with Squidguard 1.2.1
On my other servers I have Squid2.5, they do not have the same problem.

Did you manage to sort out this problem yet?
Seems like you need to enable SSH , but I can't find anything to assist me.

Please advise
Mark


All times are GMT -5. The time now is 09:23 PM.