Skip to content

Instantly share code, notes, and snippets.

@sayak-sarkar
Created February 28, 2018 08:03
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 sayak-sarkar/bc7b096a64de0f27a445a700ab21e6ce to your computer and use it in GitHub Desktop.
Save sayak-sarkar/bc7b096a64de0f27a445a700ab21e6ce to your computer and use it in GitHub Desktop.
Fetch certificate expiry details for any https enabled site.
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