What Happens During a TLS Handshake?
Two machines that have never spoken before need to agree on a secret. They're communicating over a network where anyone can read every packet. And they need to pull this off in a few milliseconds, before you notice the page loading slowly. That's the TLS handshake. Every HTTPS connection starts with one. It's the reason your connections have a latency floor, and it's where most TLS…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.