aboutsummaryrefslogtreecommitdiff
path: root/easy-rsa/2.0
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-11-03 13:11:23 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-11-03 13:11:23 +0000
commit2534aa49c8189cc888e754fff97d4d89541fed54 (patch)
tree5dcd7e01ab71f87f550077a8f81dcbc8ba8e64fa /easy-rsa/2.0
parentFixed some ifconfig-pool issues that precluded (diff)
downloadopenvpn-2534aa49c8189cc888e754fff97d4d89541fed54.tar.xz
Fixed revoke-full to deal with issue arising from addition
of KEY_NAME environmental variable parameter to openssl.cnf git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3472 e7ae566f-a301-0410-adde-c780ea21d3b5
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"