TLS 14 Is Coming (Maybe): Post-Quantum Handshakes, Connectionless Sessions, and the Future of Internet Encryption + Video

Listen to this Post

Featured Image

Introduction:

The Transport Layer Security (TLS) protocol is the bedrock of internet privacy, securing everything from web browsing to API calls. While TLS 1.3 has become the modern standardโ€”supported by over 75% of websites and offering significant performance and security improvements over its predecessorsโ€”the cryptographic landscape is already shifting beneath its feet. With the rise of quantum computing threatening to break traditional public-key cryptography, and the need for more resilient, future-proof protocols, the security community is already looking ahead to TLS 1.4.

Learning Objectives:

– Analyze the proposed key features of TLS 1.4, including native post-quantum (PQ) key exchange, connectionless session resumption, and enhanced 0-RTT security.
– Implement and test post-quantum and hybrid key exchange mechanisms in a TLS 1.3 environment to prepare for the transition.
– Configure and verify modern TLS security extensions like Encrypted Client Hello (ECH) to protect against protocol-level fingerprinting and surveillance.

You Should Know:

1. Decoding the TLS 1.4 Proposal: Whatโ€™s on the Drawing Board?

In late 2025, a researcher named Bocai Zhou published an individual Internet-Draft proposing “The Transport Layer Security (TLS) Protocol Version 1.4”. While this was not an official IETF working group proposal and development has since ceased, the draft outlines a compelling vision for the protocol’s next major iteration. The key features proposed in Zhou’s draft offer a glimpse into the future of TLS:

Native Post-Quantum Key Exchange: Unlike TLS 1.3, where post-quantum (PQ) algorithms are “bolted on” via extensions, Zhou’s TLS 1.4 proposed integrating a native PQ key exchange directly into the handshake. This would provide robust protection against “harvest now, decrypt later” attacks from future quantum computers.
Connectionless Session Resumption: This feature aims to decouple the session state from the underlying transport connection (e.g., Wi-Fi, 5G). When a client switches networks, a new TLS handshake wouldn’t be required, dramatically improving the user experience for mobile devices and other roving endpoints.
Improved 0-RTT Security: TLS 1.3’s “Early Data” (0-RTT) feature is efficient but susceptible to replay attacks. The TLS 1.4 proposal suggested a more secure mechanism for 0-RTT, mitigating this attack vector.

Hands-On Lab: Exploring Post-Quantum TLS 1.3 with OpenSSL (3.2+)
While TLS 1.4 isn’t available, we can explore the building blocks of post-quantum TLS today. OpenSSL 3.2 and later include support for the ML-KEM (formerly CRYSTALS-Kyber) key encapsulation mechanism.

Step-by-step guide:

1. Check your OpenSSL version and capabilities (Linux/macOS):

 Check your OpenSSL version
openssl version

 List available key exchange groups (look for ML-KEM variants)
openssl s_client -groups 2>&1 | grep -i "kem\|ml-kem"

Expected output: If your version supports it, you should see lines like `X25519MLKEM768` in the list.

2. Set up a local TLS 1.3 server with a hybrid PQ group: This simulates the kind of upgrade that would be native in a future TLS 1.4. We’ll create a self-signed certificate, then start a server that forces the use of the `X25519MLKEM768` hybrid group.

 Generate a certificate for our test server
openssl req -x509 -1ewkey ec -pkeyopt ec_paramgen_curve:P-256 -1odes -keyout server-key.pem -out server-cert.pem -days 365 -subj "/CN=localhost"

 Start a TLS 1.3 server, explicitly forcing the use of the PQ hybrid group
openssl s_server -accept 4433 -cert server-cert.pem -key server-key.pem -groups X25519MLKEM768 -tls1_3 -www

What this does: This command runs a minimal TLS server. The `-groups X25519MLKEM768` flag forces it to only accept connections that use this specific hybrid (classical+1Q) key exchange.

3. Connect to the server as a client: Open a new terminal and connect to the server, again requesting the hybrid group.

 Connect to the PQ-powered server and show all connection details
openssl s_client -connect localhost:4433 -groups X25519MLKEM768 -tls1_3 -trace 2>&1 | head -100

What you’ll see: The `-trace` flag will show you the raw TLS handshake messages. Look for the `ClientHello` and `ServerHello` exchanges. You will see the negotiated cipher suite and the key share extension, which will be for the `X25519MLKEM768` group. This demonstrates a functioning post-quantum secure connection.

2. The Post-Quantum Alternative: KEMTLS

