/[smecontribs]/rpms/phpki/contribs8/phpki-0.82-openvpn_static_key.patch
ViewVC logotype

Contents of /rpms/phpki/contribs8/phpki-0.82-openvpn_static_key.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri May 24 22:17:29 2013 UTC (10 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: phpki-0_82-17_el5_sme, phpki-0_82-16_el5_sme, HEAD
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/setup.php-presetup mezzanine_patched_phpki/phpki-0.82/setup.php-presetup
2 --- phpki/phpki-0.82/setup.php-presetup 2008-12-08 06:37:14.000000000 +0100
3 +++ mezzanine_patched_phpki/phpki-0.82/setup.php-presetup 2008-12-08 06:36:50.000000000 +0100
4 @@ -604,6 +604,17 @@
5 flush();
6 flush_exec($cmd,100);
7
8 + #
9 + # Create a TLS auth key for OpenVPN.
10 + #
11 +
12 + print '<p><strong>Creating a TLS authentication key used by OpenVPN.<br>';
13 + print "Saving to $store_dir/takey.pem.</strong><br>";
14 + $cmd = "openvpn --genkey --secret '$config[private_dir]/takey.pem'";
15 + print $cmd.'<br>';
16 + flush();
17 + flush_exec($cmd);
18 +
19
20 #print '<p><strong>Creating 2048 bit Diffie-Hellman parameters used by OpenVPN.<br>';
21 #print "Saving to $store_dir/dhparam2048.pem.</strong><br>";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed