summaryrefslogtreecommitdiffstats
path: root/tools/c_info
blob: 0e1e633b6fb7c2bc8629a8b691c0da1a5aeed16c (plain)
1
2
3
4
5
6
7
8
9
10
11
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