The TLS 1.4 proposal isn’t the only game in town when it comes to post-quantum TLS. An alternative research direction called KEMTLS (Key Encapsulation Mechanism TLS) offers a fundamentally different approach. Instead of using digital signatures for authentication (as in all versions of TLS), KEMTLS replaces them with Key Encapsulation Mechanisms (KEMs) for both confidentiality and authentication.

Why is this a big deal? Post-quantum digital signatures are typically very large and computationally expensive. KEMs are often much more efficient. By using KEMs for both steps, KEMTLS aims to provide post-quantum security with smaller handshakes and less server CPU overhead compared to a standard post-quantum TLS 1.3 handshake. The trade-off is a more radical change to the protocol, which could slow its adoption compared to more incremental TLS 1.4-like enhancements. KEMTLS remains an active area of research, with experimental implementations available in the Rustls TLS library.

3. Security Deep Dive: Encrypted Client Hello (ECH)

Beyond the headline features of TLS 1.4, foundational improvements are already being standardized. One of the most significant is Encrypted Client Hello (ECH), an extension that is being developed for TLS 1.3 and would be a core part of any future TLS 1.4. ECH fixes a long-standing privacy flaw in TLS: the `ClientHello` message, which contains the Server Name Indication (SNI)โ€”the domain name you’re trying to reachโ€”is sent in plaintext.

Step-by-step guide: Configuring ECH in a Modern Web Server (Caddy)
Caddy is one of the first web servers to offer built-in support for ECH. This guide shows how to enable it, protecting your users’ browsing metadata.

1. Install Caddy: Follow the instructions for your OS from the official website.
2. Create a `Caddyfile`: This is Caddy’s configuration file. Add the `ech` global option to enable the feature.

{
 Enable the Encrypted Client Hello extension globally
ech
}

your-domain.com {
tls {
protocols tls1.3
}
respond "Hello, secure world!"
}

3. Start Caddy:

caddy run

Caddy will automatically obtain a TLS certificate for `your-domain.com`. The ECH extension will be enabled automatically.

4. Test with a compatible client: You need a client that supports ECH. A modern version of Firefox or Chrome (with `chrome://flags/encrypted-client-hello` enabled) or a command-line tool like `curl` built with ECH support can be used.

curl --ech true https://your-domain.com

Verification: On the server side, check the logs. On the client side, use a network sniffer like `tcpdump` or Wireshark. Without ECH, you would see the SNI (your-domain.com) in plaintext in the `ClientHello`. With ECH, that field is encrypted, significantly enhancing user privacy.

4. Post-Quantum Readiness in 2026: What You Can Do Today

While TLS 1.4 is not on any official roadmap, the migration to post-quantum cryptography is already underway. In 2026, we are seeing the first real-world deployments of PQ and hybrid (classical + PQ) key exchange in TLS 1.3. Major cloud providers are introducing support for PQ key exchange in their load balancers. The transition has begun, and it’s “crypto-agility”โ€”the ability to quickly swap cryptographic algorithmsโ€”that will be the key to a smooth transition.

System Administration Guide: Auditing Your Network’s Post-Quantum Readiness

1. Scan for TLS 1.3 Support: Use `nmap` to get an overview of your network’s TLS landscape.

nmap --script ssl-enum-ciphers -p 443 your-target-domain.com

What to look for: In the output, see if `TLSv1.3` is listed. If not, your server is outdated.

2. Test for Post-Quantum Key Exchange Support: Use `testssl.sh`, the industry-standard TLS testing tool.

 First, download testssl.sh
git clone --depth 1 https://github.com/drwetter/testssl.sh.git
cd testssl.sh

 Run a scan focusing on key exchange groups
./testssl.sh --vulnerable --html your-target-domain.com | grep -i "kem\|kyber\|ml-kem\|pqc"

Interpretation: If your server is using a modern, PQ-ready library like OpenSSL 3.2+, you may see a line indicating support for groups like `X25519MLKEM768`. If not, it’s time to plan an upgrade.

5. TLS 1.3 Hardening for the Quantum Era

Until TLS 1.4 arrives, system administrators must harden their existing TLS 1.3 deployments to be as resilient as possible. This means disabling legacy protocols and enforcing the strongest available cipher suites and key exchange mechanisms.

Linux & Windows Hardening Commands:

Linux (Nginx): Edit your site’s configuration file (usually `/etc/nginx/sites-available/default`). Add or modify the `ssl_protocols` and `ssl_ciphers` directives.

 Enforce only TLS 1.3
ssl_protocols TLSv1.3;
 Force the use of the strongest, forward-secret cipher suites only
