aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-04-27 11:00:15 -0400
committerjim-p <jim@pingle.org>2010-04-27 11:00:15 -0400
commit979fcb2e496a79a068bc6039b14be02d26227c79 (patch)
tree0b287ae899815b9e1f2b734fcc617e45ee60ce2a /config
parent88b1deff55bc9bc6daeeb89478eb564c18446b1c (diff)
downloadpfsense-packages-979fcb2e496a79a068bc6039b14be02d26227c79.tar.gz
pfsense-packages-979fcb2e496a79a068bc6039b14be02d26227c79.tar.bz2
pfsense-packages-979fcb2e496a79a068bc6039b14be02d26227c79.zip
Put the .p12 in the right place for the installer bundle. Ticket #529.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
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