How a public key exchange (PKE) works
- The client sends a hello request to the server.
- Server response includes its public key.
- Client verifies SSL certificate received from the server.
- Client creates symmetric session key encrypts it with server’s public key.
- Server decrypts session key with its own private key
- The session key is now in place and all communications sent during the session will be encrypted.