Results 1 to 1 of 1
Hello all,
linux newbie here so please be gentle. I have gotten squid up and configured as a reverse proxy with authorization, and set up my CA using openssl and ...
- 09-20-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 1
openssl + squid unrecognized: 'https_port' error
Hello all,
linux newbie here so please be gentle. I have gotten squid up and configured as a reverse proxy with authorization, and set up my CA using openssl and created a squid certificate signed by the CA.
The problem is when I changed the squid.conf and try to restart squid I am getting a "unrecognized: 'https_port' " error.
I have re-compiled squid with --enable-ssl but my squid -v gives me a list which appears like ssl is STILL not included:
linus:/home/david/squid-2.7.STABLE3# squid -v
Squid Cache: Version 2.7.STABLE6
configure options: '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--sysconfdir=/etc/squid' '--localstatedir=/var/spool/squid' '--datadir=/usr/share/squid' '--enable-async-io' '--with-pthreads' '--enable-storeio=ufs,aufs,coss,diskd,null' '--enable-linux-netfilter' '--enable-arp-acl' '--enable-epoll' '--enable-removal-policies=lru,heap' '--enable-snmp' '--enable-delay-pools' '--enable-htcp' '--enable-cache-digests' '--enable-underscores' '--enable-referer-log' '--enable-useragent-log' '--enable-auth=basic,digest,ntlm,negotiate' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-carp' '--enable-follow-x-forwarded-for' '--with-large-files' '--with-maxfd=65536' 'i386-debian-linux' 'build_alias=i386-debian-linux' 'host_alias=i386-debian-linux' 'target_alias=i386-debian-linux' 'CFLAGS=-Wall -g -O2' 'LDFLAGS=' 'CPPFLAGS='
Here is the relevant squid.config
########### squid.conf ###########
#
## interface, port and proxy type
#http_port 127.0.0.1:2020 transparent
#commented out old config!!
#http_port 127.0.0.1:2020
https_port 443 cert=/etc/squid/certs/cert.pem key= /etc/squid/certs/key.pem
#have also tryed this as
#https_port 192.168.1.4:443 cert=/etc/squid/certs/cert.pem key= /etc/squid/certs/key.pem
## host definitions
acl all src 0.0.0.0/0
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
auth_param basic program /usr/lib/squid/ncsa_auth /.squid
acl foo proxy_auth REQUIRED
http_access allow foo
here is the error text
2009/09/20 12:14:11| parseConfigFile: squid.conf:10 unrecognized: 'https_port'
FATAL: No port defined
Any help would be much appreciated. if you need anything else info wise please let me know.
TIA
dp


Reply With Quote
