mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Update easy-rsa to 3.0.6 (#393)
This commit is contained in:
		| @@ -610,13 +610,13 @@ function installOpenVPN () { | ||||
| 	fi | ||||
|  | ||||
| 	# Install the latest version of easy-rsa from source | ||||
| 	local version="3.0.5" | ||||
| 	wget -O ~/EasyRSA-nix-${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-nix-${version}.tgz | ||||
| 	tar xzf ~/EasyRSA-nix-${version}.tgz -C ~/ | ||||
| 	mv ~/EasyRSA-${version}/ /etc/openvpn/ | ||||
| 	mv /etc/openvpn/EasyRSA-${version}/ /etc/openvpn/easy-rsa/ | ||||
| 	local version="3.0.6" | ||||
| 	wget -O ~/EasyRSA-unix-v${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-unix-v${version}.tgz | ||||
| 	tar xzf ~/EasyRSA-unix-v${version}.tgz -C ~/ | ||||
| 	mv ~/EasyRSA-v${version}/ /etc/openvpn/ | ||||
| 	mv /etc/openvpn/EasyRSA-v${version}/ /etc/openvpn/easy-rsa/ | ||||
| 	chown -R root:root /etc/openvpn/easy-rsa/ | ||||
| 	rm -f ~/EasyRSA-nix-${version}.tgz | ||||
| 	rm -f ~/EasyRSA-unix-v${version}.tgz | ||||
|  | ||||
| 	cd /etc/openvpn/easy-rsa/ | ||||
| 	case $CERT_TYPE in | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 randomshell
					randomshell