Query Certificate

From Roaring Penguin
Revision as of 16:12, 15 February 2018 by MCoyne (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you like, you can obtain this information from a UNIX/Linux machine by running the command:

openssl s_client -CApath path_to_certificate -showcerts -starttls smtp -connect example.com:25


  • example.com is the host name of the server being checked.
  • path_to_certificate is the path to where the certificate is stored on the machine being queried, eg. on Debian it's typically /etc/ssl/certs