Query Certificate

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

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 /etc/ssl/certs -showcerts -starttls smtp -connect example.com:25

Where: 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