Skip to content

Instantly share code, notes, and snippets.

@iamcryptoki
Created March 1, 2021 15:39
Show Gist options
  • Select an option

  • Save iamcryptoki/98a203c414a2bb11506f7cb2f28af51c to your computer and use it in GitHub Desktop.

Select an option

Save iamcryptoki/98a203c414a2bb11506f7cb2f28af51c to your computer and use it in GitHub Desktop.
Get certificate expiration date.
$ echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment