diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/setup.php-presetup mezzanine_patched_phpki/phpki-0.82/setup.php-presetup --- phpki/phpki-0.82/setup.php-presetup 2008-12-08 06:37:14.000000000 +0100 +++ mezzanine_patched_phpki/phpki-0.82/setup.php-presetup 2008-12-08 06:36:50.000000000 +0100 @@ -604,6 +604,17 @@ flush(); flush_exec($cmd,100); + # + # Create a TLS auth key for OpenVPN. + # + + print '

Creating a TLS authentication key used by OpenVPN.
'; + print "Saving to $store_dir/takey.pem.

"; + $cmd = "openvpn --genkey --secret '$config[private_dir]/takey.pem'"; + print $cmd.'
'; + flush(); + flush_exec($cmd); + #print '

Creating 2048 bit Diffie-Hellman parameters used by OpenVPN.
'; #print "Saving to $store_dir/dhparam2048.pem.

";