[squid-users] Squid 3.3.8 https problem

From: 0bj3ct <hsnvv_at_box.az>
Date: Thu, 19 Dec 2013 23:49:05 -0800 (PST)

Hello!

+ I've got squid source from ubuntu repo. (apt-get source squid3)
+ Then added --enable-ssl and --enable-ssl-crtd in /debian/rules file
+ Then run the command "debuil -us -uc"
+ Installed squid3*.deb squid3-common*.deb squidclient*deb

+ Created Certificate with command:
"openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout myCA.pem
-out myCA.pem"

+ When I run "squid3 -v" I can see "--enable-ssl --enable-ssl-crtd" between
configure options

+ I configured my squid.conf file as follow:
#######################################################################
cl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

http_access allow spring_url all
http_access allow localhost manager
http_access allow allow_mac
http_access allow Safe_ports allow_mac
http_access allow CONNECT SSL_ports allow_mac
http_access allow localhost
http_access deny all

http_port 3129
http_port 3128 intercept
https_port 3127 intercept ssl-bump generate-host-certificates=on
dynamic_cert_mem_cache_size=4MB cert=/usr/local/squid3/ssl_cert/myCA.pem
ssl_bump server-first all
sslcrtd_program /usr/lib/squid3/ssl_crtd -s /usr/lib/squid3/ssl_db -M 4MB
sslcrtd_children 5

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320

coredump_dir /var/spool/squid3

cache_mem 512 MB

cache_dir ufs /var/spool/squid3 100 16 256
#######################################################################

When I start squid in cache.log:
FATAL: The ssl_crtd helpers are crashing too rapidly, need help!

Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.033 seconds = 0.021 user + 0.012 sys
Maximum Resident Size: 87600 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
    total space in arena: 4788 KB
    Ordinary blocks: 4768 KB 8 blks
    Small blocks: 0 KB 1 blks
    Holding blocks: 37916 KB 8 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 19 KB
    Total in use: 42684 KB 891%
    Total free: 19 KB 0%
2013/12/19 21:00:28 kid1| Closing Pinger socket on FD 31
2013/12/19 21:00:28| pinger: Initialising ICMP pinger ...
2013/12/19 21:00:28| pinger: ICMP socket opened.
2013/12/19 21:00:28| pinger: ICMPv6 socket opened
2013/12/19 21:00:28| Pinger exiting.

Does anybody know how to solve it?

Regards,

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-3-8-https-problem-tp4663954.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Dec 20 2013 - 07:49:48 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 22 2013 - 12:00:04 MST