diff options
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 62a1989c..eae9f713 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -329,7 +329,7 @@ function openvpn_client_export_installer($srvid, $usrid, $crtid, $useaddr, $uset $keyfile = "{$tempdir}/config/{$prefix}-{$user['name']}.key"; file_put_contents($keyfile, base64_decode($cert['prv'])); // convert to pkcs12 format - $p12file = "{$tempdir}/{$prefix}.p12"; + $p12file = "{$tempdir}/config/{$prefix}.p12"; if ($usetoken) openvpn_client_pem_to_pk12($p12file, $outpass, $crtfile, $keyfile); else |