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:17:35 -0500 |
commit | fe4780a23866b58fa934030b7f102156b806c591 (patch) | |
tree | e870daac1cf2e97eb140529db57e123be7130848 /usr/local | |
parent | 7c6856f8cde4bf778e249f5e0841411cac7b0a3e (diff) | |
download | pfsense-fe4780a23866b58fa934030b7f102156b806c591.zip pfsense-fe4780a23866b58fa934030b7f102156b806c591.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 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(); |