summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-11-29 15:17:35 -0500
committerjim-p <jimp@pfsense.org>2011-11-29 15:22:35 -0500
commit61e0eb784ee239cb410df750eb0f4f4159796fd7 (patch)
tree152ed3f75db056b574090b9553cbde63a551a89a /usr/local
parentbfa526dc396cd4bfd79b70cc554fd4a2df394e1f (diff)
downloadpfsense-61e0eb784ee239cb410df750eb0f4f4159796fd7.zip
pfsense-61e0eb784ee239cb410df750eb0f4f4159796fd7.tar.gz
When making a server certificate in the wizard, make sure we specify it must be a server certificate.
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/wizards/openvpn_wizard.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc
index 51c7a63..fe06295 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();
OpenPOWER on IntegriCloud