diff options
author | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-30 21:34:02 +0200 |
---|---|---|
committer | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-30 21:34:02 +0200 |
commit | f2148bae9112023991f085e790f0361d61e047b1 (patch) | |
tree | 13626b58b1873615bae66973c483557a3753968f /config/squid-reverse/squid.inc | |
parent | bf995ed3b06f77503ebddfdd841e70656e7356d2 (diff) | |
download | pfsense-packages-f2148bae9112023991f085e790f0361d61e047b1.tar.gz pfsense-packages-f2148bae9112023991f085e790f0361d61e047b1.tar.bz2 pfsense-packages-f2148bae9112023991f085e790f0361d61e047b1.zip |
add intermediate CA
Diffstat (limited to 'config/squid-reverse/squid.inc')
-rw-r--r-- | config/squid-reverse/squid.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index 43ce8bcd..044cf10b 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -985,6 +985,11 @@ function squid_resync_reverse() { base64_decode($svr_cert['prv'])); $reverse_key = SQUID_CONFBASE . "/{$settings["reverse_ssl_cert"]}.key"; }}} + + if (!empty($settings['reverse_int_ca'])) { + file_put_contents(SQUID_CONFBASE . "/{$settings["reverse_ssl_cert"]}.crt","\n",FILE_APPEND | LOCK_EX); + file_put_contents(SQUID_CONFBASE . "/{$settings["reverse_ssl_cert"]}.crt",base64_decode($settings['reverse_int_ca']),FILE_APPEND | LOCK_EX); + } $ifaces = ($settings['reverse_interface'] ? $settings['reverse_interface'] : 'wan'); $real_ifaces = array(); |