Commit 0bba9c63 authored by Franco Fichtner's avatar Franco Fichtner

wizard: fix cert create for openvpn

parent 78e1c1fb
...@@ -534,7 +534,7 @@ function step12_submitphpaction() { ...@@ -534,7 +534,7 @@ function step12_submitphpaction() {
'emailAddress' => $pconfig['step9']['email'], 'emailAddress' => $pconfig['step9']['email'],
'commonName' => $pconfig['step9']['certname']); 'commonName' => $pconfig['step9']['certname']);
cert_create($cert, $ca['refid'], $pconfig['step9']['keylength'], $pconfig['step9']['lifetime'], $dn, 'server', "sha256"); cert_create($cert, $ca['refid'], $pconfig['step9']['keylength'], $pconfig['step9']['lifetime'], $dn, 'sha256', 'server');
if (!is_array($config['cert'])) if (!is_array($config['cert']))
$config['cert'] = array(); $config['cert'] = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment