# What Is Post-Quantum Encryption? A Plain Guide for Website Owners (2026)

> Post-quantum encryption explained for website owners: what it protects, what still works, and how to check and turn it on for nginx, OpenLiteSpeed and SSH.

**Post-quantum encryption is encryption built to stay safe even against a future quantum computer.** On a website today it mostly means one change: the secret key your server and each visitor agree on is created with a new algorithm, **ML-KEM**, mixed with today's X25519. You can turn that on now. Your SSL certificate can stay as it is.

The topic jumped up the news this week. The US National Security Agency asked for an "immediate" move and AI-assisted research on lattice cryptography made headlines. If you run a site, a server or client sites, you probably got the question too.

This guide explains it in plain words, without the fear. You will learn what breaks and what doesn't, what the new standards are called, and how to **check and turn on post-quantum key exchange on your own nginx, OpenLiteSpeed or SSH server**. If you are newer to HTTPS, start with **[why SSL is important for websites](/why-ssl-is-important-for-websites/)**.

![Diagram: key exchange is at risk today, signatures are a later risk, AES-256 holds up](/_landing/blog/what-is-post-quantum-encryption-image-1.png)

## TL;DR

Short on time? Here is the whole guide in a few lines:

- **Post-quantum encryption** (also called post-quantum cryptography, PQC, quantum-safe or quantum-resistant encryption) replaces the math a quantum computer could break: RSA and elliptic curves.
- The urgent part is **key exchange**, because of "harvest now, decrypt later": traffic recorded today could be read years from now.
- **AES-256 is fine.** NIST says it will stay safe for a very long time.
- The fix that exists today is the hybrid group **X25519MLKEM768** (ML-KEM, FIPS 203). OpenSSL 3.5+, OpenSSH 10.0+ and Cloudflare already use it.
- **Post-quantum certificates are not ready for public websites.** Let's Encrypt is aiming for early 2027.
- On your server, it comes down to one version number: **Ubuntu 26.04 ships OpenSSL 3.5; Ubuntu 24.04 ships OpenSSL 3.0**, which has no ML-KEM. OpenLiteSpeed brings its own TLS library, so check it directly.
- **On xCloud:** we are rolling out post-quantum HTTPS to Nginx servers on Ubuntu 22.04 and 24.04 now. Nothing to do on your side.
- Check any site with one `openssl s_client` command, shown below.

## The Finding: Your Server's OpenSSL Version Decides It

Most guides stop at "the internet is moving to post-quantum". Here is the part that matters for a server owner: **a website's post-quantum protection is decided by the TLS library on each end of each connection**, not by your certificate or your plugin list.

On Ubuntu, that library is OpenSSL, and the two current long-term releases differ:

| Server | OpenSSL series in the archive | ML-KEM key exchange | What to do |
|---|---|---|---|
| **Ubuntu 26.04 LTS** | 3.5 | In the default group list | Keep nginx on its default curve setting, then check |
| **Ubuntu 24.04 LTS** | 3.0 | Not available to nginx (OpenLiteSpeed brings its own TLS library, see Step 3) | nginx: put a post-quantum CDN in front, or move to a 26.04 server |
| **OpenSSH 10.0 or newer** | n/a | `mlkem768x25519-sha256` is the default | Update both your computer and the server |

