mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
753 B
Plaintext
34 lines
753 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|