Skip to content

Instantly share code, notes, and snippets.

@joshy
Created January 19, 2024 07:19
Show Gist options
  • Save joshy/e2e52cb29dae8cf0afd7c1e042b05c24 to your computer and use it in GitHub Desktop.
Save joshy/e2e52cb29dae8cf0afd7c1e042b05c24 to your computer and use it in GitHub Desktop.
Certificate expiration date
openssl s_client -connect <hostname>:<port> | openssl x509 -noout -dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment