Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > 3ea80fb7b051ee3a9583f34d41ecb007 > files > 12

openssl-1.0.0a-1.12mdv2010.2.i586.rpm

#!/bin/sh
#
# print the subject
#

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