How to quickly get the expiration dates of all the SSL certs on a host

Pretty self explanatory

finding out expiration for all of your ssl certificates on a machine

just run this and you're good to go.
eval "$(find /etc/letsencrypt/live -iname 'cert.pem' | sed -E 's/^(.*)$/echo \1 ; openssl x509 -dates -noout < \1/g')" 

© 2021 Web GMA R&D Ltd.