How HTTPS works and what exactly happened during a TLS handshake?

LORY
3 min readFeb 5, 2023

Explained in 10–15 minutes. save this post before your next interview.

We use it every day — HTTP. we all know that it is a protocol, widely used everywhere. and we also know: Https is a “certificate version” of HTTP, and it is secure.

But what exactly happened to make it secure? Let's get into the details.

#1 TCP Handshake

Https is on top of TCP. same as every TCP connection, 3 steps handshake is happening.

--

--

LORY

A channel which focusing on developer growth and self improvement