2.8. Disabling post-quantum algorithms system-wide
From RHEL 10.1, post-quantum cryptography (PQC) algorithms are enabled in all predefined policies by default. You can turn them off by applying the NO-PQ subpolicy.
Prerequisites
-
Commands that start with the
#command prompt require administrative privileges provided bysudoor root user access. For information on how to configuresudoaccess, see Enabling unprivileged users to run certain commands.
Procedure
Apply the
NO-PQcryptographic subpolicy on top of your current system-wide policy, for example:# update-crypto-policies --show DEFAULT # update-crypto-policies --set DEFAULT:NO-PQTo make your cryptographic settings effective for already running services and applications, restart the system:
# reboot
Verification
Check that the
/etc/crypto-policies/state/CURRENT.polfile does not contain PQC algorithm stringsMLKEM,MLDSA, andKEM-ECDH, for example:$ cat /etc/crypto-policies/state/CURRENT.pol | grep MLKEMThe output of the previous command must be empty.