isquantumsafe Check a domain

isquantumsafe / Guides / F5 BIG-IP

Post-quantum TLS on F5 BIG-IP

Enable X25519MLKEM768 hybrid post-quantum key exchange (ML-KEM) on F5 BIG-IP 17.5.1+ with a cipher rule, cipher group and Client SSL profile, then test it.

Default
Off by default
You need
BIG-IP 17.5.1 (X25519MLKEM768); 21.1 adds P256rMLKEM768 and P384rMLKEM1024
Updated
4 December 2026 · 3 sources

BIG-IP supports X25519MLKEM768 from TMOS 17.5.1, but you turn it on yourself: F5's guide adds the group to a cipher rule, puts the rule in a cipher group and attaches the group to a Client SSL profile. Earlier versions cannot negotiate ML-KEM; 17.5.0 only had the draft X25519KYBER768.

Requirements

  • BIG-IP 17.5.1 or newer for X25519MLKEM768.
  • BIG-IP 21.1 or newer for P256rMLKEM768 and P384rMLKEM1024.
  • TLS 1.3 enabled on the Client SSL profile. F5 states that its PQC implementation works only with TLS 1.3.
  • A Client SSL profile that uses a cipher group, not a plain cipher string.

Enable it

Run these in tmsh on the BIG-IP. First create a cipher rule with the hybrid group in front of the default groups:

create ltm cipher rule pqc_rule cipher DEFAULT dh-groups X25519MLKEM768:DEFAULT signature-algorithms DEFAULT

DEFAULT after the hybrid keeps the classical groups (X25519, P-256 and others) as fallback. Then create a cipher group that allows the rule:

create ltm cipher group pqc_group allow add { pqc_rule }

Attach the group to your existing Client SSL profile, then save:

modify ltm profile client-ssl my_clientssl cipher-group pqc_group ciphers none
save sys config

In the GUI the same steps are: Local Traffic > Ciphers > Rules (enter X25519MLKEM768:DEFAULT in DH Groups), then Local Traffic > Ciphers > Groups, then on the Client SSL profile set Configuration to Advanced and select your group under Ciphers > Cipher Group.

To confirm the resolved groups, run show ltm cipher rule pqc_rule and look at the DH groups line.

Check it worked

From a machine with an OpenSSL 3.5 or newer client:

openssl s_client -connect www.example.com:443 -servername www.example.com \
  -groups X25519MLKEM768 -tls1_3 </dev/null 2>/dev/null | grep -i "group"

You should see Negotiated TLS1.3 group: X25519MLKEM768.

Run a free check at https://isquantumsafe.net/ to see the negotiated group and your grade.

Common problems

  • Older TMOS. X25519MLKEM768 is documented from 17.5.1. On earlier versions the cipher rule will not accept it. Upgrade first.
  • TLS 1.3 not enabled. If the profile's options include no-tlsv1.3, TLS 1.3 is off and hybrid groups are never used. Remove that option.
  • Still on the draft group. Profiles built on 17.5.0 may list X25519KYBER768, a pre-standard draft. Replace it with X25519MLKEM768.
  • Larger ClientHello. Hybrid key shares make the client's first message bigger than one packet. Older middleboxes in front of the BIG-IP can mishandle it.

Sources

  1. Integrating PQC on the client side (BIG-IP 17.5.1 SSL Administration)
  2. Integrating PQC (BIG-IP 21.1.0 SSL Administration)
  3. Future-proofing your network: enabling quantum ciphers on F5 BIG-IP TMOS 17.5.1 (F5 DevCentral)

Other guides: Web servers