How to check TLS/SSL expiry using command line (OpenSSL)