How to configure post-quantum algorithms in Rocky Linux

Rocky Linux 10.x ships PQC key exchange in OpenSSH and libssh and enables post-quantum algorithms in crypto-policies, but the FUTURE policy now drops classical key exchange and breaks non-PQC peers.

On this page

Which Rocky Linux versions turn on post-quantum algorithms, and what changes when you do

Rocky Linux 10.1 is the first release where post-quantum algorithms are enabled in all crypto-policies by default, according to the Rocky 10.1 release notes. Rocky Linux 10.2 goes further: its announcement says OpenSSH now supports ML-KEM hybrid key exchange (mlkem768nistp256-sha256 and mlkem1024nistp384-sha384) in FIPS mode, libssh adds hybrid methods that combine ML-KEM with ECDH, and the FUTURE crypto-policy is restricted to hybrid ML-KEM key exchange. Rocky 9.8 is different. Its release notes list GnuTLS 3.8.10 with ML-KEM hybrid key exchange and ML-DSA, and OpenSSH 9.9, but they do not mention crypto-policies, so do not assume the 9.8 defaults match 10.1 or 10.2. Rocky Linux is not claimed to meet CNSA 2.0 in any of the checked sources, and the Rocky docs do not say it does. Checked on 2026-12-03.

The change that matters most for operators is the FUTURE policy on 10.2. The announcement states that FUTURE now allows only hybrid ML-KEM key exchange, that traditional non-post-quantum key exchange methods are removed from it, and that connections to endpoints without PQC support, including most of the public internet, will break. The DEFAULT policy is not affected. Anyone who sets update-crypto-policies --set FUTURE on SSH servers or clients, or who relies on FUTURE in scripts or configuration management, should confirm the peers they reach support ML-KEM before upgrading. Test with a non-production host first, and check what your SSH clients and bastion hosts negotiate with ssh -vv against the endpoints you depend on.

SSH server and client owners are the first group to act. On 10.1 and later, review /etc/crypto-policies/ and any sshd_config or ssh_config overrides, since a local override can keep older key exchange methods active regardless of the system default. On 10.2, confirm the libssh-based tools you run negotiate the hybrid methods you expect. Anyone who manages FUTURE must treat the 10.2 change as a connectivity risk, not only a security improvement. Rocky's documentation does not say which FIPS-validated modules include these algorithms, so confirm the validation status with the vendor you depend on before you cite it in an audit.

Which PQC setting applies to which Rocky Linux release and component

This table lists, by release, the component, the post-quantum setting it introduces and the source that states it. Read each row against the exact release and component you run, because support differs between 10.x, 9.8 and the components inside each release. The main takeaway is that the 10.2 FUTURE policy change can break connections to endpoints without PQC support, while the 10.2 release notes do not record crypto-policy, OpenSSL, GnuTLS or NSS changes.

ReleaseComponentPost-quantum settingSource
10.0crypto-policies, OpenSSL, OpenSSHCrypto-policies listed as a security feature. OpenSSL and OpenSSH state PQC support. Release notes do not name the OpenSSL version shipped.Rocky 10.0 release notes, checked 2026-12-03
10.1All crypto-policiesPost-quantum algorithms enabled in all crypto-policies by default.Rocky 10.1 release notes
10.2OpenSSH in FIPS modemlkem768nistp256-sha256 and mlkem1024nistp384-sha384 hybrid key exchange.Rocky 10.2 announcement, May 28, 2026
10.2libsshHybrid key exchange combining ML-KEM with ECDH.Rocky 10.2 announcement
10.2FUTURE crypto-policyAllows only hybrid ML-KEM key exchange. Breaks connections to endpoints without PQC support. DEFAULT is unaffected.Rocky 10.2 announcement
10.2Directory ServerTLS certificates with ML-DSA-44, ML-DSA-65 and ML-DSA-87 keys.Rocky 10.2 announcement
10.2p11-kit, PodmanPQC definitions in PKCS #11 headers. Sequoia-PGP verifies image signatures with ML-DSA-87+Ed448.Rocky 10.2 announcement
10.2crypto-policies, OpenSSL, GnuTLS, NSSRelease notes mention no changes to these components. The OpenSSL version shipped is not stated. Confirm settings on your system.Rocky 10.2 release notes, page dated November 16, 2026
9.8GnuTLS, OpenSSHGnuTLS 3.8.10 provides ML-KEM hybrid key exchange and ML-DSA. OpenSSH 9.9 is shipped. Release notes do not mention crypto-policies, OpenSSL or FIPS.Rocky 9.8 release notes

