Opened 9 years ago

Closed 9 years ago

#32012 closed enhancement (fixed)

squid @2.7.STABLE9: add SSL/TLS support

Reported by: scott@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc: scott@…
Port: squid


In trying to use squid as a reverse SSL proxy, it appears that it needs to be compiled with the --enable-ssl option. I was able to make that change myself to the local Portfile, such that diff reports:

hq:squid root# diff Portfile Portfile.orig 
< configure.args  --enable-ssl \
<                 --with-pthreads \
> configure.args  --with-pthreads \

Once I did this, did a "port uninstall squid" then redid a "port install squid", I was successfully able to call "squid -z" to create the swap files, where previously I would receive an error something like "unknown token: https_port".

Here's (roughly) what I use in squid.conf

  ## Reverse Proxy Configuration.
  https_port 8080 cert=/path/to/cert key=/path/to/key vhost
  cache_peer parent 9999 0 no-query originserver ssl login=PASS name=my
  acl sites_server_1 dstdomain                                                                                                                                          
  cache_peer_access my allow sites_server_1                                                                                                                                          

So, based on that, seems like it should be a part of the configure.args. First time creating a ticket here, please forgive likely ignorance in the ticket process.

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: scott@… removed
Keywords: haspatch added; OSX Server 10.6 removed
Owner: changed from macports-tickets@… to jmr@…
Summary: squid 2.7.STABLE9 needs one more arg in configure.argssquid 2.7.STABLE9 needs --enable-ssl in configure.args

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Summary: squid 2.7.STABLE9 needs --enable-ssl in configure.argssquid @2.7.STABLE9: add SSL/TLS support

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.