Skip to content

Instantly share code, notes, and snippets.

@adriaandotcom
Created May 13, 2020 08:45
Show Gist options
  • Save adriaandotcom/403c77525c48f2538bb4b74a0e973482 to your computer and use it in GitHub Desktop.
Save adriaandotcom/403c77525c48f2538bb4b74a0e973482 to your computer and use it in GitHub Desktop.
Check SSL expiry in terminal
openssl s_client -connect simpleanalytics.io:443 -servername simpleanalytics.io </dev/null | openssl x509 -in /dev/stdin -checkend 2592000 -noout -issuer -subject -dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment