Files
tldr/pages.zh/common/testssl.md

28 lines
631 B
Markdown

# testssl
> 检查服务器支持的 SSL/TLS 协议和密码套件。
> 更多信息:<https://testssl.sh/>.
- 在 443 端口测试服务器(运行所有检查):
`testssl {{example.com}}`
- 测试其他端口:
`testssl {{example.com:465}}`
- 仅检查可用的协议:
`testssl --protocols {{example.com}}`
- 仅检查漏洞:
`testssl --vulnerable {{example.com}}`
- 仅检查 HTTP 安全头:
`testssl --headers {{example.com}}`
- 测试其他启用 STARTTLS 的协议:
`testssl --starttls {{ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql}} {{example.com}}:{{port}}`