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