networking:ssl-installation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| networking:ssl-installation [2022/11/07 17:13] – created oscar | networking:ssl-installation [2024/08/14 16:45] (current) – oscar | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Check SSL installation ===== | ===== Check SSL installation ===== | ||
| - | The OpenSSL toolkit helps to check the SSL certificate installation on a server both remotely and locally. In order to check STARTTLS ports, the following command should be run. Replace [port] with the port number and [protocol] with smtp, pop3 or imap value: | + | Test SSL connectivity with s_client commands to check whether the certificate is valid, trusted, and complete. |
| + | The OpenSSL toolkit helps to check the SSL certificate installation on a server both remotely and locally. | ||
| + | In the command line, enter **openssl s_client -connect < | ||
| + | This opens an SSL connection to the specified hostname and port and prints the SSL certificate. | ||
| + | ^Command Options | ||
| + | |-connect | ||
| + | |-showcerts |Prints all certificates in the certificate chain presented by the SSL service. Useful when troubleshooting missing intermediate CA certificate issues. | ||
| + | |||
| + | ==== Port using STARTTLS ==== | ||
| + | In order to check STARTTLS ports, the following command should be run. Replace [port] with the port number and [protocol] with smtp, pop3 or imap value: | ||
| openssl s_client -connect example.com: | openssl s_client -connect example.com: | ||
| openssl s_client -connect 192.168.178.xx: | openssl s_client -connect 192.168.178.xx: | ||
| openssl s_client -connect 192.168.178.xx: | openssl s_client -connect 192.168.178.xx: | ||
| + | | ||
| + | ==== Port not using STARTTLS ==== | ||
| In order to check non-STARTTLS ports, use the following command: | In order to check non-STARTTLS ports, use the following command: | ||
| - | openssl s_client -connect example.com: | ||
| openssl s_client -connect 192.168.178.xx: | openssl s_client -connect 192.168.178.xx: | ||
| + | openssl s_client -connect example.com: | ||
| + | |||
networking/ssl-installation.1667841186.txt.gz · Last modified: by oscar
