LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-14-2010, 04:56 AM   #1
nubix
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 asp.net 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 ws2.example.com:8443 (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 ws2.example.com again, but it still showed me the web service number one.

Of course I tried ctrl+F5.

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

I also tried today, removing ws2.example.com 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!
Nubix
 
Old 11-14-2010, 03:31 PM   #2
f14f21_2
LQ Newbie
 
Registered: Oct 2010
Posts: 19

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


Reply


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 05:50 PM
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 08:04 AM
https problem SQUID 2.5 Obig Linux - Server 2 05-30-2008 02:21 AM
Squid problem with https panicbox Linux - Software 1 05-18-2006 03:32 AM
Squid problem with https connections thermoponch Linux - Networking 0 11-03-2004 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:31 AM.

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