What a post-quantum upgrade of MQTT involves: hardware and licenses

MQTT's specifications define no post-quantum algorithm, so an upgrade happens in the broker and client TLS stack, not in hardware or licensing of the protocol itself. Whether hybrid key exchange is available depends on the TLS library each product ships.

On this page

Does a post-quantum MQTT upgrade require new hardware or licenses?

MQTT 3.1.1 and MQTT 5.0 define no post-quantum algorithm, so the protocol itself does not dictate hardware or license changes. Any post-quantum work happens in the broker software and in the TLS library that the broker and its clients use to set up encrypted connections. As of 2026-12-04, the OASIS MQTT Technical Committee page and both specifications do not mention post-quantum cryptography, and the sources listed on this page show no MQTT-specific post-quantum switch, roadmap item or vendor notice. The sources do not say whether any particular broker product will add one, so confirm that directly with the vendor.

Planners should care most about brokers that terminate TLS for healthcare, industrial and IoT traffic, because those brokers hold the long-lived device and server certificates and key exchanges that a migration would touch. For an open-source broker such as Mosquitto, the relevant controls are the listener options certfile, keyfile and cafile, plus tls_version, ciphers and ciphers_tls1.3. The Mosquitto manual says nothing about post-quantum cryptography or a key exchange group setting, and its latest release notes do not mention it either. EMQX documents mutual TLS and TLS 1.3 but names no post-quantum option. Hardware is only in scope where the broker's TLS library runs on a device with fixed firmware or a hardware security module, so ask the vendor where its TLS code and key storage actually run.

The practical outcome is a scoping question before any budget question. Ask each broker vendor whether a release will add post-quantum or hybrid key exchange through its TLS library, which library version it ships, whether that upgrade needs new licenses or only a software update, and whether existing devices can be upgraded or must be replaced. OpenSSL 3.5.0, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default TLS key shares include X25519MLKEM768 alongside X25519, so a broker built on that library has a path to test. Record the answers with the broker version and TLS library version in your inventory, because the same MQTT deployment can behave differently depending on which of those two components it runs.

Where a post-quantum change lands, by version and component

This table compares the MQTT specification versions and two broker implementations, showing where TLS and any post-quantum support sit in each. The specifications contain no post-quantum algorithms, so any change depends on the broker's TLS library and its version. Read each row against its source and check date before planning an upgrade.

ComponentPost-quantum support in the sourceWhere a change would landSource and check date
MQTT 3.1.1 (OASIS Standard)No post-quantum algorithms. Security chapter is non-normative and leaves algorithm choice to the implementer.Transport: TLS on the broker listener and client credentials. No protocol-level switch exists.OASIS MQTT 3.1.1 spec, checked 2026-12-04
MQTT 5.0 (OASIS Standard, published 07 March 2019)No post-quantum algorithms. Extended authentication uses a method defined outside the specification.Authentication method named in CONNECT and CONNACK, which the chosen method defines. Transport TLS as with 3.1.1.OASIS MQTT 5.0 spec, checked 2026-12-04
Mosquitto broker (TLS via OpenSSL)Manual and release blog checked mention no post-quantum setting, ML-KEM or key exchange group option. Options tls_version, ciphers and ciphers_tls1.3 are named, with no default listed for the ciphers options.Listener TLS settings and the OpenSSL build it links against. Confirm with the vendor whether a given release exposes key exchange group controls.Mosquitto mosquitto.conf manual and Mosquitto blog, checked 2026-12-04
EMQX brokerNetwork documentation names TLS 1.3 as the only version listed. No cipher suites or post-quantum algorithms are listed.Client listener TLS configuration. Confirm with EMQX which TLS library and key exchange groups its releases use.EMQX network overview, checked 2026-12-04
OpenSSL 3.5.0 (released 8 April 2025)Adds ML-KEM, ML-DSA and SLH-DSA. Default TLS key shares include X25519MLKEM768 alongside X25519.The TLS library under a broker that links it. Brokers built on OpenSSL 3.5.0 or later inherit these defaults, which the broker operator must verify.OpenSSL NEWS, checked 2026-12-04

Why the TLS library, not the MQTT protocol, carries the upgrade

The post-quantum change for MQTT happens in TLS, not in the MQTT protocol. MQTT is a publish/subscribe messaging protocol, and its specifications are written so that the transport and the implementation choose the cryptography. In a typical deployment, the cryptography sits in two places: TLS on the broker listener and TLS in each client. Those TLS sessions use X.509 certificates, public-key key exchange and signatures, and the client may also authenticate with a password or a client certificate. The MQTT 3.1.1 specification states that conformance does not depend on any particular transport, so the protocol itself does not mandate TLS, a TLS version or a cipher suite. The MQTT 5.0 specification likewise leaves Authentication, Authorization and secure communication to the implementation, and its security chapter is non-normative.

This means the upgrade question for an MQTT deployment is a question about the TLS library the broker and each client use. The OpenSSL 3.5.0 release, dated 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default TLS key shares include X25519MLKEM768 alongside X25519. A broker or client built on a TLS library that exposes these algorithms can, in principle, negotiate post-quantum key exchange without any change to MQTT itself. The sources reviewed here do not confirm that any particular broker build enables those groups by default, so confirm the TLS library version, the build options and the key exchange groups the listener actually negotiates before planning the change.

Which parts of an MQTT deployment the upgrade touches

An MQTT upgrade is not one switch. The protocol specifications leave cryptography to the implementation, so the work lands on the broker's TLS listeners, client authentication, bridges and the TLS library underneath them. Each card below names one part of the deployment, what would change there and what the sources on this page do not state.

Broker TLS listener settings

In Mosquitto, the listener options certfile, keyfile and cafile set the server certificate, its private key and the CA bundle, and both certfile and keyfile must be present to enable certificate-based TLS. The cipher options ciphers (TLS 1.2 and earlier) and ciphers_tls1.3 set the allowed suites, and tls_version sets which protocol versions are offered. The Mosquitto manual states no default for either cipher option. A post-quantum upgrade would change the certificate chain and the key exchange, so each listener needs its own review. Confirm the exact values on every listener in your configuration files.

Mosquitto manual

Client TLS and client certificates

With require_certificate set to true, clients must present a valid certificate, and use_identity_as_username takes the certificate CN as the username. Both settings tie client identity to the certificate, so replacing client certificates later changes how clients log in. The sources do not say which key types Mosquitto accepts for client certificates. Confirm with your certificate issuance process which algorithms your clients use today.

Pre-shared-key listeners

Mosquitto's psk_hint enables TLS pre-shared-key support on a listener, and psk_file names the key file that holds the secrets. A PSK listener does not depend on certificates for its server identity, so it does not follow the same certificate path as the other listeners. The sources do not state whether PSK listeners can be combined with post-quantum key exchange in any Mosquitto release. Confirm this with the vendor before you plan changes to PSK listeners.

Bridge connections to other brokers

Bridges link one broker to another, and the Mosquitto manual states that bridge_tls_version defaults to tlsv1.2 for bridge connections. A bridge therefore may not use the same protocol versions as your listeners unless you set the value explicitly. Each bridge is a separate TLS client with its own certificate settings, so an inventory must include them. Confirm which version each bridge negotiates in your environment.

The OpenSSL or other TLS library

MQTT with TLS depends on the TLS library the broker and clients are built against, not on the MQTT protocol. OpenSSL 3.5.0, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default TLS key shares include X25519MLKEM768 alongside X25519. The Mosquitto blog I checked on 2026-12-04 mentions no post-quantum cryptography or key exchange group setting, and its latest release, 2.1.4, dated 2026-11-17, requires OpenSSL 3.0 or later. Confirm which library and version each broker and client uses, and whether that build exposes the post-quantum groups.

OpenSSL release notes

The MQTT 5.0 Authentication Method extension

MQTT 5.0 defines an AUTH packet and an Authentication Method property in CONNECT and CONNACK, which let a client and server run an extended authentication exchange. The method name and data are defined by the chosen method, not by the specification. An upgrade to a post-quantum authentication method would therefore depend on which methods your broker and client libraries implement. The OASIS MQTT TC page and the MQTT 5.0 specification do not mention post-quantum cryptography, so confirm with your broker vendor which authentication methods it supports.

MQTT 5.0 specification

How the upgrade differs by broker and deployment model

Mosquitto built against OpenSSL 3.0 or later is the most direct path, because the TLS library is where post-quantum key exchange would come from. OpenSSL 3.5.0, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default TLS key shares include X25519MLKEM768 alongside X25519. The Mosquitto manual and release blog checked on 2026-12-04 do not mention post-quantum cryptography or a key exchange group setting, so the broker's own configuration is not the lever.

  • Library version: confirm the OpenSSL version your Mosquitto binary links against, since the 3.5.0 additions are what make the upgrade possible.
  • Protocol negotiation: check whether your clients also run OpenSSL 3.5.0 or later, because a hybrid key share needs both sides to offer it.
  • Listener settings: tls_version defaults to allow both TLSv1.3 and TLSv1.2, and ciphers_tls1.3 has no default in the manual.
  • Client certificates: require_certificate and cafile govern client authentication and are separate from key exchange.
  • Vendor position: the sources do not say whether the Mosquitto project plans post-quantum support, so ask the project or your distributor.

