How HTTPS works Part 1 — Building Blocks

https

Introduction

Working of HTTP

Client-Server Model
The output of curl -X GET ‘https://airindia.com' -v
> GET / HTTP/1.1> Host: airindia.com> 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 medium.com

Conclusion

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