What changes inside an HTTPS connection when a bank moves to post-quantum encryption?
Two messages change. The key exchange gains an ML-KEM half now, so traffic recorded today cannot be opened later. The certificate signature moves to ML-DSA later, because a forged signature cannot reach back into a conversation that has already ended.
What happens when Meera uploads a salary slip to her loan file?
At 10:02 on 3 March 2026, Meera opens the bank's website on her phone to add her latest salary slip to her home-loan file. Before one byte of the slip moves, her phone and the bank's server exchange four messages. Those messages decide whether the slip stays secret until 2051.
Part 2 of the post-quantum guide follows that one connection. Send each message in the lab, switch the connection to hybrid, then replay the recording in 2040. By the end you can explain to anyone which part of the web is already quantum-safe, which part is not yet, and why that order is right.
Understand the connection
Four chapters: the messages, what breaks, how to check, what a recording gives up.
What happens when a phone opens a bank website over HTTPS?
The phone and the bank's server exchange four kinds of message in about one round trip: a hello carrying the phone's half of a key, a reply carrying the server's half, the server's certificate and signature, and a 'finished' check. Then the data itself flows, encrypted with AES.
This exchange is the TLS 1.3 handshake. Public-key cryptography does two jobs in it: agreeing a secret key (the two key shares) and proving the server is really the bank (the certificate and signature). Everything after the handshake uses fast symmetric encryption. Press Send next message, then switch the connection type and send again.
The classical connection most bank websites still negotiate: both public-key parts can be broken by a large quantum computer.
-
ClientHellophone → bank
Hello, bank. These are the algorithms I support, and here is my half of a new key.
Breaks Recorded today, solvable later: Shor's algorithm recovers the secret behind this public value.
-
ServerHellobank → phone
Agreed, we will use this method. Here is my half. Both sides now compute the same session key; everything after this is encrypted.
Breaks With both halves on the tape, a quantum computer can rebuild the session key.
-
Certificate + signaturebank → phone
Here is my ID card, signed by a certificate authority, and my own signature on this conversation, proving I am really the bank.
Breaks later Forgeable once a quantum computer exists, but only to fool conversations happening then.
-
Finishedboth ways
Each side proves it computed the same key and that nobody in the middle changed a message.
Holds Symmetric cryptography: a quantum computer barely dents it.
-
Salary slipphone → bank
Meera's salary slip, encrypted with AES-256-GCM under the session key.
Holds AES-256 holds. The slip is only as safe as the session key that locked it.
Handshake size: about 3.5 KB
- At the bank
- Meera's phone sends the hello at 10:02:00; her salary slip starts uploading about a tenth of a second later. She sees a padlock, not the four messages.
- Real world
- August 2026: the IETF published RFC 10024, the standard that defines X25519MLKEM768 and two other hybrid key exchanges for TLS 1.3. Browsers had been using X25519MLKEM768 since late 2024, while the standard was still a draft. Source: RFC 10024
- Do this
- Send all five messages in Today mode, then in Hybrid. Note which two rows change and which do not.
Which parts of an HTTPS connection would a quantum computer break?
A quantum computer breaks the two public-key parts of an HTTPS connection: the key exchange and the certificate signature. They fail on different clocks. A broken key exchange exposes every conversation already recorded; a broken signature only lets an attacker pose as the bank in conversations that happen after the quantum computer exists.
That is why the web changed the key exchange first, from 2024, while certificates are still classical. AES, which encrypts the data itself, stays safe.
- At the bank
- Meera's slip is exposed if the key exchange of her 2026 upload breaks at any time before 2051. The bank's certificate only has to hold until it is replaced, and under 2026 browser rules it is replaced at least every 200 days.
- Real world
- March 2024: Cloudflare's report on the state of the post-quantum internet set out the same order: key agreement first, because of harvest-now-decrypt-later; signatures later, because a forged signature matters only once a quantum computer exists. Source: Cloudflare, 2024
- Do this
- In your inventory, give each connection two dates: how long its data must stay secret (the key-exchange clock) and how long its certificate or signing key lives (the signature clock).
How can you check whether a website uses post-quantum encryption today?
Open the site in Chrome, press F12, open the Security tab and read the key exchange: X25519MLKEM768 means hybrid post-quantum, X25519 alone means classical. Engineers can confirm the same from a terminal with OpenSSL 3.5 or newer.
Every check reads what one device negotiated with one server. A site can be post-quantum for one visitor and classical for another whose browser, operating system or office network box is older.
Connection: secure connection settings
- Protocol
- TLS 1.3
- Key exchange
- X25519MLKEM768 hybrid post-quantum
- Cipher
- AES_256_GCM holds
- Server signature
- RSA-PSS classical, changes later
$ openssl version
OpenSSL 3.5
$ openssl s_client -connect bank.example:443 -groups X25519MLKEM768
CONNECTED
# connected while offering only the hybrid method: supported
- At the bank
- The bank's security team runs the terminal check against net banking, the mobile-app API and every partner endpoint, and records the result next to each entry in its inventory.
- Real world
- September 2025: Apple turned on X25519MLKEM768 by default in iOS 26 and macOS Tahoe 26, and documented nscurl --tls-diagnostics so administrators can test whether their servers negotiate it. Source: Apple Support 122756
- Do this
- Run the checks below on your own login page, mobile API and VPN today, and keep the output as your baseline.
Which three checks show whether a server uses post-quantum key exchange?
Anyone, in a browser
- Open the site in Chrome.
- Press F12 (Mac: Cmd+Option+I) and open the Security tab.
- Under Connection, read the key exchange: X25519MLKEM768 is hybrid, X25519 is classical.
Engineers, any operating system
- Check the version: it must be OpenSSL 3.5 or newer.
- Offer only the hybrid method. If the connection succeeds, the server supports it; a handshake failure means it does not. Press Ctrl+C to exit.
openssl versionopenssl s_client -connect www.google.com:443 -groups X25519MLKEM768 Mac administrators (macOS Tahoe 26 or newer)
- Apple's diagnostic lists each TLS setting the server accepts, including X25519MLKEM768.
nscurl --tls-diagnostics https://www.google.com Replace www.google.com with your own address. No install at all: Cloudflare Radar's URL scanner also reports post-quantum support. Cloudflare Radar URL scanner
What does an attacker who records HTTPS traffic in 2026 get in 2040?
An attacker who records a classical HTTPS connection in 2026 gets everything in it once a quantum computer exists, because the recording holds both key shares. A recording of a hybrid connection stays unreadable, because the session key also depends on the ML-KEM half.
Recording needs no break-in at the bank: a tap on any network the traffic crosses is enough, and storing a year of one bank's traffic is cheap. Go back to the lab and press Replay in 2040 in each mode.
- At the bank
- If the bank turns on hybrid in 2027, every upload made in 2026 may already be on someone's tape. Meera's March 2026 slip is one of them; her 2028 slip is not.
- Real world
- 13 November 2024: the FBI and CISA said state-backed hackers had broken into several US telecommunications companies, the networks that carry other people's traffic. Inside a carrier is exactly where traffic gets recorded. Source: FBI and CISA, 2024
- Do this
- Turn on hybrid key exchange first where long-lived secrets travel: logins, document uploads, partner APIs. Every month earlier is a month of recordings that stay locked.
Migrate it
Three chapters: the one setting that changes, the bigger handshake, and testing without breaking anyone.
How does a bank turn on hybrid key exchange for its website?
A bank turns on hybrid key exchange at the first system that ends the HTTPS connection, usually the CDN or load balancer rather than the application. It moves that system to software or a policy that offers X25519MLKEM768: OpenSSL 3.5 or newer under nginx or Apache, a post-quantum policy on a cloud load balancer, or a CDN that already has it on.
Browsers already send the hybrid key share, so the whole change is on the server side. Clients that do not know ML-KEM keep using X25519 on the same server, so nobody is locked out.
- At the bank
- The bank's net banking runs behind a cloud load balancer, which ends TLS, with nginx behind it. The team changes one listener policy on the load balancer; nginx, the app and the database are untouched for this step. The link from the load balancer to nginx is a second TLS connection, and it goes in the inventory too.
- Real world
- 21 November 2025: AWS added opt-in post-quantum TLS policies to its Application and Network Load Balancers at no extra cost; its connection logs show which connections used the hybrid key exchange. Source: AWS, 2025 · NGINX, PQC support
- Do this
- List, for each public hostname, the system that ends TLS and its software version. That list is your hybrid to-do list.
Which settings turn on hybrid key exchange?
nginx or Apache on Linux
- Check which OpenSSL the server was built with; it must be 3.5 or newer.
- With OpenSSL 3.5 the hybrid group is on by default. To set the order explicitly, add the line below to the server block.
- Test the config, then reload.
nginx -V 2>&1 | grep -o 'OpenSSL [0-9.]*'ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;nginx -t && nginx -s reload AWS load balancer
- Switch the HTTPS listener to a post-quantum policy. AWS recommends this one; a FIPS variant exists.
- Turn on connection logs to count hybrid connections.
ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 Services the bank writes itself
- Go 1.24 or newer: on by default in crypto/tls.
- Java 27 or newer: on by default (JEP 527).
- Anything linked to OpenSSL 3.5 or newer: on by default.
- Older runtimes: upgrade, or put a proxy that ends TLS in front.
Hybrid applies to TLS 1.3 only. A client still on TLS 1.2 gets a classical connection, so retiring TLS 1.2 on long-secret endpoints is part of the job.
How much bigger does an HTTPS handshake get with ML-KEM?
The phone's hello grows by about 1.2 KB, from roughly 300 bytes to roughly 1,500, so it no longer fits in one network packet; the server's reply grows by about 1.1 KB. Computing ML-KEM takes well under a millisecond, so the cost is in bytes, not processing.
Most networks carry at most about 1,500 bytes per packet, so the hybrid hello travels as two packets. Software that assumed the whole hello arrives in the first packet is what failed when browsers switched in 2024.
- At the bank
- For roughly two lakh net-banking logins a day, the extra 2.3 KB per handshake adds about 460 MB of traffic a day, a rounding error on the bank's bandwidth bill. Upload speed for Meera's slip does not change: only the handshake grows.
- Real world
- 8 April 2025: OpenSSL 3.5 shipped ML-KEM and made X25519MLKEM768 its default first key share, so any server or client that upgrades starts sending and accepting the larger hello. Source: OpenSSL 3.5.0
- Do this
- Run the OpenSSL check from inside your VPN tunnels and partner links, where packets are often smaller than 1,500 bytes.
What breaks when a bank turns on hybrid key exchange, and how is it tested safely?
What breaks is rarely the bank's own server. It is software in the middle (old firewalls, intrusion-detection boxes, TLS-inspecting proxies) and old in-house clients that cannot handle a hello split across two packets. A bank finds them by turning hybrid on for a small share of traffic first, watching failed handshakes by client type, and keeping a one-line rollback.
A failure shows up as a connection that never completes, not as an error page, so it hides in averages. Compare the canary's failed-handshake rate with the classical servers', broken down by browser, app version and partner.
- At the bank
- The bank first turns hybrid on for one of four load-balancer listeners, a quarter of logins. A partner's payment client from 2016 fails within an hour; the bank keeps that partner's endpoint classical, puts it on the vendor list with a date, and carries on.
- Real world
- September 2025: Apple's guidance for iOS 26 warned that some legacy servers fail on the larger hello and gave administrators a temporary fallback setting, AllowPQTLSFallback, which it said will be removed in a future release. Source: Apple Support 122756 · tldr.fail
- Do this
- Write the rollback before the rollout: the previous policy name or config line, who may apply it, and the failure rate that triggers it.
Plan the rest
Two chapters: the certificate clock and a five-stage rollout.
When will a bank's HTTPS certificate change to post-quantum, and why not now?
Not yet on the public web. Browsers do not accept post-quantum certificates from public certificate authorities today, because an ML-DSA chain would add about 12 KB to every handshake. Chrome is building Merkle Tree Certificates instead, a compact design it plans to start rolling out with certificate authorities from 2027. A bank can use ML-DSA now only inside its own private systems.
That order is safe: a forged certificate only fools a live connection, so it matters once a quantum computer exists, not before. The web has a few years to make this part small.
- At the bank
- The bank does three things now: automates certificate renewal, because public certificate lifetimes fall to 47 days by 2029; pilots ML-DSA on its internal service-to-service certificates; and asks its hardware security module and certificate-authority vendors for ML-DSA support dates.
- Real world
- 27 February 2026: Chrome said it has no immediate plan to add post-quantum X.509 certificates to the Chrome Root Store, and will build a quantum-resistant root store around Merkle Tree Certificates, with public bootstrapping planned for 2027. Source: Google Security Blog, 2026
- Do this
- Make every certificate renew automatically. A bank that can rotate all its certificates in a day can change their algorithm in a week.
What does a safe rollout plan for hybrid HTTPS look like, step by step?
A safe rollout runs in five stages, each with a check and a way back: list the TLS endpoints, upgrade one staging endpoint, send a small share of live traffic through it, roll out hostname by hostname, then lock it in and monitor.
Click each stage. The bar shows the share of the bank's logins protected by hybrid key exchange at that point; the rest come from old clients that do not offer ML-KEM yet.
1. Inventory Week 1
- Do
- List every public hostname, the system that ends TLS, its software version, and how long the data behind it must stay secret.
- Go if
- Every hostname has an owner and a secrecy date.
- Way back
- Nothing to undo.
2. Staging Week 2
- Do
- Upgrade the staging load balancer or web server to OpenSSL 3.5 or a post-quantum policy. Run the three checks, the bank's own apps and each partner's test client against it.
- Go if
- Every client on the test list connects.
- Way back
- Redeploy the previous image or policy.
3. Canary Week 3
- Do
- Move one listener or one hostname, about a quarter of logins, to hybrid. Watch failed handshakes and handshake time by browser, app version and partner.
- Go if
- Failure rate within 0.1 points of the classical listeners for 7 days.
- Way back
- One command: set the previous policy name.
4. Roll out Weeks 4–6
- Do
- Move hostnames in order of secrecy: document upload and login first, partner APIs next, marketing pages last. Each exception gets an owner and a date.
- Go if
- Hybrid share in the logs rises with each move; no new failure cluster.
- Way back
- Per hostname, the same one command.
5. Lock in Ongoing
- Do
- Alert if the hybrid share drops. Review exceptions monthly. Then repeat for internal links: load balancer to web server, service to service.
- Go if
- Hybrid share stable; exception list shrinking.
- Way back
- Not needed: old clients still get X25519.
- At the bank
- Meera's uploads are protected from week 4, when the document-upload hostname moves first because its files must stay secret the longest.
- Real world
- February 2026: OpenJDK integrated JEP 527 into Java 27, turning on X25519MLKEM768 by default in Java's TLS, as Go has done since version 1.24. In-house services gain hybrid by upgrading their runtime, which shortens the internal stage of the plan. Source: JEP 527 · Inside Java, 2026
- Do this
- Copy the five stages into your change calendar with a named owner each. The canary stage is the one teams skip and regret.
Explain it
One chapter: five sentences and five cards.
How do you explain post-quantum HTTPS to someone in one minute?
Say it in five sentences: every HTTPS connection does two public-key jobs, agreeing a key and proving identity; a future quantum computer breaks both; key agreement matters now, because recordings made today can be opened later, so we add ML-KEM alongside X25519; identity matters later, because a forged certificate only fools live connections; and AES, which encrypts the data itself, stays.
Then test yourself: tap each card to turn it over.
What are the five sentences that explain post-quantum HTTPS?
- Every HTTPS connection does two public-key jobs: it agrees a secret key, and it proves who the server is.
- A large quantum computer would break both, but at different times that matter differently.
- Key agreement matters now: anything recorded today can be decrypted later, so we add ML-KEM alongside X25519. Browsers already do; servers switch where TLS ends.
- Identity matters later: a forged certificate only fools live connections, so certificates move to post-quantum once browsers support it, from about 2027.
- AES, which encrypts the data itself, stays.
Cards turned over: 0 of 5
- At the bank
- The bank's security lead gives this minute to the board, then shows the handshake lab in Hybrid mode and presses Replay in 2040.
- Real world
- October 2026: NIST IR 8547 was finalised: RSA and elliptic-curve algorithms deprecated after 2030 and disallowed after 2035. They are the two dates to quote when you explain it. Source: NIST IR 8547
- Do this
- Explain it to one colleague this week using the five sentences, then send them this page and ask them to press Replay in 2040.
Meera and the bank are fictional; every dated event is real and linked to its source. Key and signature sizes are those of ML-KEM-768 (FIPS 203) and ML-DSA-65 (FIPS 204); message totals are rounded. Product settings are as published in November 2026; check your vendor's current documentation. This guide is not legal advice.