mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 08:49:03 +01:00
No need to cp vars.example
This commit is contained in:
parent
8757b22c52
commit
f22fbc3cf0
@ -211,9 +211,8 @@ else
|
|||||||
chown -R root:root /etc/openvpn/easy-rsa/
|
chown -R root:root /etc/openvpn/easy-rsa/
|
||||||
rm -rf ~/EasyRSA-3.0.1.tgz
|
rm -rf ~/EasyRSA-3.0.1.tgz
|
||||||
cd /etc/openvpn/easy-rsa/
|
cd /etc/openvpn/easy-rsa/
|
||||||
cp vars.example vars
|
|
||||||
#Use 4096 bits DH instead of 2048 bits
|
#Use 4096 bits DH instead of 2048 bits
|
||||||
echo "set_var EASYRSA_KEY_SIZE 4096" >> vars
|
echo "set_var EASYRSA_KEY_SIZE 4096" > vars
|
||||||
# Create the PKI, set up the CA, the DH params and the server + client certificates
|
# Create the PKI, set up the CA, the DH params and the server + client certificates
|
||||||
./easyrsa init-pki
|
./easyrsa init-pki
|
||||||
./easyrsa --batch build-ca nopass
|
./easyrsa --batch build-ca nopass
|
||||||
|
Loading…
Reference in New Issue
Block a user