The Flow of Certificate Verification and Key Exchange
TLS encrypts communication to protect it. The client and server first agree on a cipher suite, and the server sends its certificate. That certificate is issued and signed by a trusted third party called a CA (certificate authority). Because the client already holds the CA's public key, it can verify the signature and confirm the other side is genuine. A key exchange then derives a shared key, and all further communication is encrypted with it. This whole exchange, before encrypted communication begins, is the TLS handshake.
GOAL
Explain the roles of certificate verification and key exchange in a TLS handshake.
In a TLS handshake, why does the client verify the certificate?