The OpenSSL 3.5 notes say "the default TLS keyshares have been changed to offer X25519MLKEM768 and X25519", and the default group list was changed "to include and prefer hybrid PQC KEM groups" ([OpenSSL 3.5 release notes](https://openssl-library.org/news/openssl-3.5-notes/)).

So a server upgrade, not a setting, is usually the real step. Treat this as a starting point rather than a strict rule: run the check below on your own server, because a custom build or a pinned curve list changes the answer.

## What Is Post-Quantum Encryption?

Every HTTPS or SSH connection does three jobs. It **agrees on a shared secret key** (key exchange), it **proves who the server is** (signatures, the part your SSL certificate does), and it **encrypts the data** with that key (usually AES or ChaCha20).

A large enough quantum computer, running Shor's algorithm, could solve the math behind the first two jobs: RSA and elliptic curves like X25519 and P-256. Post-quantum encryption swaps that math for problems no known quantum or classic method solves quickly, mostly **lattice problems** and **hash-based** schemes.

Think of it like a lock. AES is the steel door, and it holds. Key exchange is the way you hand the key to your visitor; that handover is what someone could photograph today and copy later.

A few things worth knowing:

- **"Post-quantum" runs on normal computers.** It is new math, not quantum hardware. Your server needs no special chip.
- **Hybrid is the norm.** Today's deployments combine X25519 with ML-KEM, so an attacker must break both.
- **Both ends must support it.** If the browser or the server does not, the connection falls back to today's key exchange without an error.

## Why Post-Quantum Encryption Is in the News (December 2026)

Two things landed in the same week:

1. **The NSA advisory.** As quoted by cryptographer Filippo Valsorda, the NSA advises owners of national security systems to "immediately accelerate the transition to post-quantum cryptography". His reading is that 256-bit elliptic curves may be weaker than thought, and that ML-KEM and ML-DSA are "what we need to move to ASAP" ([What to Make of the NSA Advisory](https://words.filippo.io/nsa-advisory/), 2 December 2026).
2. **AI-assisted lattice research.** Cloudflare's answer is calm: the research "is purely theoretical, and does not impact the security of deployed cryptosystems", and it shows no "fundamental flaw in ML-KEM or ML-DSA" ([Post-quantum cryptography is still safe](https://blog.cloudflare.com/pq-is-still-safe/), 1 December 2026, updated 3 December).

None of this means a quantum computer exists that breaks the web today. It means the **easy, safe move (hybrid key exchange) should not wait**.

## Harvest Now, Decrypt Later, Explained

This is the reason key exchange comes first. Someone who can record your traffic today (on a shared network, at an ISP, at a compromised router) can store it. They cannot read it now. If a capable quantum computer appears in ten years, they could recover the session keys from the stored handshakes and read everything.

For a brochure site, that risk is small. For logins, customer records, health or legal data, or anything that must stay private for years, it is real. That is why NIST told admins in 2024 to "start integrating them into their systems immediately, because full integration will take time" ([NIST, 13 August 2024](https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards)).

Signatures are different. To fake your certificate, an attacker needs a working quantum computer **at the moment of the attack**. Recording traffic now does not help them later, so certificates can move on a slower schedule.

## What Breaks and What Doesn't

| Piece | Today's algorithms | Quantum risk | Post-quantum replacement | Ready for websites? |
|---|---|---|---|---|
| Key exchange | X25519, ECDHE, RSA | Harvest now, decrypt later | **ML-KEM** (FIPS 203), hybrid X25519MLKEM768 | **Yes** |
| Certificates and signatures | RSA, ECDSA (P-256, P-384) | Live forgery, once a quantum computer exists | **ML-DSA** (FIPS 204), SLH-DSA (FIPS 205) | Not yet for public sites |
| Bulk encryption | AES-128/256, ChaCha20 | Little or no practical effect | None needed | Already fine |
| Password hashes, stored files | bcrypt, Argon2, AES at rest | Not the target of this change | None needed | Already fine |

**Is AES-256 quantum safe?** NIST's own FAQ says "it is quite likely that Grover's algorithm will provide little or no advantage in attacking AES" and that "both AES 192 and AES 256 will still be safe for a very long time" ([NIST PQC FAQ](https://csrc.nist.gov/projects/post-quantum-cryptography/faqs)). You do not need to touch it.

## The New Standards in Plain Words

NIST published the first three post-quantum standards on 13 August 2024:

- **ML-KEM (FIPS 203)**, from the algorithm once called Kyber: "the primary standard for general encryption". This is the key exchange you turn on today.
- **ML-DSA (FIPS 204)**, from Dilithium: "the primary standard for protecting digital signatures". Future certificates and SSH keys will use it.
- **SLH-DSA (FIPS 205)**, a hash-based signature: "a backup method in case ML-DSA proves vulnerable".

On the wire, you will mostly see two names:

- **X25519MLKEM768** in TLS (HTTPS). The hybrid of X25519 and ML-KEM-768.
- **mlkem768x25519-sha256** in SSH. The same idea for OpenSSH.

## What It Means for Your Website

![Diagram: post-quantum key exchange on each connection, from browser to CDN to your server, plus SSH](/_landing/blog/what-is-post-quantum-encryption-image-2.png)

A visit to your site can involve two separate TLS connections, and each one decides on its own:

1. **Visitor to CDN.** If your site is behind Cloudflare, Cloudflare says that "as of October 2022, all websites and APIs served through Cloudflare over TLS 1.3 support post-quantum hybrid key agreement" ([Cloudflare docs](https://developers.cloudflare.com/ssl/post-quantum-cryptography/)). The visitor's browser must support it too.
2. **CDN to your server (the origin).** Cloudflare's automatic key exchange prefers post-quantum when "an origin supports both classical and post-quantum options". If your server runs OpenSSL 3.0, the connection from Cloudflare to your server uses today's key exchange, not post-quantum.
3. **No CDN.** Then your server's OpenSSL handles the visitor directly, so the version table above is the whole answer.

Certificates are the "not yet" part. Let's Encrypt plans post-quantum **Merkle Tree Certificates** using ML-DSA and is "aiming to make MTCs generally available in early February 2027", while saying it has no firm timeline ([Let's Encrypt, 3 December 2026](https://letsencrypt.org/2026/12/03/crypto-algorithms)). Until then, keep your current certificate and your normal renewals. 👉 See **[how to install a Let's Encrypt SSL certificate](/docs/install-lets-encrypt-ssl-certificate/)**.

## How to Check Your Site for Post-Quantum Encryption

You need a computer with **OpenSSL 3.5 or newer** (an Ubuntu 26.04 machine works; check with `openssl version`). Then run:

```bash
openssl s_client -connect example.com:443 -servername example.com -groups X25519MLKEM768 </dev/null 2>&1 | grep -i -E "group|Protocol"
```

- If the output names **X25519MLKEM768** as the negotiated group, the connection is post-quantum.
- If the handshake fails, the server (or the CDN in front of it) does not offer ML-KEM.
- Replace `example.com` with your domain. If your site is behind a CDN, this checks the CDN, not your server.

To check your **origin server directly**, connect to its IP while sending your domain name:

```bash
openssl s_client -connect SERVER_IP:443 -servername example.com -groups X25519MLKEM768 </dev/null 2>&1 | grep -i -E "group|Protocol"
```

On the server itself, two quick checks:

```bash
openssl version                                  # 3.5 or newer is what you want
openssl list -kem-algorithms | grep -i mlkem     # empty output = no ML-KEM
nginx -V 2>&1 | grep -i openssl                  # which OpenSSL nginx was built with
```

For **SSH**, run `ssh -V` on both your computer and the server, and `ssh -Q kex | grep mlkem`. If `mlkem768x25519-sha256` is listed on both sides, OpenSSH 10.0+ picks it by default. OpenSSH 10.1 and newer warn when a connection is **not** using a post-quantum key exchange ([OpenSSH post-quantum page](https://www.openssh.org/pq.html)).

## How to Turn On Post-Quantum Key Exchange on Your Own Server

### Step 1: Get OpenSSL 3.5 or newer

On Ubuntu this means **Ubuntu 26.04 LTS**. Ubuntu 24.04's archive stays on OpenSSL 3.0, and building your own OpenSSL takes you off the normal security updates. Plan a move to a new 26.04 server instead of an in-place hack.

### Step 2: nginx, leave the curve list on its default

nginx's `ssl_ecdh_curve` directive defaults to `auto`, which "instructs nginx to use a list built into the OpenSSL library" ([nginx docs](https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_ecdh_curve)). With OpenSSL 3.5, that built-in list already prefers X25519MLKEM768. So the usual fix is to **remove** a hard-coded line such as `ssl_ecdh_curve prime256v1;` rather than add one. Then reload nginx and run the check above.

Make sure TLS 1.3 is on (`ssl_protocols TLSv1.2 TLSv1.3;`). Post-quantum key exchange only works on TLS 1.3; TLS 1.2 connections use today's key exchange.

### Step 3: OpenLiteSpeed, check its own TLS library

OpenLiteSpeed ships its own TLS library instead of using the system OpenSSL, so `openssl version` does not tell you what it offers. Run the origin check from the previous section against your own server. If X25519MLKEM768 is not negotiated, the CDN-in-front option below still covers the connection from your visitors to the CDN.

### Step 4: SSH

Update OpenSSH on your computer and the server to 10.0 or newer. Nothing else is needed: `mlkem768x25519-sha256` is the default. If you pinned `KexAlgorithms` in `sshd_config` years ago, remove that line or add the new algorithm to the front.

### Step 5: Avoid the 525 trap with Cloudflare

Cloudflare has a stricter "Post-quantum hybrid" setting for origin connections. Its docs warn it can cause a **525 error** when the origin does not support post-quantum, and recommend the default automatic setting for compatibility ([Cloudflare origin PQC docs](https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-to-origin/)). Leave it on automatic unless every origin is on OpenSSL 3.5+. 👉 If you already see one, read **[Cloudflare Enterprise errors 525, 526 and 1014](/docs/cloudflare-enterprise-errors-525-526-1014-and-the-www-hostname/)**.

## Honest Limits: What Post-Quantum Key Exchange Does Not Do

- **It does not protect stored data.** Databases, backups and files on disk are a separate topic.
- **It does not replace your certificate.** Signatures stay RSA or ECDSA until post-quantum certificates ship.
- **It does not fix a hacked site.** Outdated plugins, weak passwords and open ports are still the attacks you will actually see. Start with our **[web hosting security best practices](/web-hosting-security-best-practices/)**.
- **It needs both ends.** An old browser, an old SSH client or an old monitoring tool quietly falls back to today's key exchange.
- **How to undo it:** on nginx, put your previous `ssl_ecdh_curve` line back and reload. On SSH, restore your old `KexAlgorithms` line. Nothing about the change touches your data.

## Post-Quantum Checklist for Agencies

Copy this into your client notes:

| Check | How | Good result |
|---|---|---|
| Server OpenSSL version | `openssl version` | 3.5 or newer |
| Live site key exchange | `openssl s_client … -groups X25519MLKEM768` | X25519MLKEM768 negotiated |
| Origin behind a CDN | Same check against the server IP | Negotiated, or CDN set to automatic |
| TLS 1.3 enabled | `ssl_protocols` in nginx | `TLSv1.2 TLSv1.3` |
| No pinned old curves | `grep -r ssl_ecdh_curve /etc/nginx` | No line, or one that includes X25519MLKEM768 |
| SSH key exchange | `ssh -Q kex \| grep mlkem` on both ends | `mlkem768x25519-sha256` |
| Certificates | Normal renewals | No action until post-quantum certificates ship |

For the rest of a server hardening pass, our **[VPS security guide](/maximize-your-vps-security/)** and the recent **[Linux kernel TCP vulnerability walkthrough](/cve-2026-98432-linux-kernel-tcp/)** use the same check-then-fix pattern.

## Where xCloud Fits: We Are Turning It On for You

**We are rolling out post-quantum HTTPS to xCloud Nginx servers now (December 2026).** You don't need to do anything, change any setting or replace your SSL certificate.

Here is what changes and where:

| Server | Post-quantum HTTPS (X25519MLKEM768) | What you do |
|---|---|---|
| **Nginx on Ubuntu 22.04 or 24.04 (x86)** | Being turned on now, in batches. We rebuild your server's Nginx with OpenSSL 3.5, because Ubuntu's own OpenSSL 3.0 has no ML-KEM | Nothing |
| **Nginx on Ubuntu 26.04** | Already on: Ubuntu 26.04 ships OpenSSL 3.5 | Nothing |
| **Nginx on ARM servers** | Not in this rollout yet | Put Cloudflare in front, or check back |
| **OpenLiteSpeed** | Uses its own TLS library, not part of this rollout | Run the check above against your server |

How the switch works on each server:

- **No downtime.** Nginx swaps to the new build the same way it does for a normal upgrade, without dropping connections.
- **Checked before and after.** The new build must pass a config test and a post-quantum handshake on the server itself. If anything fails, the server goes straight back to its previous Nginx.
- **Old visitors still connect.** Browsers that don't support post-quantum key exchange keep using today's X25519. TLS 1.2, HTTP/2 and HTTP/3 keep working.
- **Your certificate stays.** Let's Encrypt and custom certificates are untouched.

To see where your server is, run the `openssl s_client` check above against your server IP, or `nginx -V 2>&1 | grep -i openssl` in the **[web terminal](/docs/access-web-terminal-in-xcloud/)**. "OpenSSL 3.5" means it is done. For SSH, `ssh -Q kex | grep mlkem` shows what your server's OpenSSH offers. **[SSH keys](/docs/how-to-generate-and-add-ssh-keys-in-xcloud/)** cover access from your own terminal.

Want it on a site right away, or run a server outside the rollout? The **[Cloudflare Enterprise addon](/docs/how-to-activate-the-cloudflare-enterprise-addon/)** serves your site from Cloudflare's network, where the connection from your visitors to Cloudflare is post-quantum today. New servers can also run Ubuntu 26.04 (Beta, next to the default 24.04). 👉 **[Create a server with your preferred Ubuntu version](/docs/create-server-with-preferred-ubuntu-version/)**.

We record security work on customer servers in our **[zero-day security record](/zero-day-security/)**, and the **[Vulnerability Scan](/docs/vulnerability-checker-in-xcloud/)** finds known vulnerabilities in plugins and themes.

**Want a host that handles changes like this for you? [See xCloud plans](/pricing/).**

## Turn On Post-Quantum Key Exchange This Month, Calmly

Post-quantum encryption is not a panic project. The one piece that matters now, hybrid ML-KEM key exchange, is free, already standard in OpenSSL 3.5 and OpenSSH 10, and invisible to your visitors.

This week, run the `openssl s_client` check on your main sites. If they fail and sit on Ubuntu 24.04 outside xCloud, plan the move to an Ubuntu 26.04 server, or put a CDN in front for the connection from your visitors to the CDN. On xCloud Nginx servers, we are switching it on for you. Leave certificates alone until post-quantum ones are generally available.

If you have found this blog helpful, feel free to [**subscribe to our blogs**](https://xcloud.host/blog/) for valuable tutorials, guides, knowledge, and tips on web hosting and server management. You can also join our [**Facebook community**](https://www.facebook.com/groups/xcloud.community) to share insights and engage in discussions.

## Frequently Asked Questions

### Is post-quantum encryption available now?

Yes, for key exchange. OpenSSL 3.5 and newer offer the hybrid X25519MLKEM768 group by default, OpenSSH 10.0 and newer use mlkem768x25519-sha256 by default, and Cloudflare supports it for all TLS 1.3 traffic it serves. Post-quantum certificates for public websites are not generally available yet.

### Is AES-256 quantum safe?

Yes, as far as anyone knows. NIST says Grover's algorithm will likely give little or no advantage against AES, and that AES-192 and AES-256 will stay safe for a very long time. The part that needs replacing is the key exchange and the signatures, not AES.

### Do I need new SSL certificates for post-quantum encryption?

No, not today. Post-quantum key exchange works with your current RSA or ECDSA certificate. Certificates protect against a live attacker faking your site, which needs a working quantum computer at that moment, so they can move later.

### Does Let's Encrypt support post-quantum certificates?

Not yet. On 3 December 2026 Let's Encrypt said it aims to make Merkle Tree Certificates, which use ML-DSA, generally available in early February 2027, with no firm timeline. It already recommends that servers support hybrid post-quantum key exchange (X25519MLKEM768).

### When will quantum computers break RSA?

Nobody can give a date. No quantum computer today can break RSA or elliptic-curve keys used on the web. The risk is that traffic recorded now could be decrypted once one exists, which is why key exchange is being switched first.

### Is post-quantum encryption slower?

Not in a way most visitors notice. The hybrid key share makes the first handshake message larger, but the rest of the connection is unchanged. Cloudflare enabled it for all websites it serves in 2022 and reports that 73% of human traffic to Cloudflare was post-quantum encrypted as of 1 December 2026.
