TLS Handshake

It happens in all HTTPS connections.

Certificate phase, chose cipher suite

  1. Client send hello, with supported cipher/version all other information
  2. Server send hello, with certificate, and done hello
  3. Premaster key done

Symetric key exchange using asymetric public key in certificate

  1. Computer installed many CA
  2. Client send we use client key

Now they are talking, with synmetric key

References:

https://www.youtube.com/watch?v=n_d1rCXNrx0

https://www.youtube.com/watch?v=33VYnE7Bzpk