Skip to content

Instantly share code, notes, and snippets.

@DerfOh
Created January 13, 2017 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DerfOh/23b1c7bcdff5cecdc8eefa889366bb1b to your computer and use it in GitHub Desktop.
Save DerfOh/23b1c7bcdff5cecdc8eefa889366bb1b to your computer and use it in GitHub Desktop.
How to check the SSL cert expiration date using command

How to check the SSL cert expiration date using command

echo | openssl s_client -connect www.google.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