summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-02-22 13:59:30 -0500
committerjim-p <jimp@pfsense.org>2011-02-22 14:29:56 -0500
commit8364184a866a6fb0f75b3368eb27f0c4fc3b4d7b (patch)
treef52d123b076cbff6940721cf245adb7f5e62f401 /etc/inc
parentac631bba8ed37b9a4adc9a5ae714c9965cc7a37c (diff)
downloadpfsense-8364184a866a6fb0f75b3368eb27f0c4fc3b4d7b.zip
pfsense-8364184a866a6fb0f75b3368eb27f0c4fc3b4d7b.tar.gz
Don't consider a cert as in use by the GUI if it's in HTTP mode. Fixes #1171
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/certs.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc
index cc61d9b..8d5604f 100644
--- a/etc/inc/certs.inc
+++ b/etc/inc/certs.inc
@@ -417,7 +417,8 @@ function is_ipsec_cert($certref) {
function is_webgui_cert($certref) {
global $config;
- if ($config['system']['webgui']['ssl-certref'] == $certref)
+ if (($config['system']['webgui']['ssl-certref'] == $certref)
+ && ($config['system']['webgui']['protocol'] != "http"))
return true;
}
OpenPOWER on IntegriCloud