TLS certificate and HSTS configuration checker

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.

Certificate, redirect, and protocol checks

ConditionRule IDSeverity impact
Target runs only over plain HTTPTLS-NO-HTTPSFails HTTPS enforcement and skips HSTS guarantees.
Untrusted or mismatched SAN certificateTLS-CERT-UNTRUSTED, TLS-HANDSHAKE-ERRFlags broken intermediate chains and hostname mismatches.
Expired or nearly expired certificateTLS-CERT-EXPIRED, TLS-CERT-EXPIRING-SOON, TLS-CERT-EXPIRING-30DAlerts 30 days and 14 days before certificate expiration.
Deprecated TLS 1.0 or TLS 1.1 enabledTLS-LEGACY-PROTOCOLConfirms whether an active handshake succeeds on legacy TLS versions.
HTTP does not redirect to HTTPSTLS-HTTP-NO-REDIRECTChecks port 80 upgrade behavior alongside TLS-HTTP-REDIRECT-OK.

Run TLS and HSTS checks from CI or terminal

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.

Frequently asked questions

Does the TLS checker rely on system OpenSSL libraries?

No. It compiles rustls, tokio-rustls, and webpki-roots directly into the static binary, so results stay identical across macOS, Linux, and Windows.

How long should Strict-Transport-Security max-age be?

OWASP recommends at least 31536000 seconds (one year) with includeSubDomains once all subdomains support HTTPS.

Related guides

DNS CAA, SPF, and DMARC checker

Restrict which certificate authorities can issue certs for your domain using CAA records.

Nginx, Caddy, and Apache fixes

Generate HSTS and HTTPS redirect server blocks.

OWASP security headers checker

Combine TLS verification with full HTTP response header checks.