RE: [squid-users] SSL and Reverse Proxy

From: Brad Taylor <[email protected]>
Date: Thu, 19 Aug 2004 18:19:59 -0400

OK. What cert would I use for the SSL form Squid to the web server? The
same cert? How would this be setup? I can't find any documentation
about how to setup most of the SSL (HTTPS) configuration. I do have The
Definitive Guide, but only a small section about SSL (HTTPS) on page
304.

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Thursday, August 19, 2004 6:12 PM
To: Brad Taylor
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] SSL and Reverse Proxy

On Thu, 19 Aug 2004, Brad Taylor wrote:

> I'm trying to setup Squid as a reverse proxy with SSL. I remember
> seeing a post here that showed the 3 options for SSL reverse proxy but
I
> can't find it now. I would like to test without terminating the SSL
at
> the Squid box.

You can't. To proxy the SSL needs to be terminated.

What you can do if you do not want to terminate the SSL and have it
running all the way back to the web server to tunnel the SSL using a
simple TCP plug or NAT/Port-forwarded.

> Can I have the cert on both the Squid and IIS web server but when I
hit
> the Squid box with https://IP_address_of_squid I get sent to
> https://IP_address_of_IIS_web_server therefore it is not getting
> anything from cache.

This is possible with Squid-3 (or Squid-2.5 with SSL update and a bit of

tinkering).

But please note that in such configuration the SSL is terminated at the
proxy and then a new SSL is opened between the proxy and the web server.

In most configurations this second SSL is not really needed but you have

the choice.

Squid-2.5 (without SSL update) can only terminate SSL connections,
acting
as an SSL server. It can not initiate SSL connections.

Regards
Henrik
Received on Thu Aug 19 2004 - 16:20:00 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT