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

Contents of /rpms/phpki/contribs10/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)
Tue Nov 24 14:35:55 2020 UTC (4 years ago) by brianr
Branch: MAIN
CVS Tags: phpki-0_82-24_el7_sme, HEAD
Error occurred while calculating annotation data.
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