diff --git a/openvpn-install.sh b/openvpn-install.sh index a34e84b..2f8f79a 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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..."