diff options
Diffstat (limited to 'openssl/tools/c_info')
-rw-r--r-- | openssl/tools/c_info | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl/tools/c_info b/openssl/tools/c_info new file mode 100644 index 0000000..0e1e633 --- /dev/null +++ b/openssl/tools/c_info @@ -0,0 +1,12 @@ +#!/bin/sh +# +# print the subject +# + +for i in $* +do + n=`openssl x509 -subject -issuer -enddate -noout -in $i` + echo "$i" + echo "$n" + echo "--------" +done |