Skip to content

Instantly share code, notes, and snippets.

@Lochnair
Last active August 8, 2016 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lochnair/bfdb93a965fdf3b2fc599e6ca4493290 to your computer and use it in GitHub Desktop.
Save Lochnair/bfdb93a965fdf3b2fc599e6ca4493290 to your computer and use it in GitHub Desktop.
Patch to enable SSL in Ubuntu Squid package
diff -r -U2 squid3-3.5.12-orig/debian/rules squid3-3.5.12/debian/rules
--- squid3-3.5.12-orig/debian/rules 2016-08-08 22:30:31.461962394 +0200
+++ squid3-3.5.12/debian/rules 2016-08-08 22:30:57.034275275 +0200
@@ -23,4 +23,6 @@
--enable-inline \
--disable-arch-native \
+ --enable-ssl \
+ --enable-ssl-crtd \
--enable-async-io=8 \
--enable-storeio="ufs,aufs,diskd,rock" \
@@ -47,5 +49,6 @@
--with-filedescriptors=65536 \
--with-large-files \
- --with-default-user=proxy
+ --with-default-user=proxy \
+ --with-openssl
BUILDINFO := $(shell lsb_release -si 2>/dev/null)
diff -r -U2 squid3-3.5.12-orig/src/ssl/gadgets.cc squid3-3.5.12/src/ssl/gadgets.cc
--- squid3-3.5.12-orig/src/ssl/gadgets.cc 2016-08-08 22:30:31.585963908 +0200
+++ squid3-3.5.12/src/ssl/gadgets.cc 2016-08-08 22:31:15.758505434 +0200
@@ -274,5 +274,5 @@
{
static int extensions[]= {
- NID_key_usage,
+ //NID_key_usage,
NID_ext_key_usage,
NID_basic_constraints,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment