diff options
author | jim-p <jimp@pfsense.org> | 2011-11-29 15:17:35 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-11-29 15:22:35 -0500 |
commit | 61e0eb784ee239cb410df750eb0f4f4159796fd7 (patch) | |
tree | 152ed3f75db056b574090b9553cbde63a551a89a /usr/local | |
parent | bfa526dc396cd4bfd79b70cc554fd4a2df394e1f (diff) | |
download | pfsense-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.inc | 2 |
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(); |