Before you plan changes, confirm the exact OpenSSL and Mosquitto versions in your build and test the handshake in a non-production listener.

Steps to plan the upgrade, in order

This sequence establishes what MQTT is actually doing with cryptography in your environment before any change is made. Each step closes with a named check, so the upgrade plan rests on confirmed facts about your brokers, libraries and clients rather than on assumptions about post-quantum support.

  1. Inventory brokers and clients that terminate TLS

    Start by listing every MQTT broker and every client or bridge that opens a TLS connection to one. For each, record the broker or client software and its version, the TCP port in use (8883 for TLS by convention, 1883 for non-TLS), and whether the endpoint uses server certificates, mutual TLS, or pre-shared keys. The inventory is complete when each listener and client has a row with those fields filled in and an owner named against it. Confirm the port and TLS settings against the live configuration files, not only against documentation.

  2. Identify the TLS library each component uses

    For each broker and client on the inventory, find out which TLS library it links against and which version of that library is deployed. For Mosquitto, the library is OpenSSL, and the build and package metadata will show the version. Clients may use OpenSSL, another library, or a language runtime's TLS stack. The check that closes this step is a written record of the library name and exact version per component, confirmed from the installed binary or package manager rather than from the project's name alone.

  3. Confirm library support for ML-KEM and hybrid groups

    With the library versions recorded, check whether each one supports ML-KEM and hybrid key exchange groups. The sources list OpenSSL 3.5.0, released 8 April 2025, as adding ML-KEM and as having X25519MLKEM768 among its default TLS key shares. Older versions may not offer these groups, and the sources do not say what other libraries support. Confirm the support in each library's own release notes or documentation. The step closes when every component is marked as supporting, not supporting, or unknown, with the source of each mark.

  4. Check for a broker key exchange group setting

    Determine whether each broker exposes a configuration setting that selects the TLS key exchange group. The Mosquitto manual and release blog checked on 2026-12-04 name no such setting and mention no ML-KEM or post-quantum groups. The EMQX network overview lists no cipher suites or key exchange options either. Confirm with each broker vendor or project whether any such setting exists in the version you run, and record the answer. If the setting does not exist, the key exchange group is determined by the TLS library and its defaults, which must then be verified in the next step.

  5. Test a non-production listener with current clients

    Set up a non-production broker listener using the same library and version as production, and connect the clients you plan to upgrade. Observe which key exchange group is negotiated, using the TLS connection details each client or library can report. Test both the broker side and the client side, since either may limit the outcome. Record the negotiated group, the TLS version and any connection failures. The step closes when you have a test result showing whether a post-quantum or hybrid group was negotiated, and whether existing clients still connect, without relying on the protocol specification to decide it.

  6. Plan certificate and client updates

    Only after the tests above, plan the changes to certificates and client software. Identify which certificates would need replacing, which client libraries need updating, and whether the change affects only the transport or also any authentication method in use. Ask each vendor what their upgrade path is and whether they have published a timeline, and record the answer with its date. The step closes with a written change plan that lists each component, its required update, the owner, and the test result that supports it. Do not treat this plan as a schedule until you have vendor confirmation for every component.

Where the TLS library sits between MQTT clients and the broker

The diagram starts with MQTT clients and bridged brokers, which open connections to the broker listener over TLS. The TLS library and certificate store sit between the listener and the MQTT protocol layer, handling the handshake, key exchange, signatures and certificate checks. The MQTT protocol layer above stays the same, so a post-quantum change would mostly touch the TLS library and certificates, plus client and bridge configuration. Check which TLS library and version each broker and client uses, and whether its build supports the post-quantum key exchange and signature options you plan to use.

Client and bridge TLS connections reach the listener, with the TLS library and certificates below the unchanged MQTT layer.

What vendors have not published, and what to ask them

The MQTT specifications and the sources checked on 2026-12-04 do not settle how post-quantum key exchange, standards positions or cipher options would reach a deployed broker. Each card names one gap and the question to put to the vendor or project before planning hardware, licenses or redesign.

Hybrid or ML-KEM key exchange

