aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2013-03-05 20:08:25 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2013-03-05 20:08:25 +0100
commitc0ef04b32c9556106550e47b2d1e58de67ab4142 (patch)
tree23de1872f7ed8a927d340490fa93f370a36abe5f
parent870ad0c505bc12763b186797cfddf118c0a5422e (diff)
downloadpfsense-packages-c0ef04b32c9556106550e47b2d1e58de67ab4142.tar.gz
pfsense-packages-c0ef04b32c9556106550e47b2d1e58de67ab4142.tar.bz2
pfsense-packages-c0ef04b32c9556106550e47b2d1e58de67ab4142.zip
haproxy-devel, enable ssl selection box.
-rw-r--r--config/haproxy-devel/haproxy_listeners_edit.php9
1 files 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");
<td width="22%" valign="top" class="vncell">Certificate</td>
<td width="78%" class="vtable" colspan="2">
<?
- //$servercerts = get_certificates_server();
- //echo_html_select("ssloffloadcert", $servercerts, $pconfig['ssloffloadcert'], '<b>No Certificates defined.</b> <br/>Create one under <a href="system_certmanager.php">System &gt; Cert Manager</a>.');
+ $servercerts = get_certificates_server();
+ echo_html_select("ssloffloadcert", $servercerts, $pconfig['ssloffloadcert'], '<b>No Certificates defined.</b> <br/>Create one under <a href="system_certmanager.php">System &gt; Cert Manager</a>.');
?>
<br/>
NOTE: choose the cert to use on this frontend.