Created
February 28, 2018 08:03
-
-
Save sayak-sarkar/bc7b096a64de0f27a445a700ab21e6ce to your computer and use it in GitHub Desktop.
Fetch certificate expiry details for any https enabled site.
This file contains hidden or 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
echo q | openssl s_client -connect <hostname>:443 2>&1 | openssl x509 -noout -dates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment