summaryrefslogtreecommitdiffstats
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:17:35 -0500
commitfe4780a23866b58fa934030b7f102156b806c591 (patch)
treee870daac1cf2e97eb140529db57e123be7130848
parent7c6856f8cde4bf778e249f5e0841411cac7b0a3e (diff)
downloadpfsense-fe4780a23866b58fa934030b7f102156b806c591.zip
pfsense-fe4780a23866b58fa934030b7f102156b806c591.tar.gz
When making a server certificate in the wizard, make sure we specify it must be a server certificate.
-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 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();
OpenPOWER on IntegriCloud