openssl/tools/c_info
1998-12-21 10:52:47 +00:00

13 lines
151 B
Bash

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