When making a server certificate in the wizard, make sure we specify it must be a server certificate.

This commit is contained in:
jim-p 2011-11-29 15:17:35 -05:00
parent 7c6856f8cd
commit fe4780a238

View File

@ -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();