You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
152 B
13 lines
152 B
14 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
# print the subject
|
||
|
#
|
||
|
|
||
|
for i in $*
|
||
|
do
|
||
|
n=`openssl x509 -subject -issuer -enddate -noout -in $i`
|
||
|
echo "$i"
|
||
|
echo "$n"
|
||
|
echo "--------"
|
||
|
done
|