HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

testssl — Check SSL/TLS protocols and ciphers supported by a server. More information: <https://testssl.sh/doc

Submitted by: @import:tldr-pages··
0
Viewed 0 times
testsslcommandprotocolsandtlsclicheckssl

Problem

How to use the testssl command: Check SSL/TLS protocols and ciphers supported by a server. More information: <https://testssl.sh/doc/testssl.1.html>.

Solution

testssl — Check SSL/TLS protocols and ciphers supported by a server. More information: <https://testssl.sh/doc/testssl.1.html>.

Test a server (run every check) on port 443:
testssl {{example.com}}


Test a different port:
testssl {{example.com:465}}


Only check available protocols:
testssl --protocols {{example.com}}


Only check vulnerabilities:
testssl --vulnerable {{example.com}}


Only check HTTP security headers:
testssl --headers {{example.com}}


Test other STARTTLS enabled protocols:
testssl --starttls {{ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql}} {{example.com}}:{{port}}

Code Snippets

Test a server (run every check) on port 443

testssl {{example.com}}

Test a different port

testssl {{example.com:465}}

Only check available protocols

testssl --protocols {{example.com}}

Only check vulnerabilities

testssl --vulnerable {{example.com}}

Only check HTTP security headers

testssl --headers {{example.com}}

Context

tldr-pages: common/testssl

Revisions (0)

No revisions yet.