From 0f5fc9c5edde9036446d923b41444112a3a0c73e Mon Sep 17 00:00:00 2001 From: masterzu Date: Wed, 3 Sep 2025 17:14:30 +0200 Subject: [PATCH] complete openssl_check_cert --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }