Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-14-2010, 05:56 AM   #1
LQ Newbie
Registered: Aug 2009
Location: Hungary
Posts: 9

Rep: Reputation: 0
Squid Cache and HTTPS problem

Hi everybody,

I have a squid acceleration server, that is the frontend to some of my backend web servers. Usually my websites are accessible via HTTP, but sometimes I use HTTPS, which I know squid supports.

I have a Windows server running two SOAP web services - Web service number one is old and running on ipaddress1:8443 (port 8443), and I planed to configure web service number two to work on ipaddress2:8443, on the same Windows web server.

(I'm aware one can run both of the web service sites on the same IP address and port with the help of virtual directories, but I'm don't want to do that, so that's not the issue I want to discuss)

When configuring the address ipaddress2:8443, I pointed it to web service number one in order to see if it works, before pointing it to the web service number two.
Then I tried to access the website through squid, and everything worked as expected - The (web service two external address) seemed to work showing the web service one.
Glad I went to change the web server configuration, for pointing ipaddress2:8443 to web service number two. Then tried to access again, but it still showed me the web service number one.

Of course I tried ctrl+F5.

Squid access log file shows:
TCP_MISS/304 416 GET - DIRECT/ipaddress1
I tried to access for several times since, but I see no corresponding entries in the log file.

I also tried today, removing from 'hostname_aliases' in the squid.conf file, but I still get web service number one, with no new relevant log entries in the access log.

What is this squid behaviour means? Does it mean Squid opened a SSL tunnel, and now not able to close the connection, without violating the secure tunnel? If this is the case, what is the solution to my problem?

Thanks in advance!
Old 11-14-2010, 04:31 PM   #2
LQ Newbie
Registered: Oct 2010
Posts: 19

Rep: Reputation: 1
#vim /etc/squid/squid.conf
find and change "acl SSL_ports port 443" to "acl SSL_ports port 443 8443"
#/sbin/service squid reload


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQuid https problem niraj.kumar Linux - Server 2 06-17-2010 06:50 PM
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 09:04 AM
https problem SQUID 2.5 Obig Linux - Server 2 05-30-2008 03:21 AM
Squid problem with https panicbox Linux - Software 1 05-18-2006 04:32 AM
Squid problem with https connections thermoponch Linux - Networking 0 11-03-2004 05:41 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration