Day 20/40
SSL/TLS Explained Simply
Video Link
@piyushsachdeva
Git Repository
My Git Repo
This is prerequisite of the next session which will be about certification in Kubernetes.
In this topic we will learn how ssl and tls work.
There are two types of key encryption:
Symmetric Encryption:
Which both side, client and server, use one key to encrypt and decrypt the traffic between them.
(Photo from the video)
Asymmetric Encryption:
There are two key, public and private, that client encrypt the traffic with public key, and the private key which the server only has it, can decrypt the traffic.
CA is certificate authority to validate if the public key is generated for the right server or domain name, and it can help us to distinguish between the clean connection between client and server and the traffic when man-in-the-middle is behind!
For example:
Website Identity from our browser:
The CA: