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

Contents of /rpms/phpki/contribs7/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)
Mon Mar 2 23:38:37 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: phpki-0_82-13_el4_sme, phpki-0_82-16_el4_sme, phpki-0_82-10_el4_sme, phpki-0_82-11_el4_sme, phpki-0_82-14_el4_sme, phpki-0_82-15_el4_sme, phpki-0_82-9_el4_sme, phpki-0_82-8_el4_sme, phpki-0_82-7_el4_sme, phpki-0_82-12_el4_sme, HEAD
Initial import of phpki

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