From 2cd410b0981981e0edae29267add1d39616e77a7 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 28 Apr 2008 00:15:39 +0000 Subject: remove DH key creation as well --- usr/local/www/vpn_openvpn_certs_create.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/vpn_openvpn_certs_create.php b/usr/local/www/vpn_openvpn_certs_create.php index 5b005d2..6a2cc9a 100644 --- a/usr/local/www/vpn_openvpn_certs_create.php +++ b/usr/local/www/vpn_openvpn_certs_create.php @@ -124,8 +124,6 @@ if ($_POST) { //fwrite($fd, "openvpn --genkey --secret $ovpncapath/$caname/shared.key \n"); fwrite($fd, "echo \"Creating CA...\" \n"); fwrite($fd, "$easyrsapath/pkitool --batch --initca $ovpncapath/$caname/ca.crt \n"); - fwrite($fd, "echo \"Creating DH Parms...\" \n"); - fwrite($fd, "openssl dhparam -out $ovpncapath/$caname/dh_params.dh $cakeysize \n"); fwrite($fd, "echo \"Done!\" \n"); fclose($fd); @@ -222,7 +220,6 @@ if ($_POST) { /* ciphers */ $ovpnkeys[$caname]['ca.key'] = file_get_contents("$ovpncapath/$caname/ca.key"); $ovpnkeys[$caname]['ca.crt'] = file_get_contents("$ovpncapath/$caname/ca.crt"); - $ovpnkeys[$caname]['dh_params.dh'] = file_get_contents("$ovpncapath/$caname/dh_params.dh"); /* save it */ write_config(); -- cgit v1.1