#!/bin/bash # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 USAGE="Usage: $(basename $0) crl_file" usage() { echo -e "$USAGE" >&2; exit 2; } crlFile=$1 if [ -z "$crlFile" ]; then usage fi openssl crl -inform DER -text -noout -in $crlFile