From 0df84e45412920e661d74de16222faa1964db18b Mon Sep 17 00:00:00 2001 From: Nyr Date: Mon, 14 Dec 2015 22:36:40 +0100 Subject: [PATCH] Fix #105 --- openvpn-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 2398498..df47d98 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -109,6 +109,9 @@ if [[ -e /etc/openvpn/server.conf ]]; then cd /etc/openvpn/easy-rsa/ ./easyrsa --batch revoke $CLIENT ./easyrsa gen-crl + rm -rf pki/reqs/client.req + rm -rf pki/private/client.key + rm -rf pki/issued/client.crt # And restart if pgrep systemd-journal; then systemctl restart openvpn@server.service