# Post-Quantum nginx: Hybrid TLS, Certificates and Upstreams

> Cybersecurity · ibl.ai
> Source: https://ibl.ai/courses/cybersecurity/post-quantum-nginx
> Last updated: 2026-12-03

*Move nginx to the X25519MLKEM768 hybrid key exchange on every TLS leg, prove it from outside, keep proving it, and plan the certificate and ACME rotation the NSA's December 2026 advisory points to*

**A cybersecurity course from ibl.ai (self-paced, 6 to 8 hours, free).** A hands-on, self-paced course for platform, SRE and web operations engineers who run nginx. Inventory what your nginx negotiates today, get to OpenSSL 3.5 or later, enable the RFC 10024 hybrid group X25519MLKEM768 for clients, upstreams and the CDN to origin leg, prove it with openssl s_client, a script and a log field, and plan certificate key types, ACME rotation and rollback.

- **Price:** Free
- **Format:** Self-paced, online
- **Time:** 6 to 8 hours
- **Pace:** 3 hours per week
- **Level:** Intermediate
- **Language:** English
- **Subject:** Information Technology

[Enroll](https://lms.ibl.ai/platform/cybersecurity/courses/course-v1:cybersecurity+post-quantum-nginx+self-paced)

Part of the [Post-Quantum Migration Engineer program](https://ibl.ai/courses/cybersecurity/program/post-quantum-migration-engineer).

## Course description

Post-Quantum nginx: Hybrid TLS, Certificates and Upstreams turns the NSA's 2 December 2026 post-quantum advisory, and the ONCD, NSA and CISA joint statement of the same day, into concrete work on nginx. You will find which TLS library your nginx is linked against and what each server block and upstream actually negotiates; fix the key exchange first by getting to OpenSSL 3.5 or later, whose default list puts the RFC 10024 hybrid group X25519MLKEM768 first, and by removing pinned group lists that block it; verify the result with openssl s_client, a scripted check for CI and monitoring, and the $ssl_curve log variable; and plan the certificate side: what public CAs issue today, the advisory's interim sizes, an ACME rotation rehearsal, a private ML-DSA CA for upstreams, and rollback. Four local labs use self-signed certificates and openssl s_server as a stand-in; every nginx configuration not run is marked untested. The capstone is a migration record for one nginx deployment you run. No official source has said any algorithm is broken; expert readings are labelled as analysis. ibl.ai wrote the course; no government agency or software project reviewed or endorsed it. Last verified 2026-12-03.

### About this course

On 2 December 2026 the NSA published a press release and a Cybersecurity Advisory, [&quot;Immediate Actions to Push Toward Post-Quantum&quot;](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF), and ONCD, NSA and CISA issued a [joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities). The advisory, addressed to National Security Systems owners, operators and vendors, asks them to inventory their algorithms, move TLS services to TLS 1.3 with PQC settings where available, configure any hybrid key exchange according to [RFC 10024](https://www.rfc-editor.org/rfc/rfc10024.html), and use RSA 3K or P-384 as the base size for roots; a commercial team follows it by choice, as the best available public direction. This course applies that to nginx, which terminates TLS for browsers and API clients, opens TLS connections of its own to upstreams, and often sits behind a CDN. You will find what each leg negotiates today, move it to X25519MLKEM768, prove the change from outside, keep proving it, and plan the certificate rotation that follows. Every version, flag and default comes from the nginx, OpenSSL, distribution and certificate authority documentation as of 2026-12-03, and every configuration not run is marked untested. No official source has said any algorithm is broken; where the course reports an expert's reading it names the person, labels it as analysis and gives the competing reading. ibl.ai wrote this course; no government agency or software project reviewed or endorsed it.

### What you will be able to do

- Inventory one nginx deployment: the linked TLS library from nginx -V, every TLS leg (client, upstream, CDN to origin), the effective ssl_* and proxy_ssl_* settings and each certificate's key type, using a script and a template.
- Explain why key exchange comes first, what RFC 10024 defines and why a hybrid such as X25519MLKEM768 stays secure while one component does, citing the NSA advisory's action 2 and the RFCs rather than any claim that an algorithm is broken.
- Get nginx onto OpenSSL 3.5 or later from a distribution, the nginx.org packages, a container image or a source build, and configure ssl_ecdh_curve, ssl_conf_command and proxy_ssl_conf_command so the hybrid group can negotiate, including the ClientHello size and middlebox caveats.
- Prove the negotiated group from outside with openssl s_client, run a scripted PASS or FAIL check in CI or monitoring, log $ssl_curve, and reason about client compatibility and fallback.
- Plan the certificate side: interim key sizes from the advisory, what Let's Encrypt and other CAs issue, an ACME key type rotation rehearsal, a private ML-DSA CA for upstreams, and a written rollback plan.
- Write a migration record for one nginx deployment with before and after evidence, a configuration diff, verification output, a certificate plan and an honest statement of residual exposure.

### Who this course is for

**Roles:** platform, SRE and web operations engineers who run nginx as a web server, TLS terminator or reverse proxy, and the people who review their changes.

**Before you start:** the series principles course, *Post-Quantum Migration: What Changed and What to Do First*, recapped here in one unit; comfort editing nginx configuration and running commands in a terminal. The labs need OpenSSL 3.5 or later as a command and Python 3.9 or later; everything runs locally against servers you start, with self-signed test certificates.

### Format

**Time:** about 6 to 8 hours, self-paced. **Level:** intermediate. **Hands-on:** four local labs (an inventory script over a sample configuration tree; enabling and then breaking the hybrid group; a scripted PASS or FAIL check; interim certificates and a private ML-DSA CA for an upstream), with an AI tutor that coaches each step from the output you paste.

**Structure:** a Start here section, four content sections (Find, Fix, Verify, Rotate and plan) of readings, worked examples, templates and labs, each ending in an AI assessment, and a capstone in which you write a migration record for one nginx deployment you run, followed by a reading list.

**Grading:** the four section AI assessments count for 60 percent of the grade and the capstone assessment for 40 percent. The pass mark is 70 percent.

### Currency

**Last verified 2026-12-03** against [RFC 10024](https://www.rfc-editor.org/rfc/rfc10024.html), the [nginx SSL module documentation](https://nginx.org/en/docs/http/ngx_http_ssl_module.html), the [OpenSSL 3.5 release notes](https://openssl-library.org/news/openssl-3.5-notes/) and the certificate authority and distribution documentation the units link.

This guidance is changing. The NSA advisory and its readings, OpenSSL defaults, nginx releases, distribution packages and certificate authority policies all move, so re-check the linked sources before relying on any page or template, and test only systems you own or are authorized in writing to test. This course is training, not a security assessment of your systems.

## Outline

### Section 0 · Start here

- 0.1 Welcome and orientation

### Section 1 · Find: inventory what your nginx negotiates today

- 1.1 Recap and the three TLS legs of an nginx deployment
- 1.2 Library, directives and certificates
- 1.3 Section 1 assessment

### Section 2 · Fix: hybrid key exchange first

- 2.1 Get to a TLS library that speaks X25519MLKEM768
- 2.2 Configure nginx for the hybrid group
- 2.3 Section 2 assessment

### Section 3 · Verify: prove the negotiated group and keep proving it

- 3.1 Prove it from outside
- 3.2 Keep proving it
- 3.3 Section 3 assessment

### Section 4 · Rotate and plan: certificates, upstreams and rollback

- 4.1 Certificates, private CAs and ACME
- 4.2 Plan the change and the way back
- 4.3 Section 4 assessment

### Section 5 · Capstone and wrap-up

- 5.1 Capstone: A migration record for one nginx deployment
- 5.2 Capstone assessment
- 5.3 Reading list and next steps

## Instructors

- ibl.ai Cybersecurity, Course team (ibl.ai)

## More cybersecurity courses

- [Post-Quantum Next.js and Node.js: Server, Edge and Auth](https://ibl.ai/courses/cybersecurity/post-quantum-nextjs-and-nodejs)
- [Post-Quantum Django: TLS, Tokens and Data in Python](https://ibl.ai/courses/cybersecurity/post-quantum-django)
- [Post-Quantum SSH, Git and CI: OpenSSH 10 and Key Rotation](https://ibl.ai/courses/cybersecurity/post-quantum-ssh-git-and-ci)
- [Post-Quantum Kubernetes and Cloud: Ingress, Mesh and PKI](https://ibl.ai/courses/cybersecurity/post-quantum-kubernetes-and-cloud)
