Check SSL Certificate Dates via CLI

Quick command to check the expiry dates on SSL certicate:

openssl s_client -servername api.domain.tld -connect api.domain.tld:443 2>/dev/null | openssl x509 -noout -dates

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>