Last active
April 25, 2017 11:00
-
-
Save sokil/cbc328d8debad75a2633315d9b233a27 to your computer and use it in GitHub Desktop.
SSL expiration check
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
#!/bin/bash | |
echo | openssl s_client -servername server.com -connect server.com: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