Certificates, TLS and email DNS check · TLS certificates

TLS certificate has a weak key

Reads the key of the leaf and every intermediate the server sends: RSA under 2048 bits, an elliptic curve under 256 bits, or DSA.

Why it matters

A short key can be factored or its discrete log computed with resources an attacker can rent, which lets them impersonate the server. Publicly trusted CAs stopped issuing these years ago.

How to fix it

Issue a new certificate with an RSA 2048-bit or larger key, or an ECDSA P-256 key.

What TrustIvan reads

Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action. Also run on the certificates of a connected cluster's kubernetes.io/tls Secrets, when reading them is turned on for the cluster.

Weakness classes and references

Terms: CAA record, Certificate lifetime (47-day certificates), Certificate Transparency (CT) log, SPF, DKIM and DMARC, CWE (Common Weakness Enumeration)

All certificate, TLS and email DNS checks · The whole catalogue · How this works in TrustIvan · Documentation

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.