From fe4780a23866b58fa934030b7f102156b806c591 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 29 Nov 2011 15:17:35 -0500 Subject: When making a server certificate in the wizard, make sure we specify it must be a server certificate. --- usr/local/www/wizards/openvpn_wizard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc index 348abbd..076bfc8 100644 --- a/usr/local/www/wizards/openvpn_wizard.inc +++ b/usr/local/www/wizards/openvpn_wizard.inc @@ -502,7 +502,7 @@ function step12_submitphpaction() { 'emailAddress' => $pconfig['step9']['email'], 'commonName' => $pconfig['step9']['certname']); - cert_create($cert, $ca['refid'], $pconfig['step9']['keylength'], $pconfig['step9']['lifetime'], $dn); + cert_create($cert, $ca['refid'], $pconfig['step9']['keylength'], $pconfig['step9']['lifetime'], $dn, 'server'); if (!is_array($config['cert'])) $config['cert'] = array(); -- cgit v1.1