Ticket #32012 (closed enhancement: fixed)
squid @2.7.STABLE9: add SSL/TLS support
| Reported by: | scott@… | Owned by: | jmr@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | haspatch | Cc: | scott@… |
| Port: | squid |
Description
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 47,48c47 < 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 defaultsite=my.site.com vhost cache_peer 127.0.0.1 parent 9999 0 no-query originserver ssl login=PASS name=my acl sites_server_1 dstdomain my.site.com 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
comment:1 Changed 19 months ago by ryandesign@…
- Cc scott@… removed
- Keywords haspatch added; OSX Server 10.6 removed
- Owner changed from macports-tickets@… to jmr@…
- Summary changed from squid 2.7.STABLE9 needs one more arg in configure.args to squid 2.7.STABLE9 needs --enable-ssl in configure.args
Note: See
TracTickets for help on using
tickets.

