mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 03:40:17 +00:00
Fix revoke, Fixes Issue #164
This commit is contained in:
parent
9b937d0e6b
commit
43a8a706e2
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ if [ "${REVOKE_STATUS}" == 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./easyrsa --batch revoke "${NAME}"
|
./easyrsa --batch revoke "${NAME}"
|
||||||
|
./easyrsa gen-crl
|
||||||
printf "\n::: Certificate revoked, and CRL file updated.\n"
|
printf "\n::: Certificate revoked, and CRL file updated.\n"
|
||||||
printf "::: Removing certs and client configuration for this profile.\n"
|
printf "::: Removing certs and client configuration for this profile.\n"
|
||||||
rm -rf "pki/reqs/${NAME}.req"
|
rm -rf "pki/reqs/${NAME}.req"
|
||||||
|
|
Loading…
Reference in a new issue