1#!/bin/sh 2# 3# print the subject 4# 5 6for i in $* 7do 8 n=`openssl x509 -subject -issuer -enddate -noout -in $i` 9 echo "$i" 10 echo "$n" 11 echo "--------" 12done 13