openssl/tools/c_info

13 lines
152 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# print the subject
#
for i in $*
do
1999-01-02 23:52:11 +08:00
n=`openssl x509 -subject -issuer -enddate -noout -in $i`
echo "$i"
echo "$n"
echo "--------"
done