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