mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 07:40:05 +01:00
Update easy-rsa to 3.0.5 (#301)
This commit is contained in:
parent
70ebe5620d
commit
c14355a34c
@ -586,13 +586,13 @@ function installOpenVPN () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install the latest version of easy-rsa from source
|
# Install the latest version of easy-rsa from source
|
||||||
local version="3.0.4"
|
local version="3.0.5"
|
||||||
wget -O ~/EasyRSA-${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-${version}.tgz
|
wget -O ~/EasyRSA-nix-${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-nix-${version}.tgz
|
||||||
tar xzf ~/EasyRSA-${version}.tgz -C ~/
|
tar xzf ~/EasyRSA-nix-${version}.tgz -C ~/
|
||||||
mv ~/EasyRSA-${version}/ /etc/openvpn/
|
mv ~/EasyRSA-${version}/ /etc/openvpn/
|
||||||
mv /etc/openvpn/EasyRSA-${version}/ /etc/openvpn/easy-rsa/
|
mv /etc/openvpn/EasyRSA-${version}/ /etc/openvpn/easy-rsa/
|
||||||
chown -R root:root /etc/openvpn/easy-rsa/
|
chown -R root:root /etc/openvpn/easy-rsa/
|
||||||
rm -f ~/EasyRSA-${version}.tgz
|
rm -f ~/EasyRSA-nix-${version}.tgz
|
||||||
|
|
||||||
cd /etc/openvpn/easy-rsa/
|
cd /etc/openvpn/easy-rsa/
|
||||||
case $CERT_TYPE in
|
case $CERT_TYPE in
|
||||||
|
Loading…
Reference in New Issue
Block a user