Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Post-Quantum Crypto Migration for Engineers, Hands-On
New

Post-Quantum Crypto Migration for Engineers, Hands-On

Inventory your crypto, turn on hybrid ML-KEM key exchange, issue ML-DSA certificates and meet the 2030 to 2035 deadlines
Created byBen Wallbaum
Last updated 11/2026
English
GermanEnglish

What you'll learn

  • Classify quantum-vulnerable public-key algorithms and prioritise migration by data sensitivity and confidentiality lifetime
  • Identify the scope and milestones of NIST, federal, CNSA 2.0, UK NCSC and EU transition guidance
  • Choose ML-KEM, ML-DSA and SLH-DSA parameter sets for a job and distinguish published standards from pending work
  • Configure hybrid TLS with OpenSSL and nginx, then prove the negotiated group from client output and server logs
  • Build an ML-DSA certificate chain and distinguish issuer signatures, subject keys and TLS handshake signatures
  • Sign and verify artifacts with ML-DSA and SLH-DSA, measure signatures and detect a modified file
  • Record cryptographic assets and dependencies in a CycloneDX CBOM and diagnose handshake failures or classical fallback
  • Write a staged migration plan with owners, applicable rules, target dates, checks and rollback choices

Course content

1 section • 31 lectures • 2h 19m total length
  • Someone may be recording your TLS today3:10

    Explain why TLS traffic recorded today is at risk later, see that OpenSSL 3.5 already sends a hybrid post-quantum key share by default, and know the five moves this course takes.

  • Set up the lab: OpenSSL 3.5.9 in a pinned container5:11

    Start the pinned pqc-lab container, confirm it runs OpenSSL 3.5.9 with ML-KEM and the hybrid groups, and know the lab conventions the whole course follows.

  • A hybrid handshake in two commands5:53

    Run a local TLS 1.3 handshake with OpenSSL 3.5's defaults, prove it negotiated X25519MLKEM768 from the negotiated-group line, and tell it apart from a classical X25519 handshake.

  • Harvest now, decrypt later, and what it breaks4:20

    Sort a system's algorithms into quantum-vulnerable or not, and use harvest now, decrypt later and Mosca's theorem to decide what to migrate first.

  • The deadline timeline, from the primary documents5:34

    Build the post-quantum deadline timeline from NIST IR 8547, Executive Order 14412, CNSA 2.0 and the UK and EU roadmaps, and say who each date binds and what it requires.

  • Which of these rules bind you?3:59

    Work out which post-quantum rules and deadlines apply to an organisation from five questions, and record each rule with whom it binds, what it requires and by when.

  • A KEM is not a key exchange, and neither is a signature4:36

    Tell a key-encapsulation mechanism from a signature by what each one sends and proves, and pick an ML-KEM parameter set from its security category and the rules that bind you.

  • Encapsulate and decapsulate in the terminal3:14

    Run ML-KEM key generation, encapsulation and decapsulation with stock OpenSSL 3.5, and check the ciphertext and shared-secret sizes against FIPS 203.

  • Choosing a signature and a parameter set4:53

    Choose between ML-DSA, SLH-DSA and the stateful LMS and XMSS for a given signing job and policy, and state what each parameter set costs in bytes.

  • What's still pending (as of October 2026)3:34

    Name the post-quantum standards that are announced but not yet published, FN-DSA and HQC, and explain why they don't change what you deploy today.

  • What a crypto inventory holds, and why first3:27

    Explain what a crypto inventory records, where discovery looks (and what it leaves out), and how a CycloneDX CBOM records it.

  • Discover keys, certificates and endpoints with openssl4:15

    Use stock openssl to read the algorithm from certificates, key files and TLS endpoints, and flag the quantum-vulnerable ones in an inventory table.

  • Write it down as a CycloneDX CBOM5:17

    Record the lab inventory as a CycloneDX CBOM with algorithms, certificates, protocols and keys, query it for level-zero assets, and rank them with Mosca's theorem.

  • Inside the hybrid handshake4:41

    Account for every extra byte that X25519MLKEM768 adds to a TLS 1.3 handshake, and say what the hybrid buys you and what it doesn't.

  • Read the handshake on the wire4:24

    Read a TLS 1.3 handshake with OpenSSL's message and trace output, convert the hello lengths, find the key shares, and predict what a group list will send.

  • Configure the groups on both sides4:42

    Diagnose a no-shared-group failure from the alert and negotiated-group lines, and set one OpenSSL 3.5 server's group list so the default, P-256 hybrid and X25519-only clients all connect.

  • nginx, Caddy, Go, HAProxy and browsers: who does what5:06

    Tell, for the servers and clients you run, whether hybrid X25519MLKEM768 key exchange is on by default and from which version, and find the TLS library each one inherits it from.

  • Turn on hybrid in nginx4:55

    Configure nginx on OpenSSL 3.5 with an explicit hybrid-first group list, test it with nginx -t, prove the handshake from the negotiated-group line, and log the negotiated group for every request.

  • Check it from the client side3:07

    Check any TLS endpoint you own for hybrid key exchange with openssl s_client and curl, read the result from the negotiated-group or alert line, and record it in your CBOM.

  • An ML-DSA certificate chain, and where it can go today5:00

    Explain what RFC 9881 allows in an ML-DSA certificate, predict what each link of an ML-DSA chain costs in bytes, and decide where such a chain can be used today.

  • Build and serve an ML-DSA chain4:59

    Build an ML-DSA-65 root and an ML-DSA-44 server certificate with five stock OpenSSL 3.5 commands, verify the chain, serve it, and measure the bytes each piece adds to the handshake.

  • Practice: a CNSA-style ML-DSA-87 chain3:26

    Rebuild the lab chain with ML-DSA-87 at both levels, predict each certificate's size from FIPS 204 before measuring it, and see why a key written without its seed can't be recovered.

  • Which signature for which job5:11

    Match ML-DSA, SLH-DSA and the stateful LMS and XMSS to the signing jobs they fit, including what CNSA 2.0 asks for firmware.

  • Sign and verify a firmware image4:26

    Sign a firmware image with SLH-DSA and ML-DSA using stock OpenSSL 3.5, verify it with the public key, measure each signature, and show that a one-byte change makes verification fail.

  • Practice: sign a release4:12

    Predict ML-DSA-65 and SLH-DSA-SHAKE-128f signature sizes from the standards, sign and verify a release tarball with each, and record the new signing algorithm in the CBOM with its NIST level, next to the ML-DSA-65 entry from s04-l03.

  • Signatures, not key exchange, are the real cost4:33

    Compare what hybrid key exchange and post-quantum signatures each add to a TLS handshake, in bytes and in time, and name the size limits that signatures can hit.

  • Break it on purpose, then read the output6:14

    Reproduce four post-quantum handshake failures in the lab (no shared group, HelloRetryRequest, quiet fallback, oversized ClientHello), name each one from the alert, hello and group lines, and pick the fix.

  • Roll out with a way back4:27

    Plan a staged rollout of hybrid key exchange (lab, canary, fleet) that watches the negotiated group and has a rollback ready at each layer, using only RFC-based groups in production.

  • Crypto-agility means the next change is a config change4:08

    Explain why hybrid key exchange won't be the last crypto change, and set up four habits, offered as our advice, that make the next change a configuration change instead of a code change.

  • Write the migration plan5:33

    Join the plan folder's four files into one written plan, put the backlog in a defensible order, and give every quantum-vulnerable asset an owner, a rule, a target date inside that rule and a rollback, checked by check s10.

  • The whole path, end to end3:31

    Walk the whole migration once, from inventory to a current plan, name the proof or output each step leaves behind, and see why the path loops back to the start.

  • Quiz: your first post-quantum handshake
  • Quiz: threat and deadlines
  • Quiz: the new algorithms
  • Quiz: inventory and CBOM
  • Quiz: hybrid TLS
  • Quiz: servers and clients
  • Quiz: certificates
  • Quiz: signing
  • Quiz: failures and rollout
  • Final quiz: the whole migration

