2023-04-15 10:05:08 -05:00
|
|
|
#/bin/bash
|
|
|
|
|
2024-07-02 03:51:30 -05:00
|
|
|
SERVERLIST=("shadow.schotty.com" "schotty.com" "matrix.schotty.com" "mx.andrewschott.com")
|
2023-04-15 10:05:08 -05:00
|
|
|
|
|
|
|
for i in ${SERVERLIST[*]}; do
|
|
|
|
echo | openssl s_client -servername $i -connect $i:443 2>/dev/null | openssl x509 -noout -subject -enddate
|
|
|
|
echo
|
|
|
|
done
|