diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-11-03 13:11:23 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-11-03 13:11:23 +0000 |
commit | 2534aa49c8189cc888e754fff97d4d89541fed54 (patch) | |
tree | 5dcd7e01ab71f87f550077a8f81dcbc8ba8e64fa /easy-rsa | |
parent | Fixed some ifconfig-pool issues that precluded (diff) | |
download | openvpn-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 'easy-rsa')
-rwxr-xr-x | easy-rsa/2.0/revoke-full | 3 |
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" |