mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
When making a server certificate in the wizard, make sure we specify it must be a server certificate.
This commit is contained in:
parent
7c6856f8cd
commit
fe4780a238
@ -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();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user