Check for valid SSL Cert on an SSL/TLS Email Server

Written by James McDonald

September 12, 2019

Method 1 – openssl

printf 'quit\n' | openssl s_client -connect $SERVERNAME:25 -starttls smtp | openssl x509 -enddate -noout

Method 2 – Google Chrome

Run Google Chrome and bypass the ERR_UNSAFE_PORT error by specifying the --explicitly-allowed-ports=465 option on the command line. The following command is for MacOS

/Applications/Google\\ Chrome --explicitly-allowed-ports=465

Open the link to the SSL port of the email server. i.e And you get a nice GUI displaying the trust chain and expiry date.



Submit a Comment

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

You May Also Like…

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...

PC Build

I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...