c_info 152 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh
#
# print the subject
#

for i in $*
do
	n=`openssl x509 -subject -issuer -enddate -noout -in $i`
	echo "$i"
	echo "$n"
	echo "--------"
done