mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-23 15:28:55 +00:00
Update to easy-rsa 3.0.1
This commit is contained in:
parent
73da43b872
commit
d55effb08c
@ -202,12 +202,12 @@ else
|
|||||||
rm -rf /etc/openvpn/easy-rsa/
|
rm -rf /etc/openvpn/easy-rsa/
|
||||||
fi
|
fi
|
||||||
# Get easy-rsa
|
# Get easy-rsa
|
||||||
wget --no-check-certificate -O ~/EasyRSA-3.0.0.tgz https://github.com/OpenVPN/easy-rsa/releases/download/3.0.0/EasyRSA-3.0.0.tgz
|
wget --no-check-certificate -O ~/EasyRSA-3.0.1.tgz https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz
|
||||||
tar xzf ~/EasyRSA-3.0.0.tgz -C ~/
|
tar xzf ~/EasyRSA-3.0.1.tgz -C ~/
|
||||||
mv ~/EasyRSA-3.0.0/ /etc/openvpn/
|
mv ~/EasyRSA-3.0.1/ /etc/openvpn/
|
||||||
mv /etc/openvpn/EasyRSA-3.0.0/ /etc/openvpn/easy-rsa/
|
mv /etc/openvpn/EasyRSA-3.0.1/ /etc/openvpn/easy-rsa/
|
||||||
chown -R root:root /etc/openvpn/easy-rsa/
|
chown -R root:root /etc/openvpn/easy-rsa/
|
||||||
rm -rf ~/EasyRSA-3.0.0.tgz
|
rm -rf ~/EasyRSA-3.0.1.tgz
|
||||||
cd /etc/openvpn/easy-rsa/
|
cd /etc/openvpn/easy-rsa/
|
||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user