What Happens in a TLS Handshake?

What Happens in a TLS Handshake?

Medium Programming Interview Networking 31 views
Explanation Complexity

Problem Statement

Walk through a typical TLS handshake at a high level.

Example Solution (Public)

Programming Interview
Client and server agree on protocol/cipher, the server proves its identity using a certificate, they perform key exchange to derive shared session keys, and then switch to encrypted, authenticated traffic using those keys.

Official Solution Code

Client and server agree on protocol/cipher, the server proves its identity using a certificate, they perform key exchange to derive shared session keys, and then switch to encrypted, authenticated traffic using those keys.
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.