An unchecked key enables a middleman
03An attacker can create two encrypted connections when the client accepts the wrong host key.
A trusted host-key comparison stops the client at the wrong-key boundary.
Key idea: Encryption to an attacker does not authenticate the intended server.
Rules & examples
Encryption to an attacker does not authenticate the intended server.
- Encryption to an attacker does not authenticate the intended server.
- A known host-key mismatch can expose the substitution.
- Verify the server-name-to-key association before relying on authentication.
The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.
Sources
New to this? Start hereA quick picture + helpful background
A seal answers a specific question.
A certificate or signature supports particular checks about a key or message. It does not automatically prove that every claim or sender is trustworthy.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.