Anyone know how open a SMTP conversation with a mail server (over the SSL port, and not 25/110) and view info for the SSL cert is it, using SMTP commands?

  • Would be helpfull to know which platform you are using for the SMTP server?
    – JamesK
    Jul 1, 2010 at 14:34
  • 1
    Platform doesn't matter really in this case. He's asking how to connect remotely to a server and view info on its SSL certs.
    – EEAA
    Jul 1, 2010 at 14:37

2 Answers 2


You're not going to be able to get any useful information only using SMTP commands. You'll need to use something that understands SSL, like OpenSSL's s_client. Something like this should work:

$ openssl s_client -starttls smtp -crlf -connect

If it is an Exchange server, you can also try https://www.testexchangeconnectivity.com/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .