Posts

Welcome 👋

Demonstrating Diffie-Hellman Key Exchange with OpenSSL

The Diffie-Hellman key exchange algorithm is widely used in HTTPS to securely establish a shared secret between a client and server, even over an insecure channel. In this post, we’ll use openssl s_client to connect to a real-world HTTPS server and examine how ECDHE (ephemeral elliptic curve Diffie-Hellman) is used.