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
Related checks
- TLS certificate chain is incomplete or not trusted
TLS certificatesSeverity: Medium
tls.tls-certificate-untrusted - TLS certificate is signed with SHA-1 or MD5
TLS certificatesSeverity: Medium
tls.tls-certificate-weak-signature - TLS certificate does not match the host
TLS certificatesSeverity: High
tls.tls-certificate-hostname - TLS certificate expires soon
TLS certificatesSeverity: Low
tls.tls-certificate-expiring - TLS certificate is not yet valid
TLS certificatesSeverity: High
tls.tls-certificate-not-yet-valid - Server accepts cipher suites without forward secrecy
TLS certificatesSeverity: Low
tls.tls-cipher-no-forward-secrecy
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