How HTTPS works Part 1 — Building Blocks



Working of HTTP

Client-Server Model
The output of curl -X GET ‘' -v
> GET / HTTP/1.1> Host:> User-Agent: curl/7.58.0> Accept: */*

Disadvantages of HTTP

Loss of Message Integrity
Sniffing sensitive information
Stealing information on the Internet
Connecting to an HTTP website

HTTPs & its building blocks

Symmetric key encryption
Asymmetric Key encryption
Message Authentication Code
Certificate Authority for


Senior Software Engineer @Microsoft. Writes about Distributed Systems, Programming Languages & Tech Interviews