http_port 3223
include "/etc/squid3/blockedhosts.lst"
http_access allow all
cache_peer 10.106.251.90 parent 3223 0 no-query default
<<<<<
So this will forward packets to SquidServer2 ( 10.106.251.90 ) and then will be forwarded further from there to origin server
Now I want to make ssl connection between SquidServer1 and SquidServer2.
I tried the following line for cache_peer
>>>>
cache_peer 10.106.251.90 parent 3223 0 no-query default ssl sslcert="/tmp/server_90.pem" sslkey="/tmp/privkey_90.pem"
<<<<<
But this doesn't work.
when I try to start quid - it gives the following error
>>>>>>
~ # /usr/sbin/squid3 -N -Y -d 5 -f /tmp/minsquid.conf
2017/01/19 21:04:24| parse_peer: token='ssl'
FATAL: Bungled minsquid.conf line 12: cache_peer 10.106.251.90 parent 3223 0 no-query default ssl sslcert="/tmp/server_90.pem" sslkey="/tmp/privkey_90.pem"
Squid Cache (Version 3.1.19): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 28224 KB
Page faults with physical i/o: 0
<<<<<<
what could be the issue .
-----
In SquidServer2 I think I need to specify https port for the client to access. I have put this line in config file
>>>>>
https_port 3224 cert=self_s_cert.pem key=key.pem
<<<<<
There while executing squid, getting the following error
>>>>
~ # /usr/sbin/squid3 -N -Y -d 5 -f /tmp/minsquid.conf
2017/01/19 15:37:40| cache_cf.cc(381) parseOneConfigFile: minsquid.conf:4 unrecognized: 'https_port'
<<<<
Thanks
~S
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users