Hacker News new | ask | show | jobs
by cesarb 3012 days ago
That gains nothing, since the attacker can simple connect to the service, replaying your hash, and see which certificate comes back. Take a look at https://tools.ietf.org/html/draft-ietf-tls-sni-encryption-02 which on its section 2 has a long list of requirements a solution should meet; hashing the SNI fails at least the first two (Mitigate Replay Attacks and Avoid Widely Shared Secrets).
1 comments

There's also a limited amount of domains registered, so even if you did something to prevent hash replays you could just try them all and see which matches.