Posts Openssl view website ssl certificate expiry date
Post
Cancel

Openssl view website ssl certificate expiry date

Watch Explanation on YouTube

how to extract website certificate expiry date using openssl command

Link URL : https://youtu.be/VQ52F2pOHjs

  • using openssl dates flag
1
$ echo | openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -dates
  • using grep
1
echo | openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -text | grep -A 1 "Not After :"
This post is licensed under CC BY 4.0 by the author.