From 58ff485edbe4bb93ebc922d14df24247846132b6 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 3 Dec 2007 09:42:38 +0000 Subject: added ssl tools --- ssltools/easy-rsa/list-crl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ssltools/easy-rsa/list-crl (limited to 'ssltools/easy-rsa/list-crl') diff --git a/ssltools/easy-rsa/list-crl b/ssltools/easy-rsa/list-crl new file mode 100644 index 0000000..b214dbd --- /dev/null +++ b/ssltools/easy-rsa/list-crl @@ -0,0 +1,18 @@ +#!/bin/sh + +# +# list revoked certificates +# +# + +if test $# -ne 1; then + echo "usage: list-crl "; + exit 1 +fi + +if test $KEY_DIR; then + cd $KEY_DIR && \ + openssl crl -text -noout -in $1 +else + echo you must define KEY_DIR +fi -- cgit v1.2.3