diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-04-27 20:32:14 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-04-27 20:32:14 +0000 |
commit | 1043d587628bd99f005ebf2f930261222a96ec09 (patch) | |
tree | 567015d0b3d9c123d9c57f2ef6033c1280b4d1cd /usr/local/www/vpn_openvpn_certs_existing.php | |
parent | f3b53785b15616917f8a756fe9622cac60ce860b (diff) | |
download | pfsense-1043d587628bd99f005ebf2f930261222a96ec09.zip pfsense-1043d587628bd99f005ebf2f930261222a96ec09.tar.gz |
remove shared key from here
Diffstat (limited to 'usr/local/www/vpn_openvpn_certs_existing.php')
-rw-r--r-- | usr/local/www/vpn_openvpn_certs_existing.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/usr/local/www/vpn_openvpn_certs_existing.php b/usr/local/www/vpn_openvpn_certs_existing.php index 7f79e9d..e194cf8 100644 --- a/usr/local/www/vpn_openvpn_certs_existing.php +++ b/usr/local/www/vpn_openvpn_certs_existing.php @@ -89,11 +89,6 @@ if ($_POST) { chown("$ovpncapath/$caname/ca.crt", 'nobody'); chgrp("$ovpncapath/$caname/ca.crt", 'nobody'); - $ovpnkeys[$caname]['shared.key'] = $sharedkey; - file_put_contents("$ovpncapath/$caname/shared.key", base64_decode($_POST['shared.key'])); - chown("$ovpncapath/$caname/shared.key", 'nobody'); - chgrp("$ovpncapath/$caname/shared.key", 'nobody'); - $ovpnkeys[$caname]['server.key'] = $serverkey; file_put_contents("$ovpncapath/$caname/server.key", base64_decode($_POST['server.key'])); chown("$ovpncapath/$caname/server.key", 'nobody'); @@ -161,22 +156,6 @@ function onAuthMethodChanged() { <input name="caname" value="<?=$caname?>"> </td> </tr> - <tr> - <td width="35%" class="vncell"><B>AUTH method</td> - <td width="78%" class="vtable"> - <select name="auth_method" onClick=onAuthMethodChanged();> - <option value="shared_key" >Shared Key</option> - <option value="pki" >PKI (Public Key Infrastructure)</option> - </select> - </td> - </tr> - <tr> - <td width="35%" class="vncell"><B>Shared key</td> - <td width="78%" class="vtable"> - <textarea name="shared.key" rows="8" cols="40" ><?=$sharedkey;?></textarea> - <br/><span class="gray">Paste your shared key here.</span> - </td> - </tr> <tr> <td width="35%" class="vncell"><B>CA certificate</td> <td width="78%" class="vtable"> |