# Post-Quantum Next.js and Node.js: Server, Edge and Auth

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

*Find every place a Next.js or Node.js service uses public-key cryptography, move TLS key exchange to hybrid ML-KEM first, prove the negotiated group from outside, and plan token, certificate and passkey signatures*

**A cybersecurity course from ibl.ai (self-paced, 8 to 10 hours, free).** A hands-on, self-paced course for full-stack and platform engineers who run Next.js or Node.js services. Print which OpenSSL each Node.js binary carries, inventory every place the app uses public-key cryptography, move TLS key exchange to the X25519MLKEM768 hybrid on inbound, outbound and edge legs, prove the negotiated group with openssl and a CI test, rehearse a JWT signing-key rotation with a JWKS, serve an ML-DSA test certificate, plan passkeys, and write a migration record for one service.

- **Price:** Free
- **Format:** Self-paced, online
- **Time:** 8 to 10 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-nextjs-and-nodejs+self-paced)

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

## Course description

Post-Quantum Next.js and Node.js: Server, Edge and Auth teaches full-stack and platform engineers to move one Next.js or Node.js service toward post-quantum cryptography, in response to the NSA advisory and the ONCD, NSA and CISA joint statement of 2 December 2026. Following the series method of Find, Fix, Verify, Rotate and plan, you print which OpenSSL each Node.js binary carries, inventory every place the app uses public-key cryptography, move TLS key exchange to the X25519MLKEM768 hybrid first, prove the negotiated group from outside and in CI, and plan token, certificate and passkey signatures with interim choices stated as interim. Eight local labs run on your own machine against localhost with test certificates. The capstone is your migration record for one service. Interpretation is attributed to named analysts; no source cited says any algorithm is broken. ibl.ai wrote the course; no agency, standards body or vendor reviewed or endorsed it. Last verified 2026-12-03.

### About this course

On 2 December 2026 the NSA advised an immediate transition to post-quantum cryptography, and the Office of the National Cyber Director, the NSA and CISA issued a [joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities). This course turns that direction into work on one Next.js or Node.js service: find where the service uses public-key cryptography, fix key exchange first with the X25519MLKEM768 hybrid defined in [RFC 10024](https://www.rfc-editor.org/rfc/rfc10024.html), verify the result from outside, and plan the slower signature work for tokens, certificates and passkeys. Every version, default and command comes from the project documentation linked in each unit and was run by the course team where it could be; anything not run is marked. Interpretation of the advisory is attributed to named analysts, Filippo Valsorda and Ryan Hurst, and labelled as analysis. ibl.ai wrote this course; no agency, standards body or vendor wrote, reviewed or endorsed it.

### What you will be able to do

- Explain why a Next.js or Node.js service should act now on post-quantum key exchange, from government direction, record now and decrypt later, and the defaults that already moved, and attribute the competing readings of the December 2026 NSA advisory to Filippo Valsorda and Ryan Hurst.
- Print and interpret which OpenSSL each Node.js binary carries, and inventory every network leg, token, webhook, passkey and dependency in a Next.js app that uses public-key cryptography, with a script and a template.
- Move key exchange to the X25519MLKEM768 hybrid first by upgrading Node.js, removing settings that silently drop ML-KEM, and choosing prefer or require per link, and explain why a hybrid is acceptable under RFC 10024.
- Handle the outbound, database, browser to edge and edge to origin legs behind a CDN or reverse proxy, using only what each vendor documents and what you control.
- Prove the negotiated group from outside with openssl s_client and a local test server, and keep it proven with a handshake test in CI, a scheduled check and a monitoring signal.
- Plan the signature migration: interim token algorithms stated as interim, ML-DSA under RFC 9964, a rehearsed key rotation with kid and a JWKS, an ML-DSA test certificate, passkey planning, and a migration record with rollback for one service.

### Who this course is for

**Roles:** full-stack engineers, platform and infrastructure engineers, and the technical leads who decide what a Next.js or Node.js service changes first.

**Services:** Next.js apps and Node.js APIs, self-hosted behind a reverse proxy, in containers, or on a hosting platform or CDN. The examples use fictional companies and .example names.

**Before you start:** the series principles course, *Post-Quantum Migration: What Changed and What to Do First*, which Unit 2 recaps; comfort with a terminal; Node.js 24 or later recommended, and OpenSSL 3.5 or later on the command line for the openssl labs.

### Format

**Time:** about 8 to 10 hours, self-paced. **Level:** intermediate. **Hands-on:** eight local labs on your own machine (print the evidence, an inventory script, a server and client before and after, inbound and outbound proof, a CI handshake test, a JWKS key rotation, and an ML-DSA test certificate), 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 service, 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 the [joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities) of 2 December 2026, [NIST IR 8547](https://csrc.nist.gov/pubs/ir/8547/final), [RFC 10024](https://www.rfc-editor.org/rfc/rfc10024.html), [RFC 9964](https://www.rfc-editor.org/rfc/rfc9964.html), the [Node.js](https://nodejs.org/api/tls.html) and [OpenSSL](https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md) documentation, and the project and vendor documentation each unit links.

This guidance is changing quickly. Agencies may publish more, and Node.js, OpenSSL, Next.js, the auth libraries and the hosting vendors change versions and defaults often. 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 public-key cryptography in your Next.js or Node.js service

- 1.1 What changed and where Node.js stands
- 1.2 Every place a Next.js app uses public-key cryptography
- 1.3 Section 1 assessment

### Section 2 · Fix: move key exchange to hybrid ML-KEM first

- 2.1 Node.js and your own servers
- 2.2 Outbound calls, the edge and the proxy
- 2.3 Section 2 assessment

### Section 3 · Verify: prove the negotiated group from outside

- 3.1 Prove it by hand
- 3.2 Keep it proven
- 3.3 Section 3 assessment

### Section 4 · Rotate and plan: tokens, certificates and passkeys

- 4.1 Token signing now
- 4.2 Certificates, passkeys and the migration record
- 4.3 Section 4 assessment

### Section 5 · Capstone and wrap-up

- 5.1 Capstone: Your migration record
- 5.2 Capstone assessment
- 5.3 Reading list and next steps

## Instructors

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

## More cybersecurity courses

- [Post-Quantum nginx: Hybrid TLS, Certificates and Upstreams](https://ibl.ai/courses/cybersecurity/post-quantum-nginx)
- [Post-Quantum Django: TLS, Tokens and Data in Python](https://ibl.ai/courses/cybersecurity/post-quantum-django)
- [Post-Quantum Migration: What Changed and What to Do First](https://ibl.ai/courses/cybersecurity/post-quantum-migration-first-steps)
- [Post-Quantum Kubernetes and Cloud: Ingress, Mesh and PKI](https://ibl.ai/courses/cybersecurity/post-quantum-kubernetes-and-cloud)
