How to check expiration dates for SSL certs

Installed on a webserver   [ec2-user@aws ~]$ openssl s_client -connect www.jibsheet.net:443 2>/dev/null | openssl x509 -noout -dates notBefore=May 7 14:16:05 2021 GMT notAfter=Aug 5 14:16:05 2021 GMT Cert was generated on May 7th and expires August 5th.   Cert download after generation Lines 10 and 11 have the expiration data [ec2-user@aws]$ openssl x509 -text -noout -in jibsheet.cert Certificate: Data: Version: […]