Skip to content

Instantly share code, notes, and snippets.

@barseghyanartur
Created August 20, 2020 08:49
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 barseghyanartur/46d06d191e1a2bb4d491496a38ddc1fc to your computer and use it in GitHub Desktop.
Save barseghyanartur/46d06d191e1a2bb4d491496a38ddc1fc to your computer and use it in GitHub Desktop.
Check expiry date of SSL certificate

Command:

cat /path/to/certs/my_cert.crt | openssl x509 -noout -enddate

Sample output:

notAfter=Apr  6 14:23:50 2024 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment