openssl1.0/tools/c_info
2019-08-09 10:00:55 +02:00

13 lines
152 B
Bash

#!/bin/sh
#
# print the subject
#
for i in $*
do
n=`openssl x509 -subject -issuer -enddate -noout -in $i`
echo "$i"
echo "$n"
echo "--------"
done