Created
June 25, 2020 18:32
-
-
Save doofusdavid/2c9eb9f73fa097b0ed29ee0fe746ed68 to your computer and use it in GitHub Desktop.
Check SSL Cert Expiration Date (usage sh checkCertExpire.sh domain.colostate.edu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DOMAIN=$1 | |
echo | openssl s_client -servername $DOMAIN -connect $DOMAIN:443 2>/dev/null|openssl x509 -noout -dates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment