Difference between revisions of "Query Certificate"
From Roaring Penguin
Line 1: | Line 1: | ||
If you like, you can obtain this information from a UNIX/Linux machine | If you like, you can obtain this information from a UNIX/Linux machine | ||
by running the command: | by running the command: | ||
− | :<tt>openssl s_client -showcerts -starttls smtp -connect example.com:25</tt> | + | :<tt>openssl s_client -CApath /etc/ssl/certs -showcerts -starttls smtp -connect example.com:25</tt> |
Where: example.com is the host name of the server being checked. | 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 | ||
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div> | <div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div> | ||
[[category:All]][[category:Security]] | [[category:All]][[category:Security]] |
Revision as of 16:10, 15 February 2018
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