diff options
author | jim-p <jimp@pfsense.org> | 2011-02-22 13:59:30 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-02-22 14:29:56 -0500 |
commit | 8364184a866a6fb0f75b3368eb27f0c4fc3b4d7b (patch) | |
tree | f52d123b076cbff6940721cf245adb7f5e62f401 /etc/inc | |
parent | ac631bba8ed37b9a4adc9a5ae714c9965cc7a37c (diff) | |
download | pfsense-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.inc | 3 |
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; } |