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 -CApath | + | :<tt>openssl s_client -CApath path_to_certificate -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]] |
Latest revision as of 16:12, 15 February 2018
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
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