ssl_ciphers TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256;
 Prioritize the server's cipher order
ssl_prefer_server_ciphers on;

Windows (IIS):

1. Open Internet Information Services (IIS) Manager.

2. Select your server in the Connections pane.

3. Double-click Configuration Editor.

4. Navigate to `system.webServer/security/access`.

5. Set `sslFlags` to `SslNegotiateCert`. This is a simplification; full TLS 1.3-only configuration on IIS often requires registry edits.
6. Open regedit as Administrator and navigate to `HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols`.
7. Under the `TLS 1.3` key, create a `Server` key, and set `Enabled` to `1` and `DisabledByDefault` to `0`.
8. Under `TLS 1.2`, `TLS 1.1`, `TLS 1.0`, and `SSL 2.0/3.0`, set `Enabled` to `0` and `DisabledByDefault` to `1` to disable them.

6. Mitigating 0-RTT Replay Attacks

One of the known weaknesses in TLS 1.3 that the TLS 1.4 proposal aims to fix is the vulnerability of 0-RTT (zero round trip time) data to replay attacks. A malicious actor could capture a client’s 0-RTT encrypted data and replay it to the server, potentially causing duplicate actions (e.g., processing a purchase twice). While application-layer protocols like HTTP/2 and HTTP/3 have their own mitigations, server admins should be aware of the risks.

Step-by-step guide: Disabling or Limiting 0-RTT in Nginx

If your application handles idempotent (non-replayable) requests, you may choose to disable or restrict 0-RTT.

1. Edit your Nginx configuration for the site you want to protect.
2. Add the following directive inside the `server` block:

 Disable 0-RTT data for this server block
ssl_early_data off;

Explanation: Setting `ssl_early_data off;` tells Nginx to not accept 0-RTT data from clients. All sessions will require a full handshake (or a PSK resumption without early data), which is slower but eliminates the replay risk. For high-security applications, this is the recommended setting until a more robust solution is standardized in a future version of TLS.

What Undercode Say:

– Key Takeaway 1: TLS 1.4 is not an imminent standard, but the recent draft proposal reveals the security community’s clear priorities: native post-quantum cryptography, seamless network transitions, and fixing TLS 1.3’s 0-RTT shortcomings.
– Key Takeaway 2: The transition to a post-quantum internet is already happening today with hybrid key exchanges in TLS 1.3. Organizations must begin auditing and planning their crypto-agility now, rather than waiting for TLS 1.4 to be finalized.

+1: The work on TLS 1.4 will catalyze the development and standardization of more efficient, quantum-resistant handshakes, ensuring the long-term confidentiality of internet communications against future cryptanalytic threats. This proactive evolution of foundational protocols will create a more resilient and privacy-preserving web infrastructure.

-1: The fragmented nature of internet standards development means TLS 1.4 is likely years away from widespread adoption. In the interim, security teams will have to manage a complex landscape of multiple TLS versions, each with its own security profile, and the confusing transition to hybrid post-quantum key exchanges on TLS 1.3 will lead to misconfigurations and compatibility issues.

โ–ถ๏ธ Related Video (78% Match):

๐ŸŽฏLetโ€™s Practice For Free:

๐ŸŽ“ Live Courses & Certifications:

[Join Undercode Academy for Verified Certifications](https://undercode.co.uk/certifications/)

๐Ÿš€ Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[[email protected]](mailto:[email protected])
๐Ÿ’Ž Smart Architecture | ๐Ÿ›ก๏ธ Secure by Design | โญ Trusted by Thousands

IT/Security Reporter URL:

Reported By: [Rob Hulsebos](https://www.linkedin.com/posts/rob-hulsebos_tls14-coming-since-2018-we-have-tls13-share-7469392762904322049-7vQW/) – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass โœ…

๐Ÿ”JOIN OUR CYBER WORLD [ CVE News โ€ข HackMonitor โ€ข UndercodeNews ]

[๐Ÿ’ฌ Whatsapp](https://undercode.help/whatsapp) | [๐Ÿ’ฌ Telegram](https://t.me/UndercodeCommunity)

๐Ÿ“ข Follow UndercodeTesting & Stay Tuned:

[๐• formerly Twitter ๐Ÿฆ](https://x.com/undercodeupdate) | [@ Threads](https://www.threads.net/@undercodetesting) | [๐Ÿ”— Linkedin](https://www.linkedin.com/company/undercodetesting/) | [๐Ÿฆ‹BlueSky](https://bsky.app/profile/undercode.bsky.social)