Skip to content

Instantly share code, notes, and snippets.

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 pedrocifuentes/6e993b1125be14a105801e628e75f4f9 to your computer and use it in GitHub Desktop.
Save pedrocifuentes/6e993b1125be14a105801e628e75f4f9 to your computer and use it in GitHub Desktop.
Check SSL cert expiration date
echo | openssl s_client -servername 54.72.84.XXX -connect www.sysled.es:443 2>/dev/null | openssl x509 -noout -dates
### source https://www.shellhacks.com/openssl-check-ssl-certificate-expiration-date/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment