echo | openssl s_client -connect <your server here>:443 2>/dev/null | openssl x509 -noout -dates Taken from letsencrypt community answer:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.