Built on pure-Rust rustls with webpki-roots, the TLS scanner validates your live certificate chain, tests port 80 redirects, checks HSTS lifetimes, and actively probes whether deprecated TLS 1.0 or 1.1 handshakes are still accepted.
| Condition | Rule ID | Severity impact |
|---|---|---|
| Target runs only over plain HTTP | TLS-NO-HTTPS | Fails HTTPS enforcement and skips HSTS guarantees. |
| Untrusted or mismatched SAN certificate | TLS-CERT-UNTRUSTED, TLS-HANDSHAKE-ERR | Flags broken intermediate chains and hostname mismatches. |
| Expired or nearly expired certificate | TLS-CERT-EXPIRED, TLS-CERT-EXPIRING-SOON, TLS-CERT-EXPIRING-30D | Alerts 30 days and 14 days before certificate expiration. |
| Deprecated TLS 1.0 or TLS 1.1 enabled | TLS-LEGACY-PROTOCOL | Confirms whether an active handshake succeeds on legacy TLS versions. |
| HTTP does not redirect to HTTPS | TLS-HTTP-NO-REDIRECT | Checks port 80 upgrade behavior alongside TLS-HTTP-REDIRECT-OK. |
web-vuln-scanner https://example.com --fail-on high --json tls-check.json
web-vuln-scanner https://example.com --no-legacy-tls --skip-dns
Use --no-legacy-tls if your edge policy treats TLS 1.0/1.1 probes as noisy, or keep the default handshake check enabled to monitor load balancer configuration drift.
No. It compiles rustls, tokio-rustls, and webpki-roots directly into the static binary, so results stay identical across macOS, Linux, and Windows.
OWASP recommends at least 31536000 seconds (one year) with includeSubDomains once all subdomains support HTTPS.
Restrict which certificate authorities can issue certs for your domain using CAA records.
Generate HSTS and HTTPS redirect server blocks.
Combine TLS verification with full HTTP response header checks.