openssl s_client check date


echo | openssl s_client -connect smtp.office365.com:587 -starttls smtp 2>/dev/null | openssl x509 -noout -dates
notBefore=May 22 07:01:10 2020 GMT
notAfter=Aug 20 07:01:10 2020 GMT

Leave a Reply

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