The Mosquitto manual and release blog checked on 2026-12-04 name no hybrid key exchange, no ML-KEM and no TLS key exchange group setting. Post-quantum key exchange in MQTT over TLS depends on the TLS library the broker is built against, so the broker's documentation must say which library and version it uses. Ask the vendor whether the broker can negotiate a hybrid or ML-KEM key exchange group on its listeners, and in which release. Ask also whether that setting would appear in the configuration file or come only from the underlying library.

Mosquitto manual

Post-quantum work in the MQTT TC

The OASIS MQTT Technical Committee page states there is no formal roadmap and lists candidate enhancements such as message priority, expiry, payload typing and request/reply. None of the listed enhancements is cryptographic, and no MQTT specification defines a post-quantum algorithm or authentication method. Ask the committee whether a post-quantum change is in scope for any future version, and whether a draft or ballot exists that a planner can read. Until that answer is published, treat the protocol as having no post-quantum plan of its own.

OASIS MQTT TC page

FIPS and CNSA 2.0 position

The MQTT 3.1.1 specification mentions FIPS PUB 140-2 and NSA Suite B only in non-normative guidance, and it places no requirement on either. The OASIS page publishes nothing on FIPS or CNSA 2.0 for the protocol. Organizations that must meet CNSA 2.0 through a federal contract should ask each broker vendor for its written position on FIPS validation of the TLS module and on which algorithms it would use under CNSA 2.0. Ask for the validation certificate number and the module version, not a general statement of compliance.

MQTT 3.1.1 spec

EMQX cipher and group options

The EMQX network overview checked on 2026-12-04 lists one-way and mutual TLS, optional CRL checking and OCSP stapling, and names TLS 1.3 as the only version. It lists no cipher suites and no key exchange groups, and it says nothing about post-quantum cryptography. Ask EMQX which TLS groups and cipher suites its listeners accept, whether a hybrid group such as X25519MLKEM768 can be enabled, and which release would add it. Ask also which OpenSSL or other TLS library version the release is built against.

EMQX network overview

What can break or silently stay classical during the change

The main risk in changing an MQTT deployment is not that post-quantum support is missing, but that a change appears to succeed while the connection still negotiates classical key exchange. Three things can cause this: a client or middlebox that rejects a new key exchange group, a TLS library that is too old to offer one, and a listener whose cipher settings fall back to whatever the library allows. The MQTT specifications do not define any of this, so the behavior comes from the broker and the TLS stack. Before changing anything, record the current TLS library version of every broker, bridge and client, and confirm which library each one actually loads at runtime, since a container or appliance may ship a different version than the one on the build sheet.

Library versions are the first hard limit. Mosquitto 2.1.0 removed support for OpenSSL versions older than 3.0, so a broker built against OpenSSL 1.1.1 cannot be carried forward to 2.1.x without an OpenSSL upgrade first. OpenSSL 3.5.0, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default TLS key shares include X25519MLKEM768 alongside X25519. Whether a given Mosquitto build links against a library that offers these groups, and whether the Mosquitto release in use exposes any setting to choose them, are points to confirm with the vendor or in the build configuration, because the Mosquitto manual and blog checked on 2026-12-04 do not mention post-quantum groups or a key exchange group setting. Clients and middleboxes such as load balancers and inspection appliances need the same check, since a new group offered by a client may be stripped or refused in transit.

Two defaults in the Mosquitto manual deserve particular attention. The manual gives no default for ciphers or ciphers_tls1.3, so a listener where these are left unset depends on the library's built-in list, which can include classical-only suites and may not change when the library is upgraded. Bridges are a separate case: bridge_tls_version defaults to tlsv1.2, so bridge links to other brokers can stay on TLS 1.2 unless set explicitly. Make these keys explicit in configuration review. Then verify the result in testing rather than assuming it: capture the handshake from a representative client to each listener and bridge, and record the negotiated key exchange group and cipher suite. A change is only confirmed when that captured value matches the intended group, and it should be retested after every library, client or middlebox update.

Questions planners ask about MQTT post-quantum upgrades

Is MQTT quantum safe?

No MQTT specification makes that claim, and the sources listed on this page do not show that any MQTT deployment is quantum safe. The OASIS MQTT TC page and the MQTT 5.0 and 3.1.1 specifications do not mention post-quantum cryptography, so the protocol itself defines no post-quantum algorithm or switch. Any post-quantum protection comes from the TLS library under the broker and client. Mosquitto's manual and release notes, checked on 2026-12-04, mention no post-quantum support, and the EMQX network overview names no post-quantum cryptography. Confirm the current position for your broker and version with its vendor before you record an answer.

Does an MQTT post-quantum upgrade need a licence or new hardware?