How the setting differs for SSH servers, clients, FIPS hosts and federal contracts

On Rocky Linux 10.1 and later, post-quantum algorithms are enabled in all crypto-policies by default, according to the 10.1 release notes. Hosts that keep the DEFAULT policy therefore already offer hybrid post-quantum key exchange where the upstream library and OpenSSH support it. The FUTURE policy change described in the 10.2 announcement does not affect DEFAULT, so this group does not need a policy edit to keep connecting to existing peers.

  • Release check: Run cat /etc/redhat-release to confirm the host runs 10.1 or later before you rely on this default.
  • Policy check: Run update-crypto-policies --show and confirm the output is DEFAULT, not a stricter policy.
  • Server side: Check the KexAlgorithms line that sshd -T reports, since the negotiated list shows what the server offers.
  • Client side: Run ssh -Q kex to list the key exchange methods the local OpenSSH client supports.
  • Scope: The 10.1 release notes do not say which SSH clients outside the base OpenSSH package follow this default.

Confirm the policy and the offered key exchange list on every host you plan to record, since a single override in /etc/crypto-policies changes the result.

Steps to turn on and test PQC key exchange in Rocky Linux

This sequence checks which Rocky Linux minor release and crypto policy you run, confirms whether post-quantum key exchange is active, tests a real connection, and verifies host key permissions before any stricter policy is considered. The result is a dated, evidence-backed record of what your Rocky Linux systems actually negotiate today.

  1. Confirm the minor release and read its notes

    Run cat /etc/rocky-release on each host to record the exact minor version, such as 10.1 or 10.2. Then open the matching Rocky release notes page and read the sections on crypto-policies, OpenSSL and OpenSSH. The Rocky 10.1 notes state that post-quantum algorithms are enabled in all crypto-policies by default, while the Rocky 10.2 notes do not mention crypto-policies or FUTURE at all. Rocky 9.8 notes list GnuTLS and OpenSSH 9.9 but not OpenSSL. This step is done when every host has its minor version written down and the relevant notes have been read against it.

  2. Check the active crypto policy

    Run update-crypto-policies --show on each host to see which policy is active, typically DEFAULT, LEGACY, FUTURE or a subpolicy. Record the output next to the release version. Where the policy is DEFAULT, the Rocky 10.2 announcement states that the FUTURE change does not affect it. Confirm the policy in your own environment, since the value may have been changed by configuration management. This step is closed when each host's policy name is recorded.

  3. Test a DEFAULT-policy SSH connection to a PQC peer

    From a Rocky host on the DEFAULT policy, open an OpenSSH connection to a peer you know supports post-quantum key exchange, such as a current RHEL 10 or Rocky 10.2 server, and request the verbose output with ssh -v. Look for the negotiated key exchange algorithm in the debug lines. The Rocky 10.2 announcement says OpenSSH supports ML-KEM hybrid methods (mlkem768nistp256-sha256 and mlkem1024nistp384-sha384) in FIPS mode, so confirm your own build reports these names. If the peer is not PQC-capable, the connection will fall back to a traditional method, and that result is also worth recording. This step is closed when you have the negotiated algorithm from a real connection.

  4. Verify SSH host key file permissions

    On each host, run ls -l /etc/ssh/ssh_host_*_key and confirm the private keys are mode 0600. The Rocky 10.0 and 10.1 release notes describe a restoration of stricter host key permissions, from 0640 to 0600, so hosts upgraded from earlier builds may still show the older mode. Fix any file that differs with chmod 0600 and restart sshd if your change process requires it. This step is closed when every private host key reads 0600 in the listing.

  5. Inventory non-PQC endpoints before any FUTURE change

    Before anyone sets the FUTURE policy, list every endpoint these hosts connect to that does not offer post-quantum key exchange, including internal services, vendor APIs, package mirrors and remote administration targets. The Rocky 10.2 announcement states that FUTURE allows only hybrid ML-KEM key exchange, removes all traditional methods, and will break connections to endpoints without PQC support, including most of the public internet. Use the connection test from the previous step against each endpoint and record the results. This step is closed when the list exists and each entry has an owner and a result.

  6. Decide on FUTURE with the inventory in hand

    Only after the inventory is complete, decide whether any host should move to FUTURE. Apply the change to a single non-production host first, using update-crypto-policies --set FUTURE, then rerun the connection tests and the inventory checks against it. Expect failures for endpoints that lack PQC support, and decide per endpoint whether to upgrade the peer, add an exception, or keep the host on DEFAULT. Record the outcome and the policy each host runs. This step is closed when the decision and its evidence are written down for the host group concerned.

Which Rocky Linux components carry post-quantum settings

Several Rocky Linux components expose post-quantum settings, and they do not all take effect in the same way. The cards below cover the components named in the Rocky 10.2 announcement and the crypto-policies levels that control them, so you can check each setting against the version you run.

OpenSSH hybrid key exchange

The Rocky 10.2 announcement states that OpenSSH now supports ML-KEM hybrid key exchange, using mlkem768nistp256-sha256 and mlkem1024nistp384-sha384, in FIPS mode. This is a key exchange setting, so it protects session keys and does not change host or user signatures. Confirm the OpenSSH version in your 10.2 build and check which key exchange algorithm the client and server negotiate with ssh -vv.

Rocky 10.2 announcement

libssh hybrid methods

The Rocky 10.2 announcement states that libssh adds hybrid key exchange methods that combine ML-KEM with ECDH. Applications that link libssh, rather than invoking the OpenSSH binaries, get these methods only if their library build includes them. Check the libssh version and the key exchange list your application offers, because a client built on an older library will not offer them.

Rocky 10.2 announcement

crypto-policies DEFAULT and FUTURE

The FUTURE policy in the 10.2 announcement allows only hybrid ML-KEM key exchange and removes all traditional non-post-quantum methods, which will break connections to endpoints without PQC support, including most of the public internet. The DEFAULT policy is not affected by this change. Before you select FUTURE, list the endpoints your systems contact and confirm each one supports PQC.

Rocky 10.2 announcement

Directory Server ML-DSA certificates

The Rocky 10.2 announcement states that Directory Server supports TLS certificates that use ML-DSA keys, at the ML-DSA-44, ML-DSA-65 and ML-DSA-87 levels. This setting concerns server certificates, so it depends on your certificate authority issuing ML-DSA certificates that clients can validate. Ask your PKI team whether your CA and your clients support ML-DSA before you request one.

Rocky 10.2 announcement

p11-kit PKCS #11 definitions

The Rocky 10.2 announcement states that p11-kit gains post-quantum definitions in its PKCS #11 headers. These are header definitions, so they help applications compile against post-quantum key types but do not, by themselves, add a post-quantum algorithm to a running service. Check whether the applications you build use these headers and whether your HSM or token vendor supports the key types.

Rocky 10.2 announcement

Podman and Sequoia-PGP image signatures

The Rocky 10.2 announcement states that Podman moves from GnuPG to Sequoia-PGP for OpenPGP image signature verification and supports the post-quantum algorithm ML-DSA-87+Ed448. Confirm that the signing keys in your image pipeline use this algorithm before you rely on it. Note that the 10.2 release notes do not mention Sequoia-PGP or Podman signature changes, so check the announcement and your own tests rather than the release notes.

Rocky 10.2 announcement

What breaks when FUTURE is set and where PQC quietly does not apply

Setting the FUTURE crypto-policy on Rocky Linux 10.2 is the change most likely to cause an outage, and the Rocky 10.2 announcement says why: the policy now allows only hybrid ML-KEM key exchange algorithms, all traditional non-post-quantum key exchange methods are removed from it, and this will break connections to endpoints that do not support PQC, including most of the public internet. Before you apply it, inventory every outbound client and service on the host that opens TLS or SSH sessions, including package mirrors, container registries, identity providers, monitoring endpoints and any vendor API. The DEFAULT policy is not affected by this change, so hosts that stay on DEFAULT keep their current behavior. Confirm which policy each host uses with update-crypto-policies --show and treat any host that moves to FUTURE as one that needs an allowlist of peers it must still reach.

A host can look post-quantum enabled while a given connection is not. Hybrid key exchange only takes effect when both sides offer it. If the peer lacks PQC, the session negotiates a classical algorithm, and nothing in the client's normal output will flag that. Check what was actually negotiated by testing the specific client against the specific endpoint and reading the chosen key exchange method, rather than inferring it from the host's policy setting. The same applies to libssh and OpenSSH peers that you do not control: a hybrid method on your side does not guarantee one on theirs. Also account for middleboxes such as TLS inspection appliances and older proxies that can strip, downgrade or reject newer handshakes; the sources supplied do not quantify how often this happens, so test representative traffic paths through them before relying on any outcome.

FIPS mode is a separate question and should not be read as a validation claim. The CIQ FIPS compliance page states that enabling FIPS mode on stock Rocky Linux gives no CMVP validation, and that FIPS 140-3 modules are available to Rocky Linux from CIQ (RLC) Pro subscribers only. The Rocky forum thread records that the project and the RESF took no part in the FIPS validation process. The Rocky 10.2 release notes do not mention crypto-policies or FIPS, and the 10.0 and 10.1 pages do not mention FIPS. Before you describe any host as FIPS-validated in an assessment, ask the vendor or your support provider for the exact validated module, version and certificate, and check that the same module is the one your host runs. Do not carry a FIPS mode setting into an audit answer as evidence of validation on its own.

Questions engineers ask about Rocky Linux post-quantum configuration

Is Rocky Linux quantum safe?

The sources reviewed do not support calling Rocky Linux quantum safe, and no certification or validation of that kind is documented. What is supported is narrower. Rocky Linux 10.0 release notes state that OpenSSL and OpenSSH work with post-quantum cryptography, and the 10.1 release notes state that post-quantum algorithms are enabled in all crypto-policies by default. The Rocky 10.2 announcement adds ML-KEM hybrid key exchange in OpenSSH and libssh, and ML-DSA certificate support in Directory Server. Whether a given connection actually uses these depends on the algorithms both endpoints negotiate and on the crypto-policy in force. Confirm that against your own configuration with the commands and tests in your environment.

Which Rocky Linux minor release is the minimum for default post-quantum algorithms?

Rocky Linux 10.1 is the first minor release whose release notes state that post-quantum algorithms are enabled in all crypto-policies by default. The 10.0 release notes say OpenSSL and OpenSSH work with post-quantum cryptography, but they do not describe those algorithms as on by default. Rocky 9.8 lists GnuTLS 3.8.10 with ML-KEM hybrid key exchange and ML-DSA, and OpenSSH 9.9, but its notes do not mention crypto-policies, so the 10.1 default statement does not carry over to 9.x. Check the crypto-policy setting on each host to see what is in effect.

Does enabling post-quantum cryptography on Rocky Linux cost extra?

The sources reviewed give no price for enabling post-quantum algorithms on stock Rocky Linux, and the 10.1 and 10.2 release notes do not describe a paid tier for it. Costs that do appear in the sources concern FIPS validation: CIQ states that FIPS 140-3 modules are available exclusively to Rocky Linux from CIQ (RLC) Pro subscribers. Ask the vendor or your support provider to confirm in writing whether any subscription, licence or module is required for each feature you plan to use. Internal effort also depends on how many hosts, applications and endpoints you must test and update.

What breaks if we set the crypto-policy to FUTURE on Rocky Linux 10.2?

The Rocky 10.2 announcement states that the FUTURE crypto-policy now allows only hybrid ML-KEM key exchange algorithms, that all traditional non-post-quantum key exchange methods are removed, and that connections to endpoints without PQC support will fail. The announcement names most of the public internet as affected. The DEFAULT policy is not changed by this. Before switching, inventory the SSH and TLS peers each host connects to, including backup targets, monitoring, package mirrors and administrative jump hosts, and test each one under FUTURE in a non-production environment.

Can our team configure post-quantum algorithms on Rocky Linux alone, or do we need help?

Whether your team can do this alone depends on what you run and how much of it must be tested. Rocky Linux's post-quantum settings sit in crypto-policies, OpenSSL, OpenSSH and libssh, and the 10.2 changes affect how those components negotiate with peers. Teams with a clear inventory of their connections, a test environment and a rollback plan can usually work through the configuration themselves. Teams that run many applications, depend on third-party peers or must produce compliance evidence may want outside help. DeployOpen plans and implements self-hosted platforms in client infrastructure and runs security testing, and it provides compliance readiness support without issuing attestations. Scope and fees are agreed in writing before work starts.

Does the Rocky Linux foundation validate its FIPS cryptographic modules?

No. A Rocky project release engineering reply on the Rocky forums states that the project and the RESF took no part in the FIPS validation process, and that the validated modules are not owned by the foundation or the project. CIQ states that enabling FIPS mode on stock Rocky Linux gives no CMVP validation, and that FIPS 140-3 modules are available only to Rocky Linux from CIQ (RLC) Pro subscribers. If a FIPS validation is part of your requirement, ask the module owner for the validation certificate number, the exact module version and the minor release it applies to.

Does Rocky Linux meet NSA CNSA 2.0?

The sources reviewed do not state that Rocky Linux meets CNSA 2.0, and neither the Rocky documentation nor the CIQ pages reviewed say so. CIQ's February 4, 2026 press release states that CNSA 2.0 key transition milestones begin in 2027, with full migration targeted by 2035. CNSA 2.0 applies to national security systems, so a commercial organization would reach it only through a contract requirement or as a reference. Ask the vendor for a written statement covering the specific algorithms, module versions and minor releases you need, and confirm any dates in writing.

Decision path for choosing a Rocky Linux crypto-policy

The path starts by checking the Rocky Linux minor version. On 10.1 or later, the default crypto-policy already includes post-quantum algorithms, so the default is the first choice to test. If you want the FUTURE policy, inventory the peers your systems connect to first, because under FUTURE only hybrid ML-KEM key exchange is allowed and any endpoint without ML-KEM support will fail. Where the inventory shows every peer supports it, proceed with the change and test each connection path before rollout.

Decision path for choosing a Rocky Linux crypto-policy based on minor version and peer support.

How DeployOpen works on this

DeployOpen plans, configures and tests post-quantum settings in Rocky Linux inside your own infrastructure, using the release-specific behavior described in the vendor's notes. We start from which Rocky Linux minor release you run and which crypto policy is set, because the settings that apply differ by release and by whether FIPS mode is on.

How we scope

  • Confirm your exact Rocky Linux minor release, since 10.1 and 10.2 differ on post-quantum defaults and the FUTURE policy.
  • Record which crypto-policy is active and whether FIPS mode is enabled, because FIPS validation status depends on the Rocky Linux subscription and release.
  • Agree the written scope in advance, covering which SSH, OpenSSL and libssh paths are changed and tested, and which systems stay out of scope.

How we build

  • Test any change to the FUTURE policy on a staging host first, since the 10.2 notes say it breaks connections to endpoints without PQC support.
  • Configure SSH key exchange and host settings, checking that hybrid ML-KEM methods negotiate with the clients you actually use.
  • Confirm the DEFAULT policy behavior is unchanged on hosts where you keep it, since the 10.2 notes say the FUTURE change does not affect DEFAULT.

How we hand over

  • Deliver a written record of each configured setting, the Rocky Linux release it applies to, and the test results that show it working.
  • Document the rollback steps for each policy and SSH change, so your operators can restore the prior state without guessing.
  • Provide a list of endpoints that cannot negotiate post-quantum key exchange, so you can plan their handling before a stricter policy is applied.

How we support

  • Ongoing support and continuous testing are available as a retainer, which covers re-checking settings after each Rocky Linux minor release.
  • Retesting after upgrades, since release notes can change which algorithms are enabled by default or removed from a policy.
  • Ask your Rocky Linux subscription provider whether FIPS 140-3 validated modules apply to your release, because validation status is not established by the project.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.