diff --git a/.bashrc b/.bashrc index 2b5a54b..79e0e59 100755 --- a/.bashrc +++ b/.bashrc @@ -286,8 +286,8 @@ function openssl_check_csr { # check certificate file function openssl_check_cert { test -f "$1" || { echo "Usage: $(basename "$0") "; return 1; } - faint "# openssl x509 -noout -dates -in $1" - openssl x509 -noout -dates -in "$1" + faint "# openssl x509 -noout -dates -subject -issuer -in $1" + openssl x509 -noout -dates -subject -issuer -in "$1" faint "# openssl x509 -noout -modulus -in $1 | openssl md5" openssl x509 -noout -modulus -in "$1" | openssl md5 }