Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
testing_tls_ssl_encryption [2018/05/28 19:31] Stephane de Labrusse |
testing_tls_ssl_encryption [2022/01/06 15:27] Stephane de Labrusse [ssllabs.com] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Testing TLS/SSL encryption ===== | ===== 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==== | ====CryptCheck==== | ||
https:// | https:// | ||
Line 5: | Line 61: | ||
test ssl/tls/ssh | test ssl/tls/ssh | ||
+ | ====ssllabs.com==== | ||
+ | |||
+ | https:// | ||
==== testssl.sh ==== | ==== testssl.sh ==== | ||
Line 22: | Line 81: | ||
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 |