Why it matters
A changed host key is what SSH clients warn about as a possible man-in-the-middle. It is expected after a rebuild or a planned key rotation; otherwise another machine may be answering at this address, or the server's key was replaced by someone who should not have.
How to fix it
Confirm the change with whoever runs the server, out of band. If it was planned, update the known_hosts entries that pin the old key; the next check treats the new key as the known one and the finding resolves. If it was not, investigate the host before anyone logs in to it.
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 is DSA or RSA under 2048 bits
TLS certificatesSeverity: Medium
tls.ssh-host-key-short - 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