8 lines
256 B
Bash
Executable file
8 lines
256 B
Bash
Executable file
#/bin/bash
|
|
|
|
SERVERLIST=("shadow.schotty.com" "schotty.com" "matrix.schotty.com" "mx.andrewschott.com")
|
|
|
|
for i in ${SERVERLIST[*]}; do
|
|
echo | openssl s_client -servername $i -connect $i:443 2>/dev/null | openssl x509 -noout -subject -enddate
|
|
echo
|
|
done
|