mirror of
https://github.com/openssl/openssl.git
synced 2024-12-02 06:23:45 +08:00
13 lines
152 B
Bash
13 lines
152 B
Bash
#!/bin/sh
|
|
#
|
|
# print the subject
|
|
#
|
|
|
|
for i in $*
|
|
do
|
|
n=`openssl x509 -subject -issuer -enddate -noout -in $i`
|
|
echo "$i"
|
|
echo "$n"
|
|
echo "--------"
|
|
done
|