Parsing Certbot Output

You have the cert.pem files:
See if you can work with::
openssl x509 -in cert.pem -noout -dates | grep After
openssl x509 -in cert.pem -noout -text | grep DNS:

Outputs:
notAfter=Mar 14 18:46:26 2019 GMT

DNS:cert.int-x1.letsencrypt.org, DNS:cert.int-x2.letsencrypt.org, DNS:cert.int-x3.letsencrypt.org, DNS:cert.int-x4.letsencrypt.org, DNS:cert.root-x1.letsencrypt.org, DNS:cert.staging-x1.letsencrypt.org, DNS:cert.stg-int-x1.letsencrypt.org, DNS:cert.stg-root-x1.letsencrypt.org, DNS:cp.letsencrypt.org, DNS:cp.root-x1.letsencrypt.org, DNS:cps.letsencrypt.org, DNS:cps.root-x1.letsencrypt.org, DNS:crl.root-x1.letsencrypt.org, DNS:letsencrypt.org, DNS:origin.letsencrypt.org, DNS:origin2.letsencrypt.org, DNS:status.letsencrypt.org, DNS:www.letsencrypt.org