c_info 152 B

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