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