Skip to content

Instantly share code, notes, and snippets.

@gionn
Created August 30, 2021 07:32
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 gionn/cb1a60e15b8cbfeeeec4dc5aafddc75b to your computer and use it in GitHub Desktop.
Save gionn/cb1a60e15b8cbfeeeec4dc5aafddc75b to your computer and use it in GitHub Desktop.
Check the expiration date of an SSL certificate exposed by a local webserver (nginx, SNI, letsencrypt)
openssl s_client -connect localhost:443 -servername server.domain.tld | openssl x509 -noout -dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment