Turn on Post-Quantum Key Exchange on RLC Pro

Arsalan Zaidi
Customer Support Engineering Lead

Introduction

On December 2, 2026, the NSA asked owners of national security systems to speed up their move to post-quantum cryptography. On Rocky Linux from CIQ (RLC) Pro, the first step most teams can take today is hybrid key exchange for TLS and SSH.

Hybrid key exchange runs ML-KEM, the NIST post-quantum standard (FIPS 203), next to a classical key exchange. A connection stays protected as long as either one holds. This article shows how to turn it on and how to check it on each RLC Pro release.

Problem

What you need to do depends on the RLC Pro release you run. Some releases have hybrid key exchange on by default, some need one policy change, and RLC Pro LTS 9.6 needs a manual change for one library.

RLC Pro release What to do What it covers
RLC Pro 10.1 and 10.2, RLC Pro LTS 10.2 Nothing. It is on by default. TLS and SSH
RLC Pro 9.8 and 9.9, RLC Pro Hardened 9.8 One crypto policy change TLS in OpenSSL, NSS and GnuTLS, and SSH
RLC Pro 9.7 One crypto policy change TLS in OpenSSL and NSS. SSH and GnuTLS need 9.8 or later
RLC Pro LTS 9.6, including FIPS 9.6 One manual change to the NSS configuration TLS in applications that use NSS. OpenSSL programs and SSH stay classical
RLC Pro 10.0 Update to RLC Pro 10.1 or later Post-quantum support in 10.0 is a technology preview
RLC Pro 9.0 to 9.6, RLC Pro LTS 9.2 Move to RLC Pro 9.9, or to RLC Pro LTS 9.6 if you need FIPS Nothing until you move
RLC Pro 8, RLC Pro LTS 8.6 and 8.10 Plan an upgrade to RLC Pro 9 or 10 No ML-KEM in OpenSSL or OpenSSH

Resolution

Before you start

Check which RLC Pro release and Depot product the system runs, and record its current crypto policy:

grep PRETTY_NAME /etc/os-release
sudo depot list
update-crypto-policies --show

Write down the policy string. It is your rollback. The checks below use Cloudflare's public post-quantum test server, so run them from a host that can reach the internet over HTTPS.

RLC Pro 10.1 and later, and RLC Pro LTS 10.2

No change is needed. TLS and SSH prefer hybrid key exchange by default when both sides support it. To check:

curl -s https://pq.cloudflareresearch.com/cdn-cgi/trace | grep kex

Expected output:

kex=X25519MLKEM768

RLC Pro 9.7 and later, including RLC Pro Hardened 9.8

Step 1: Add the PQ subpolicy to your current policy

Add :PQ to the exact string that update-crypto-policies --show printed. For the default policy:

sudo update-crypto-policies --set DEFAULT:PQ

If your policy has subpolicies, keep them. For example, DEFAULT:NO-SHA1 becomes DEFAULT:NO-SHA1:PQ. Systems in FIPS mode use FIPS:PQ.

Step 2: Reboot

Programs read the policy when they start. A reboot covers every program. You can restart each TLS and SSH service instead.

sudo reboot

Verify

curl -s https://pq.cloudflareresearch.com/cdn-cgi/trace | grep kex
ssh -G localhost | grep -i '^kexalgorithms'
  • The first command prints kex=X25519MLKEM768. Before the change it printed kex=X25519.
  • On RLC Pro 9.8 and later, the SSH list starts with mlkem768x25519-sha256.

Roll back

Set the string you wrote down, then reboot:

sudo update-crypto-policies --set DEFAULT
sudo reboot

RLC Pro LTS 9.6, including FIPS 9.6

On November 23, 2026, NIST issued FIPS 140-3 certificate 5601 to the RLC Pro LTS 9.6 NSS module. It covers ML-KEM-768, ML-KEM-1024, ML-DSA-44, ML-DSA-65 and ML-DSA-87. With FIPS mode on, applications that call NSS directly use these validated algorithms. To turn on FIPS mode, see Enabling FIPS on RLC.

Applications that use NSS for TLS, such as Libreswan and Firefox, can use hybrid key exchange after the change below. OpenSSL programs such as curl, nginx and Apache, and SSH, are not affected.

Step 1: Back up the NSS policy file

sudo cp -a /etc/crypto-policies/back-ends/nss.config /root/nss.config.orig

Step 2: Add the hybrid groups

This adds three hybrid groups to the end of the allow= list:

sudo sed -i 's/\(allow=[^"]*\)"/\1:SECP256R1MLKEM768:SECP384R1MLKEM1024:MLKEM768X25519"/' /etc/crypto-policies/back-ends/nss.config

Step 3: Restart applications that use NSS

Restart each service that uses NSS, or reboot.

Verify the change

grep -c MLKEM /etc/crypto-policies/back-ends/nss.config

Expected output: 1. To test a connection, install the nss-tools package and run:

mkdir -p /tmp/nssdb && certutil -N -d sql:/tmp/nssdb --empty-password
printf 'GET /cdn-cgi/trace HTTP/1.1\r\nHost: pq.cloudflareresearch.com\r\nConnection: close\r\n\r\n' \
  | /usr/lib64/nss/unsupported-tools/tstclnt -h pq.cloudflareresearch.com -p 443 -d sql:/tmp/nssdb -o | grep kex

Expected output: kex=X25519MLKEM768. The -o option skips certificate checks for this test only.

Roll back the change

sudo cp -a /root/nss.config.orig /etc/crypto-policies/back-ends/nss.config

Older RLC Pro releases

RLC Pro 9.0 to 9.6 and RLC Pro LTS 9.2 have no ML-KEM in OpenSSL or OpenSSH. Move to RLC Pro 9.9 and follow the RLC Pro 9.7 and later steps. If you need FIPS 140-3 validated cryptography, move to RLC Pro LTS 9.6 instead.

RLC Pro 8 and RLC Pro LTS 8.6 and 8.10 have no ML-KEM in OpenSSL or OpenSSH, and no setting adds it. Plan an upgrade to RLC Pro 9 or RLC Pro 10. Until then, a TLS proxy on RLC Pro 10 can give internet-facing services hybrid key exchange.

Notes

  • On RLC Pro LTS 9.6, running update-crypto-policies for any reason rewrites nss.config and removes the change. After crypto policy changes and package updates, run the grep check again and repeat Step 2 if it prints 0.
  • On RLC Pro LTS 9.6 in FIPS mode, certificate 5601 lists X25519 as not allowed in approved mode. An X25519MLKEM768 connection therefore runs partly outside the validated services, even though NSS negotiates it.
  • No FIPS 140-3 certificate covers the post-quantum algorithms on RLC Pro 9.7 to 9.9. The RLC Pro LTS 10.2 kernel, OpenSSL, GnuTLS and NSS modules are in lab testing for FIPS 140-3.
  • National security systems follow CNSA 2.0, which requires ML-KEM-1024 and ML-DSA-87. The hybrids in this article use ML-KEM-768.
  • Containers use the libraries in their image, so an old image stays classical on a new host. Go programs built with Go 1.24 or later offer hybrid key exchange on their own.
  • Older load balancers, firewalls and inspection proxies can fail on the larger post-quantum handshake. Test through your real network path before you change production.