First upload!

This commit is contained in:
Andrew Schott 2023-04-15 10:05:08 -05:00
commit cdc90f83e7
23 changed files with 788 additions and 0 deletions

8
check-ssl-expiry.sh Executable file
View file

@ -0,0 +1,8 @@
#/bin/bash
SERVERLIST=("shadow.schotty.com" "schotty.com" "gitlab.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