LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Debian squid3 and ssl

[ILUG] Debian squid3 and ssl

Gavin McCullagh gmccullagh at gmail.com
Wed Mar 9 13:51:53 GMT 2011


Hi,

On Wed, 09 Mar 2011, kevin wrote:

> I am using squid as a proxy for a small network, it works fine but when
> someone logs into an https webpage the proxy doesn't work.

This is usually dealt with under the connect method.  Unless something has
changed, when a browser knows it's doing SSL through a proxy, it issues a
message to the proxy like: 
	connect www.linux.ie:443 HTTP/1.0

which causes the proxy to act as a sort of NAT device, forwarding the TCP
session on to the server.  The default squid config usually has lines like
this:

	acl SSL_ports port 443          # https
	acl SSL_ports port 563          # snews
	acl SSL_ports port 8002     
	acl SSL_ports port 873          # rsync
	acl SSL_ports port 2096

	acl CONNECT method CONNECT

	# Deny CONNECT to other than SSL ports
	http_access deny CONNECT !SSL_ports

which in effect allows the connect method, but only on specified ports.
Your normal:
	http_access allow .....

should be sufficient otherwise to allow this.  All bets are off if you're
using transparent proxying however.

What error message are you getting in the browser?

Gavin



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell