aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xeasy-rsa/2.0/revoke-full3
1 files changed, 2 insertions, 1 deletions
diff --git a/easy-rsa/2.0/revoke-full b/easy-rsa/2.0/revoke-full
index bf3e5fb..efc94e8 100755
--- a/easy-rsa/2.0/revoke-full
+++ b/easy-rsa/2.0/revoke-full
@@ -7,7 +7,7 @@ CRL="crl.pem"
RT="revoke-test.pem"
if [ $# -ne 1 ]; then
- echo "usage: revoke-full <common-name>";
+ echo "usage: revoke-full <cert-name-base>";
exit 1
fi
@@ -18,6 +18,7 @@ if [ "$KEY_DIR" ]; then
# set defaults
export KEY_CN=""
export KEY_OU=""
+ export KEY_NAME=""
# revoke key and generate a new CRL
$OPENSSL ca -revoke "$1.crt" -config "$KEY_CONFIG"