diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-04-27 23:34:05 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-04-27 23:34:05 +0000 |
commit | 1abaf9be8a6041a8ab02fb9cbc0b8c487ebaa91c (patch) | |
tree | 8f31dc4d30b46936652dd47286fe49d387c2fb97 /usr | |
parent | d5971984daaaf62ddd0c60aaff7193ab710ddc09 (diff) | |
download | pfsense-1abaf9be8a6041a8ab02fb9cbc0b8c487ebaa91c.zip pfsense-1abaf9be8a6041a8ab02fb9cbc0b8c487ebaa91c.tar.gz |
remove server certificate generation from CA cert generation
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_openvpn_certs_create.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/www/vpn_openvpn_certs_create.php b/usr/local/www/vpn_openvpn_certs_create.php index 3133df3..5b005d2 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 Server Certificate...\" \n"); - fwrite($fd, "$easyrsapath/pkitool --batch --server server \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"); @@ -224,8 +222,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]['server.key'] = file_get_contents("$ovpncapath/$caname/server.key"); - $ovpnkeys[$caname]['server.crt'] = file_get_contents("$ovpncapath/$caname/server.crt"); $ovpnkeys[$caname]['dh_params.dh'] = file_get_contents("$ovpncapath/$caname/dh_params.dh"); /* save it */ |