diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-04-13 10:20:43 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-04-13 10:20:43 +0000 |
commit | a8105c67473b78923a2cadae41e01ad3f4934b4e (patch) | |
tree | fb8146d9c3f304e6e3a1873418779b8937ab6fbd /easy-rsa/2.0/revoke-full | |
parent | Temporarily backed out time backtrack handling code (diff) | |
download | openvpn-a8105c67473b78923a2cadae41e01ad3f4934b4e.tar.xz |
Merged PKCS#11 extensions to easy-rsa/2.0 (Alon Bar-Lev).
svn merge -r 995:998 https://svn.openvpn.net/projects/openvpn/contrib/alon/easy-rsa
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1006 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rwxr-xr-x | easy-rsa/2.0/revoke-full | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/easy-rsa/2.0/revoke-full b/easy-rsa/2.0/revoke-full index 9dc9b1e..bf3e5fb 100755 --- a/easy-rsa/2.0/revoke-full +++ b/easy-rsa/2.0/revoke-full @@ -20,11 +20,11 @@ if [ "$KEY_DIR" ]; then export KEY_OU="" # revoke key and generate a new CRL - openssl ca -revoke "$1.crt" -config "$KEY_CONFIG" + $OPENSSL ca -revoke "$1.crt" -config "$KEY_CONFIG" # generate a new CRL -- try to be compatible with # intermediate PKIs - openssl ca -gencrl -out "$CRL" -config "$KEY_CONFIG" + $OPENSSL ca -gencrl -out "$CRL" -config "$KEY_CONFIG" if [ -e export-ca.crt ]; then cat export-ca.crt "$CRL" >"$RT" else @@ -32,7 +32,7 @@ if [ "$KEY_DIR" ]; then fi # verify the revocation - openssl verify -CAfile "$RT" -crl_check "$1.crt" + $OPENSSL verify -CAfile "$RT" -crl_check "$1.crt" else echo 'Please source the vars script first (i.e. "source ./vars")' echo 'Make sure you have edited it to reflect your configuration.' |