Fix revoke, Fixes Issue #164

This commit is contained in:
Kaladin Light 2016-12-08 09:59:19 -05:00
parent 9b937d0e6b
commit 43a8a706e2

View file

@ -67,6 +67,7 @@ if [ "${REVOKE_STATUS}" == 0 ]; then
fi
./easyrsa --batch revoke "${NAME}"
./easyrsa gen-crl
printf "\n::: Certificate revoked, and CRL file updated.\n"
printf "::: Removing certs and client configuration for this profile.\n"
rm -rf "pki/reqs/${NAME}.req"