Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > f23e185ebb8b3544ee019fa83d8037e0 > files > 11

openssl-1.0.2m-1.mga6.x86_64.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