The sources on this page do not say that a licence or new hardware is required. The change sits in the TLS stack: the broker and client must run a TLS library that offers post-quantum key exchange, and the configuration must select it. Whether existing devices can run that stack depends on their processor, memory and firmware, and on whether the vendor ships a build that includes it. Check three things with the vendor: whether a new licence tier applies to the version you need, whether the device firmware can take the updated library, and whether the hardware has the resources for larger key exchange messages. Ask for these answers in writing before you budget.

Can MQTT use hybrid post-quantum key exchange today?

Hybrid key exchange is possible only where the TLS library offers it. OpenSSL 3.5.0, released on 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default TLS key shares include X25519MLKEM768 alongside X25519. A broker or client built on OpenSSL 3.5.0 or later can therefore negotiate that hybrid group, provided its configuration allows it. A hybrid group combines a classical and a post-quantum key exchange, so the connection stays protected by the classical part if the post-quantum part has a flaw. Whether your MQTT product exposes a setting for the key exchange group is not stated in the sources listed here, so confirm it with the vendor.

Which MQTT version do I need for post-quantum support?

The MQTT protocol version does not decide post-quantum support, because neither MQTT 5.0 nor MQTT 3.1.1 defines any post-quantum algorithm. MQTT 3.1.1 leaves transport security to TLS and does not mandate a TLS version or cipher suite. MQTT 5.0 adds an extended authentication exchange whose method is defined by the chosen method, not by the specification. The version that matters is the version of the broker and client software, together with the OpenSSL or other TLS library it is built against. Mosquitto's 2.1.0 release removed support for OpenSSL older than 3.0, so check the broker's release notes and build options for the TLS library version it uses.

What drives the cost of an MQTT post-quantum upgrade?

The main cost drivers are the number of brokers and clients, the amount of firmware or software that must be rebuilt or updated, and the amount of testing needed across the device fleet. Costs that do not recur include the inventory of TLS listeners and certificates, the library upgrade, and the test plan. Costs that may recur include licence fees for the broker, support contracts and periodic re-testing. Devices that cannot take a new TLS library may need replacement or isolation, which is the largest variable. The sources on this page give no figures for these costs. Ask the vendor for a written quote that separates the software update, the device changes, and any licence changes.

Can our team upgrade MQTT post-quantum support alone, or do we need outside help?

Your team can likely do the inventory and the broker configuration if it already runs MQTT and TLS in production, but the sources on this page do not say how much work any given deployment needs. The work breaks into four parts: an inventory of TLS listeners, certificates and clients; a TLS library upgrade on each broker and client; configuration of the key exchange and cipher settings; and testing across devices that may not support the new library. Outside help is most useful for the device fleet, for devices with long lifetimes or constrained firmware, and for an independent review of the result. DeployOpen plans, implements and tests self-hosted platforms in your infrastructure and can scope that work as a fixed-scope engagement with written deliverables.

How DeployOpen plans and tests an MQTT post-quantum change

DeployOpen works on MQTT upgrades by first confirming which broker, client TLS library and listener settings a deployment actually runs, because the protocol specifications do not define post-quantum algorithms. The work is then scoped in writing, built and tested in the client's own environment, and handed over with documentation the client's engineers can review.

How we scope

  • Each engagement starts with a written scope that names the broker software, its version and the TLS library it is built against.
  • We confirm which listeners, bridges and client types are in scope, including any legacy websockets or bridge connections.
  • Scope documents state which hardware, licenses or vendor updates the client is responsible for and which DeployOpen will handle.
  • Engagements are fixed-scope, so deliverables and timelines are agreed before work begins.

How we build

  • We review the current listener settings, including certificate files, cipher and TLS version options, and client authentication.
  • Changes to the TLS library or broker version are tested in a staging copy of the client's own infrastructure before any production change.
  • We check which client libraries negotiate post-quantum key exchange, since that depends on their TLS stack rather than on MQTT.
  • Testing covers connection setup, certificate validation and fallback behavior for clients that cannot yet take the change.

How we hand over

  • The handover includes a record of each listener, its TLS settings and the versions of every component involved.
  • We document which settings were changed, why, and how to roll them back if a client fails to connect.
  • Compliance and security teams receive evidence they can review; DeployOpen does not issue audit reports or certifications.
  • Open items, such as clients awaiting library updates or vendor confirmations, are listed with an owner.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • When the broker, client libraries or vendor documentation change, we retest the affected listeners and update the record.
  • Support requests are handled against the written scope, with any new work quoted separately.
  • Clients should confirm with their broker and library vendors which post-quantum options they support before scheduling changes.

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.