From 979fcb2e496a79a068bc6039b14be02d26227c79 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 27 Apr 2010 11:00:15 -0400 Subject: Put the .p12 in the right place for the installer bundle. Ticket #529. --- config/openvpn-client-export/openvpn-client-export.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/openvpn-client-export') 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 -- cgit v1.2.3