Why it matters
DSA host keys are 1024-bit, and a 1024-bit RSA key is within reach of a well-resourced attacker; whoever recovers the private key can impersonate the server to every client that trusts it.
How to fix it
Generate an Ed25519 host key (ssh-keygen -t ed25519) or RSA of at least 3072 bits, serve it, and remove the weak one (OpenSSH: HostKey in sshd_config).
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.
Weakness classes and references
Related checks
- SSH host key changed since the last check
TLS certificatesSeverity: Medium
tls.ssh-host-key-changed - TLS certificate lifetime is longer than 90 days
TLS certificatesSeverity: Low
tls.tls-certificate-long-lifetime - Server accepts cipher suites without forward secrecy
TLS certificatesSeverity: Low
tls.tls-cipher-no-forward-secrecy - TLS certificate is signed with SHA-1 or MD5
TLS certificatesSeverity: Medium
tls.tls-certificate-weak-signature - TLS certificate has a weak key
TLS certificatesSeverity: High
tls.tls-certificate-weak-key - TLS certificate chain is incomplete or not trusted
TLS certificatesSeverity: Medium
tls.tls-certificate-untrusted
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