1#!/bin/sh 2 3# list revoked certificates 4 5CRL="${1:-crl.pem}" 6 7if [ "$KEY_DIR" ]; then 8 cd "$KEY_DIR" && \ 9 $OPENSSL crl -text -noout -in "$CRL" 10else 11 echo 'Please source the vars script first (i.e. "source ./vars")' 12 echo 'Make sure you have edited it to reflect your configuration.' 13fi 14