1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-23 21:46:08 +03:00
This commit is contained in:
Nyr 2015-12-14 22:36:40 +01:00
parent e58addc2c5
commit 0df84e4541

View File

@ -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