Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
testing_tls_ssl_encryption [2018/05/17 15:20] Stephane de Labrusse [Services] |
testing_tls_ssl_encryption [2022/01/06 15:27] (current) Stephane de Labrusse [ssllabs.com] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Testing TLS/SSL encryption: testssl.sh | + | ===== Testing TLS/SSL encryption |
+ | ====Command-line==== | ||
+ | Some commands for QA | ||
+ | |||
+ | xmpp | ||
+ | |||
+ | < | ||
+ | openssl s_client | ||
+ | </ | ||
+ | |||
+ | domain.org is the domain of xmpp | ||
+ | |||
+ | < | ||
+ | nmap --script ssl-enum-ciphers sub.domain.org -p 5223 | ||
+ | </ | ||
+ | |||
+ | httpd | ||
+ | |||
+ | curl -k -v https:// | ||
+ | curl -k -v https:// | ||
+ | curl -k -v https:// | ||
+ | |||
+ | httpd vhost | ||
+ | |||
+ | openssl s_client -servername vm8.dpnet.nethesis.it -connect 192.168.122.8: | ||
+ | |||
+ | httpd-admin | ||
+ | |||
+ | curl -k -v https:// | ||
+ | |||
+ | slapd | ||
+ | |||
+ | LDAPTLS_REQCERT=never ldapsearch -ZZ -s base -H ldap:// | ||
+ | |||
+ | dovecot | ||
+ | |||
+ | curl --ssl -k -v -u first.user: | ||
+ | |||
+ | postfix | ||
+ | |||
+ | curl --ssl -k -v -u first.user: | ||
+ | |||
+ | generate a CSR with server alt names (`-subj`) | ||
+ | |||
+ | openssl req -new -sha256 -key ecc-qa-key.pem -out ecc-qa-csr.csr -subj '/ | ||
+ | |||
+ | Nmap | ||
+ | |||
+ | | ||
+ | |||
+ | The `nmap` command in Fedora 28 has more detailed output than the one in CentOS7. | ||
+ | |||
+ | openssl | ||
+ | |||
+ | < | ||
+ | openssl s_client -showcerts -connect 192.168.56.8: | ||
+ | </ | ||
+ | ====CryptCheck==== | ||
+ | https:// | ||
+ | |||
+ | test ssl/ | ||
+ | |||
+ | ====ssllabs.com==== | ||
+ | |||
+ | https:// | ||
+ | ==== testssl.sh ==== | ||
testssl.sh is a free command line tool which checks a server' | testssl.sh is a free command line tool which checks a server' | ||
Line 5: | Line 70: | ||
Read more at https:// | Read more at https:// | ||
- | ====How to install==== | + | ===How to install=== |
< | < | ||
Line 13: | Line 78: | ||
</ | </ | ||
- | ====Services==== | + | ===Services=== |
Here how to test services, please refer to the man for complete commands | Here how to test services, please refer to the man for complete commands | ||
+ | |||
+ | * openldap | ||
+ | |||
+ | < | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Samba AD | ||
+ | |||
+ | < | ||
+ | | ||
+ | </ | ||
* https | * https | ||
+ | < | ||
./ | ./ | ||
+ | </ | ||
* httpd-admin | * httpd-admin | ||
+ | < | ||
./ | ./ | ||
+ | </ | ||
* smtp | * smtp |