mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 14:07:36 +01:00 
			
		
		
		
	Use Easy-RSA 2.2.2 instead of the master branch with Debian Jessie and Ubuntu Saucy
This was needed for Debian Jessie, but using always the latest Easy-RSA was a bad idea. I will force Easy-RSA 2.2.2 for now and until Jessie becomes stable. Then we can probably just use the distro packages instead of Github, but for now this will work.
This commit is contained in:
		| @@ -129,11 +129,11 @@ else | ||||
| 	cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn | ||||
| 	# easy-rsa isn't available by default for Debian Jessie and newer | ||||
| 	if [ ! -d /etc/openvpn/easy-rsa/2.0/ ]; then | ||||
| 		wget --no-check-certificate -O ~/easy-rsa.tar.gz https://github.com/OpenVPN/easy-rsa/archive/master.tar.gz | ||||
| 		wget --no-check-certificate -O ~/easy-rsa.tar.gz https://github.com/OpenVPN/easy-rsa/archive/2.2.2.tar.gz | ||||
| 		tar xzf ~/easy-rsa.tar.gz -C ~/ | ||||
| 		mkdir -p /etc/openvpn/easy-rsa/2.0/ | ||||
| 		cp ~/easy-rsa-master/easy-rsa/2.0/* /etc/openvpn/easy-rsa/2.0/ | ||||
| 		rm -rf ~/easy-rsa-master | ||||
| 		cp ~/easy-rsa-2.2.2/easy-rsa/2.0/* /etc/openvpn/easy-rsa/2.0/ | ||||
| 		rm -rf ~/easy-rsa-2.2.2 | ||||
| 		rm -rf ~/easy-rsa.tar.gz | ||||
| 	fi | ||||
| 	cd /etc/openvpn/easy-rsa/2.0/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nyr
					Nyr