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

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store