Requirements

  • Comfortable working in a Linux shell
  • Basic understanding of a certificate, a private key and a TLS handshake
  • Have used openssl or curl at least once
  • Docker and make for the pinned lab container on your own machine
  • No quantum physics, advanced mathematics or programming language required

Description

This course contains the use of artificial intelligence.

Your team asks for a post-quantum migration plan. You have TLS endpoints, certificate authorities and release-signing keys, but no clear inventory of which algorithms they use. Where do you start, and what would count as proof that a change worked?

This course takes you from that question to a written migration plan through a local engineering lab. You will discover cryptographic assets, record their relationships in a CycloneDX CBOM, configure hybrid key exchange, build an ML-DSA certificate chain and sign artifacts. Each step leaves an observable result you can inspect yourself.

How it works

  • Watch the mechanism: animated explanations separate shared-secret establishment, certificate signatures and handshake signatures before you inspect them in the terminal
  • Run the lab: download the companion zip and follow the pinned OpenSSL 3.5.9 toolchain on your own machine, with local servers and supplied practice inputs
  • Check your understanding: every section has an original quiz and a practice exercise with a check command; the final exercise starts from a fresh estate

What you will work on

  • Discovery and priority: identify vulnerable public-key algorithms and rank migration work by data sensitivity and confidentiality lifetime
  • Hybrid TLS: configure X25519MLKEM768, prove the negotiated group and distinguish it from classical X25519, retries and failures
  • Certificates and signing: issue an ML-DSA chain, verify artifact signatures and test what happens after a file changes
  • Compatibility and rollout: investigate group mismatches, large messages and quiet classical negotiation, then record checks and rollback choices
  • A usable plan: connect the inventory to owners, applicable rules, target dates and staged rollout decisions

The deadline discussion identifies whom each rule or recommendation covers. NIST's transition schedule, federal priority-system requirements, CNSA 2.0, UK NCSC guidance and the EU roadmap have different scopes and milestones. The subtitle's dates are not a universal deadline for every organisation. You will practise identifying the applicable scope before choosing a date or parameter set.

Ten sections provide about two hours of video, with additional time for the exercises. Bring Linux shell confidence and basic familiarity with certificates and TLS. The focus is engineering decisions and evidence you can reproduce, with a checklist and command reference to keep beside your plan.

Reflects the standards, tool versions and guidance as of 2026-10-30. General information, not legal or professional advice; no guarantee of completeness or accuracy. Check the official sources before acting.

Who this course is for:

  • Backend, platform, DevOps, SRE and security engineers responsible for TLS endpoints, internal PKI or signing pipelines
  • Security architects and technical leads who need to inventory exposure and sequence migration work
  • Engineers supplying government customers who need to distinguish federal requirements from the NSS-specific CNSA 2.0 scope