mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-11-16 17:25:12 +00:00
Fix #105
This commit is contained in:
parent
e58addc2c5
commit
0df84e4541
@ -109,6 +109,9 @@ if [[ -e /etc/openvpn/server.conf ]]; then
|
|||||||
cd /etc/openvpn/easy-rsa/
|
cd /etc/openvpn/easy-rsa/
|
||||||
./easyrsa --batch revoke $CLIENT
|
./easyrsa --batch revoke $CLIENT
|
||||||
./easyrsa gen-crl
|
./easyrsa gen-crl
|
||||||
|
rm -rf pki/reqs/client.req
|
||||||
|
rm -rf pki/private/client.key
|
||||||
|
rm -rf pki/issued/client.crt
|
||||||
# And restart
|
# And restart
|
||||||
if pgrep systemd-journal; then
|
if pgrep systemd-journal; then
|
||||||
systemctl restart openvpn@server.service
|
systemctl restart openvpn@server.service
|
||||||
|
Loading…
Reference in New Issue
Block a user