mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Fix client revocation
A client revocation would make crl.pem unreadable and thus blocking any other client to connect. Fixes https://github.com/Angristan/OpenVPN-install/pull/47, https://github.com/Angristan/OpenVPN-install/issues/25 and https://github.com/Angristan/OpenVPN-install/issues/49.
This commit is contained in:
		| @@ -133,6 +133,7 @@ if [[ -e /etc/openvpn/server.conf ]]; then | ||||
| 			rm -rf pki/issued/$CLIENT.crt | ||||
| 			rm -rf /etc/openvpn/crl.pem | ||||
| 			cp /etc/openvpn/easy-rsa/pki/crl.pem /etc/openvpn/crl.pem | ||||
| 			chmod 644 /etc/openvpn/crl.pem | ||||
| 			echo "" | ||||
| 			echo "Certificate for client $CLIENT revoked" | ||||
| 			echo "Exiting..." | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Angristan
					Angristan