From c0ef04b32c9556106550e47b2d1e58de67ab4142 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Tue, 5 Mar 2013 20:08:25 +0100 Subject: haproxy-devel, enable ssl selection box. --- config/haproxy-devel/haproxy_listeners_edit.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/haproxy-devel/haproxy_listeners_edit.php b/config/haproxy-devel/haproxy_listeners_edit.php index 4a802ef2..75004afe 100644 --- a/config/haproxy-devel/haproxy_listeners_edit.php +++ b/config/haproxy-devel/haproxy_listeners_edit.php @@ -48,8 +48,9 @@ function get_certificat_usage($refid) { $usage[] = "OpenVPN Client"; if (is_ipsec_cert($cert['refid'])) $usage[] = "IPsec Tunnel"; - if (is_captiveportal_cert($refid)) - $usage[] = "Captive Portal"; + if (function_exists("is_captiveportal_cert")) + if (is_captiveportal_cert($refid)) + $usage[] = "Captive Portal"; return $usage; } @@ -698,8 +699,8 @@ include("head.inc"); Certificate No Certificates defined.
Create one under System > Cert Manager.'); + $servercerts = get_certificates_server(); + echo_html_select("ssloffloadcert", $servercerts, $pconfig['ssloffloadcert'], 'No Certificates defined.
Create one under System > Cert Manager.'); ?>
NOTE: choose the cert to use on this frontend. -- cgit v1.2.3