Which MariaDB connection hops support post-quantum key exchange today
Database teams checking which hops in a MariaDB deployment carry post-quantum key exchange need one fact first: MariaDB's documentation describes automatic hybrid ML-KEM key exchange for client-server TLS 1.3 when the server is linked against OpenSSL 3.5.0 or later, with no server system variables to change. The same documentation names X25519MLKEM768 as the negotiated group and says clients without post-quantum support fall back to classical TLS 1.3 key exchange. The sources checked on 2026-12-03 do not establish post-quantum support for Galera replication links, for replication with CHANGE MASTER TO, or for the connectors and proxies in the path, so each of those hops needs its own confirmation. Database engineers and security leads who record connection-path controls should own this review, with platform engineers for the Galera and proxy checks.
Start by confirming the OpenSSL version the server is linked against, since the documented ML-KEM negotiation does not apply with older OpenSSL. Then run openssl s_client -starttls mysql localhost:3306 against the server and read the negotiated group, which should show X25519MLKEM768 when the hybrid exchange is active. AWS reports that RDS for MariaDB exposes the negotiated group as ssl_named_group, and lists hybrid key exchange there as opt-in, requiring at least MariaDB 12.3.3 and updated clients, with no date on that row. Record each result against the server version, edition and client library used, because a successful handshake from one client does not show that other connectors negotiate the same group.
For the Galera hops, the Galera guide states that replication is unencrypted by default and that TLS is set through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. The guide does not tie those settings to any post-quantum group, so treat Galera replication and state transfer as unconfirmed for key exchange. The 12.3.3 release notes say state transfer now aborts instead of falling back to unencrypted transfer when encryption fails, which is worth verifying in your own test cluster. Ask the vendor directly, and check the Jira item MDEV-38927, which requests ML-KEM and connector options but lists no fix version. Keep the proxy and connector checks as open items until the vendor confirms them in writing.
Support status by hop, version and component
This table walks each hop in a MariaDB connection path and gives the documented post-quantum status, the version or component it applies to, and the source and date. Read each row separately, because TLS key exchange on the server, client connectors, Galera links and proxies are documented differently. Rows marked not established have no source in the checked material that confirms support, so confirm them with the vendor before relying on them.
| Hop | Status | Version or component | Source and date |
|---|---|---|---|
| Client connector | Not established | Connector versions and their TLS libraries are not named in the checked sources | MariaDB Post-Quantum Cryptography in TLS, checked 2026-12-03 |
| MariaDB server client listener | Supported (hybrid ML-KEM key exchange, negotiated automatically) | Server linked against OpenSSL 3.5.0 or later, TLS 1.3, group X25519MLKEM768 | MariaDB Post-Quantum Cryptography in TLS, checked 2026-12-03 |
| Galera replication link | Not established | Galera TLS is set through wsrep_provider_options; post-quantum key exchange is not stated in the Galera guide | Securing Communications in Galera Cluster; MariaDB 12.3.3 Release Notes, 2026-08-24 |
| Galera state transfer | Not established | Depends on method: rsync uses stunnel, mysqldump follows client config, mariadb-backup has its own TLS section | Securing Communications in Galera Cluster; MariaDB 12.3.3 Release Notes, 2026-08-24 |
| Replica link | Not established | Replication TLS via CHANGE MASTER TO MASTER_SSL=1; post-quantum groups not named for replication | Replication with Secure Connections; MariaDB 12.3 Changes and Improvements |
| MaxScale or other proxy | Not established | No MaxScale post-quantum support is documented; MaxScale uses an OpenSSL FIPS provider in the enterprise operator | MariaDB Enterprise Operator FIPS, checked 2026-12-03 |
| Amazon RDS for MariaDB | Opt-in hybrid key exchange | Requires at least MariaDB 12.3.3 and updated clients; no date given for this row | AWS PQ Readiness Confidentiality, checked 2026-12-03 |
Which connectors, Galera links and proxies sit in the path
Several components open or terminate TLS between a client and a MariaDB server, and each one has its own settings. The sources document TLS for most of them but do not confirm which carry a hybrid post-quantum key exchange, so each should be checked separately.
Client connectors
Client connectors open the TLS session from the application side and decide which protocol versions and ciphers are offered. The MariaDB post-quantum page says the server negotiates ML-KEM when it is linked against OpenSSL 3.5.0 or later, but the sources reviewed here do not state which connector libraries offer X25519MLKEM768. Confirm the connector library version and its TLS stack for each application. Clients without post-quantum support fall back to classical TLS 1.3 key exchange, so a connector that is not upgraded will not show the hybrid group.
PQ TLS docsServer listener negotiation
The server listener is where the hybrid group is negotiated, so it decides what a connecting client can receive. MariaDB documents that the server needs OpenSSL 3.5.0 or later and that no server variables change this behavior. The tls_version and ssl_cipher variables still control which protocol versions and ciphers are permitted. Run openssl s_client with -starttls mysql against the listener to check the negotiated group. Confirm the build links OpenSSL, because the ssl_crl variable only works with OpenSSL.
TLS system variablesGalera replication links
Galera replicates data between nodes without encryption by default, so the socket.ssl_cert, socket.ssl_key and socket.ssl_ca settings in wsrep_provider_options must be set on each node. MariaDB's Galera guide does not state a default for socket.ssl_cipher, so set it explicitly if ciphers must be restricted. The guide does not say whether these links negotiate a hybrid group. Confirm this with the vendor before relying on the Galera links for post-quantum protection.
Galera security guideGalera state transfer methods
State transfer copies data to a joining node, and TLS support depends on the method. rsync uses stunnel for encryption in transit, mysqldump follows the MariaDB client configuration, and mariadb-backup has its own TLS section. MariaDB 12.3.3 changed the behavior so that the transfer aborts instead of falling back to an unencrypted transfer when encryption fails. Confirm the method in use on each cluster and the stunnel version for rsync, since the sources do not describe post-quantum negotiation for any of these methods.
12.3.3 release notesReplication links
Replicas connect to their source with TLS enabled through CHANGE MASTER TO MASTER_SSL=1. MASTER_SSL_CIPHER restricts the ciphers offered, and MASTER_SSL_VERIFY_SERVER_CERT is enabled by default from MariaDB 11.3. MariaDB 12.3 added configurable defaults for the MASTER_SSL_* settings. Check the server version on both source and replica, since the defaults differ across releases. The sources do not state whether replication links negotiate a hybrid key exchange, so confirm this with MariaDB before assuming it.
Replication TLS docsProxies such as MaxScale
Proxies such as MaxScale sit in the connection path and terminate client TLS before forwarding queries to the servers. A proxy that terminates TLS can change which group a client negotiates, so the proxy must be checked as its own hop. The sources reviewed here do not describe MaxScale's post-quantum behavior, though MariaDB's Enterprise Operator documentation says MaxScale relies on an OpenSSL FIPS provider. Confirm the MaxScale version and its OpenSSL build with the vendor.
Enterprise Operator FIPSWhere the negotiated group is set in the connection path
The diagram traces a client connection from the connector through an optional proxy to the MariaDB server TLS listener, with Galera node links shown separately. The post-quantum hybrid group X25519MLKEM768 is negotiated only on the TLS 1.3 link to a server built with OpenSSL 3.5.0 or later, and only when the client also supports it. Check each hop: the connector's TLS library, whether a proxy terminates TLS itself, and the server's OpenSSL build. Galera replication links are not covered by that TLS negotiation.
Client, proxy, server TLS listener and Galera links, with negotiation status per hop.
How the answer changes by OpenSSL build and deployment model
When MariaDB is compiled against OpenSSL 3.5.0 or later, the server negotiates a hybrid post-quantum key exchange for TLS 1.3 without any server system variable to change. MariaDB's documentation says the negotiated mode combines classical X25519 with ML-KEM (FIPS 203) and appears as the group X25519MLKEM768. Clients that do not offer post-quantum support fall back to classical TLS 1.3 key exchange, so connections still succeed.
- Automatic negotiation: The server offers the hybrid group when the OpenSSL build supports it; there is no server variable to enable it.
- Group name: The negotiated group is shown as X25519MLKEM768 when checked with
openssl s_client -starttls mysql localhost:3306. - Fallback: Clients without post-quantum support continue with classical X25519 or other classical groups.
- Scope: The documentation covers the TLS 1.3 key exchange only; it does not say that certificates or server authentication are post-quantum.
- Certificates: MariaDB's page names ML-DSA (FIPS 204) but does not state that MariaDB supports ML-DSA certificates, so keep RSA or ECDSA server certificates in your inventory.
Confirm the OpenSSL version your binary links against with have_openssl and your build or package documentation, and test the negotiated group from each client type you run.
MariaDB's documentation says that with OpenSSL older than 3.5.0 the server does not negotiate ML-KEM, so the post-quantum key exchange described for newer builds does not apply. The same is true when the server uses the bundled library rather than OpenSSL. In this case the connection uses the classical TLS 1.3 key exchange your build provides, and the ssl_crl variable is valid only when the server is built with OpenSSL.
- No ML-KEM: Builds against OpenSSL below 3.5.0 do not negotiate the hybrid group.
- Bundled library: Servers that use wolfSSL or yaSSL rather than OpenSSL do not have the same behavior documented for this feature.
- Detection: The
have_opensslvariable shows whether the server uses OpenSSL instead of the bundled library. - CRL support:
ssl_crlis valid only with an OpenSSL build, which is another reason to confirm the library in use. - Upgrade path: A rebuild or package change against a newer OpenSSL is needed before the server can offer the hybrid group.
Record the OpenSSL version and the have_openssl value for each server in your inventory, and confirm with the vendor or package maintainer which build your distribution ships.
AWS lists hybrid post-quantum key exchange for Amazon RDS for MariaDB as opt-in, with no date given on that row of the AWS readiness page. The option requires an upgrade to at least MariaDB 12.3.3 and updated clients. Sessions expose the negotiated group through the ssl_named_group value, so you can confirm the mode from inside a session.
- Opt-in: Hybrid key exchange is not on by default according to the AWS listing.
- Minimum version: MariaDB 12.3.3 or later is required on the instance.
- Client requirement: Clients must also be updated to offer the post-quantum group.
- Verification: Check
ssl_named_groupin an active session after the change. - Other managed features: The AWS entry addresses connection key exchange; it does not confirm post-quantum certificates or stored-data protection.
Confirm with AWS the current enablement steps, the parameter or setting that turns the option on, and whether any region or engine version limits apply, since the page gives no date for the row.
MariaDB's Enterprise Operator documentation says MariaDB Enterprise Server and MaxScale rely on an OpenSSL FIPS provider, and it lists OpenSSL FIPS provider Certificate #4857. In the operator, FIPS mode is enabled with the Helm value fips.enabled: true, which sets GODEBUG=fips140=on. The sources checked do not say whether the FIPS provider in this build includes ML-KEM or ML-DSA, so the post-quantum behavior must be confirmed separately.
- Certificate reference: The page lists OpenSSL FIPS provider Certificate #4857; verify the certificate status with the issuer rather than treating the listing as a conclusion about the product.
- Operator setting:
fips.enabled: trueturns on FIPS mode in the Enterprise Operator deployment. - Scope of the source: The documentation covers the operator and the provider, not whether hybrid post-quantum groups are offered in FIPS mode.
- Component boundary: Enterprise Server and MaxScale are named together, so check each component's TLS behavior.
- Testing: Run the negotiated-group check from each client after enabling FIPS to see which groups are actually offered.
Confirm with MariaDB whether its FIPS provider build includes post-quantum groups and which edition and version your enterprise deployment uses.
How to review each hop before enabling hybrid TLS
This sequence checks each link in the MariaDB connection path, from the server build through connectors, Galera replication and proxies, before hybrid post-quantum TLS is switched on. It produces a per-hop record of what negotiates, what falls back and what remains classical.
Confirm the server's OpenSSL linkage and build
The database engineer checks that the server is linked against OpenSSL, since MariaDB's documentation says the server negotiates ML-KEM for TLS 1.3 only when built against OpenSSL 3.5.0 or later. Run SHOW VARIABLES LIKE 'have_openssl' and record the value along with the server version and the OpenSSL version reported by the build or package. Done means you have a written record of the server version, the linked OpenSSL version and whether have_openssl shows the server uses OpenSSL rather than the bundled library. If the linked OpenSSL is older than 3.5.0, note that post-quantum key exchange does not apply to that build. Confirm the package source and version with your distribution or MariaDB, since the documentation does not state which build or edition your package uses.
Check the negotiated group with s_client
Run openssl s_client -starttls mysql -connect localhost:3306 against the server, as MariaDB's documentation describes, and read the negotiated group in the handshake output. The documented hybrid group is X25519MLKEM768, which combines classical X25519 with ML-KEM. Done means you have captured the negotiated group for the server with post-quantum-capable settings. If the output shows only classical groups, the server did not negotiate hybrid key exchange, so record that result and do not proceed on the assumption that it did. Repeat the test from a client on the network path you intend to protect, because the local test does not show what remote clients negotiate.
Inventory connectors and proxies with their TLS stacks
List every client connector, language driver and proxy that opens a connection to the server, including MaxScale or other middleware in the path. For each one, record the TLS library it uses, its version, and whether it supports the X25519MLKEM768 group. Confirm group support with each vendor or project, because the MariaDB documentation does not list which connectors support hybrid key exchange, and the MDEV-38927 feature request does not confirm which connector options shipped. Done means you have one row per component with its TLS library, version, vendor statement and the date you checked. Components that cannot negotiate the hybrid group will fall back to classical TLS 1.3, which the next step tests.
Decide Galera link settings and check socket.ssl status
Galera replicates data between nodes without encryption by default, so decide whether to configure TLS on the cluster links through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options, and whether to restrict ciphers with socket.ssl_cipher. Record the chosen settings per node and confirm the certificate and key paths exist on every node. Then confirm the post-quantum status of these links with MariaDB, since the sources do not state that socket.ssl_* links negotiate hybrid key exchange. Also note the state transfer method: rsync uses stunnel, mysqldump follows the client configuration, and mariadb-backup has its own TLS section, each with its own status. Done means you have a per-node settings record and a written vendor answer on whether the Galera links use hybrid key exchange.
Test fallback to classical TLS 1.3 for clients
Connect a client that does not offer the post-quantum group and confirm that the handshake completes using classical TLS 1.3 key exchange, as MariaDB documents for clients without post-quantum support. Run this test for each connector and proxy from the inventory, and include a client that uses the default tls_version setting, which documents TLSv1.2 and TLSv1.3 as enabled in the 10.6.16, 10.11.6, 11.0.4 and later builds. Done means each component is recorded as either negotiating the hybrid group or falling back to classical TLS 1.3, and no component fails to connect. Any component that fails the classical handshake must be fixed before hybrid TLS is enabled, since enabling hybrid mode should not break clients that cannot negotiate it.
What MariaDB and its connectors have not confirmed
The MariaDB documentation and release notes cover TLS on the server, Galera and replication, but they leave several links in the connection path unconfirmed. The cards below list each gap and what to ask MariaDB, the connector maker or the proxy vendor before you rely on post-quantum TLS across the whole path.
Galera replication and state transfer
The Galera guide documents TLS for replication links through socket.ssl_cert, socket.ssl_key and socket.ssl_ca, and it states that replication is unencrypted by default. It does not say whether Galera links or state transfer negotiate ML-KEM. Ask MariaDB whether the group exchange in replication links and in each state transfer method (rsync, mysqldump and mariadb-backup) uses ML-KEM, and which OpenSSL build those links depend on.
Galera security guideOutcome of MDEV-38927
Jira ticket MDEV-38927 asks for ML-KEM key exchange, ML-DSA signed server certificates and connector options. It is closed and marked fixed, but it lists no Fix Version and does not confirm which of those criteria shipped. Ask MariaDB which release, if any, delivered each criterion, and for the version numbers that contain the change.
MDEV-38927 ticketML-DSA server certificate support
MariaDB's post-quantum page names ML-DSA (FIPS 204) as the NIST standard for quantum-resistant server authentication. It does not say MariaDB accepts ML-DSA server certificates, and the 12.3.3 and 12.3.4 release notes do not mention ML-DSA. Ask MariaDB whether the server loads ML-DSA certificates through ssl_cert and ssl_key, and whether the certificate chain in ssl_ca can contain ML-DSA certificates.
MariaDB post-quantum TLS pageConnector support for X25519MLKEM768
The server negotiates the hybrid group X25519MLKEM768 when it is linked against OpenSSL 3.5.0 or later, and clients without post-quantum support fall back to classical TLS 1.3. The documentation does not say which MariaDB connectors offer that group. Ask each connector maker (Connector/C, Connector/J, Connector/Node.js, Connector/Python and others you use) which release negotiates X25519MLKEM768 and what fallback it uses.
MariaDB post-quantum TLS pageProxy support for post-quantum TLS
Connections that pass through MaxScale or another proxy terminate TLS at the proxy, and the server's ML-KEM behavior does not carry over to those hops. The sources do not say whether MaxScale or other proxies negotiate ML-KEM on the client side or the backend side. Ask the MaxScale team, or your proxy vendor, which versions negotiate the hybrid group and whether the FIPS provider mode changes that behavior.
Enterprise Operator FIPS docsWhat breaks when hybrid TLS meets older clients and middleboxes
Hybrid post-quantum key exchange only protects a connection when every hop in it offers the hybrid group. MariaDB's documentation says the server negotiates the X25519MLKEM768 hybrid for TLS 1.3 automatically when it is linked against OpenSSL 3.5.0 or later, with no server variables to change. The silent failure is the fallback: clients without post-quantum support fall back to classical TLS 1.3 key exchange, so a connector, driver or proxy that does not offer the hybrid group keeps classical key exchange and the session looks normal. Confirm the negotiated group on each path, not only on the server. MariaDB documents checking it with openssl s_client -starttls mysql localhost:3306, and AWS says RDS for MariaDB sessions expose the group as ssl_named_group. Check the OpenSSL version on the server build as well, because older OpenSSL builds do not apply the hybrid group at all.
A proxy adds a second TLS session with its own negotiation. If the proxy terminates TLS from the client and opens a new session to the database, the client-to-proxy hop and the proxy-to-server hop are negotiated separately, and each can be hybrid or classical independently. Test both hops, record the group on each, and confirm which library the proxy was built against. For Galera, the facts are stricter: replication between nodes is unencrypted by default, and TLS is enabled only when socket.ssl_cert, socket.ssl_key and socket.ssl_ca are set in wsrep_provider_options. socket.ssl_cipher is only needed to restrict ciphers, and the Galera guide states no default for it. A node with no TLS settings replicates in plain text, so an inventory that checks only client connections will miss it.
Test in this order: confirm the server's OpenSSL version and negotiated group, then each client connector and proxy hop, then every Galera link with its socket.* settings, and then state transfer, since the Galera guide says the method decides TLS support (rsync uses stunnel, mysqldump follows the client configuration, mariadb-backup has its own TLS section). MariaDB 12.3.3 changed state transfer to abort instead of falling back to an unencrypted transfer when encryption fails, so note the exact version on each node. Ask the vendor or check the release notes for whether a given connector offers the hybrid group, because the facts do not confirm connector support.
Questions engineers ask about MariaDB connectors, Galera and proxies
Is MariaDB quantum safe for these connection hops?
No, and MariaDB does not make that claim. The documented post-quantum support is limited to TLS 1.3 key exchange: when the server is linked against OpenSSL 3.5.0 or later, it negotiates a hybrid X25519MLKEM768 group automatically, with no server variables to change. MariaDB's post-quantum TLS page (checked 2026-12-03) describes this for client connections only. The same page names ML-DSA (FIPS 204) for server authentication but does not say MariaDB supports ML-DSA certificates. Galera replication, replica links and proxy hops are not covered by that page, so treat each hop as unverified until you confirm it against the vendor documentation and your own test results.
Which MariaDB build and OpenSSL version are needed?
Two conditions have to hold. The server must be linked against OpenSSL 3.5.0 or later, and the server must negotiate TLS 1.3, which is the default tls_version value (TLSv1.2,TLSv1.3) in 10.6.16, 10.11.6, 11.0.4 and later. MariaDB's post-quantum page (checked 2026-12-03) describes automatic ML-KEM negotiation under those conditions and says it does not apply with older OpenSSL. The facts do not state which MariaDB release first shipped this behavior, so check the release notes for your exact build. Confirm the linked OpenSSL version on the running server, for example with openssl version on the same host or the build details the server reports.
Do Galera links use post-quantum key exchange?
The sources do not show that they do. MariaDB's Galera guide (Securing Communications in Galera Cluster) says Galera replicates data without encryption by default, and TLS is configured through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. That page does not describe a post-quantum key exchange for these links. The 12.3.3 release notes (2026-08-24) change state transfer so it aborts instead of falling back to unencrypted transfer when encryption fails, which is a fail-closed change and not a post-quantum one. Ask MariaDB which key exchange the Galera provider negotiates in your version, and check the handshake yourself with a test node pair.
Do MariaDB connectors and proxies need changes?
Possibly, and the facts do not settle it. The post-quantum key exchange is negotiated between the client and the server, so the client library's TLS stack must also offer the hybrid group. MariaDB's post-quantum page says clients without post-quantum support fall back to classical TLS 1.3 key exchange, which means the connection still succeeds but is not post-quantum. For each connector, check which TLS library it links against and whether that library offers X25519MLKEM768. Proxies such as MaxScale terminate or relay these sessions, so treat each proxy hop as its own negotiation. The sources do not name the connector or proxy versions that support the hybrid group, so confirm those with each vendor.
What should I ask MariaDB about post-quantum support?
Ask for these points in writing, with the version you run:
- Which release first negotiates X25519MLKEM768 for client TLS, and the minimum OpenSSL version it requires.
- Whether Galera replication, state transfer and replica links use any post-quantum key exchange, and which provider version applies.
- Whether ML-DSA server certificates are supported, and in which releases. The MDEV-38927 feature request (created 2026-02-27, resolved 2026-03-03) asks for this, but it lists no fix version.
- Whether the FIPS-validated OpenSSL provider used in MariaDB Enterprise Server changes the group negotiation.
- Whether the vendor plans to publish a dated roadmap for each hop.
Ask for the answers in writing, with the version they apply to.
Can I test this myself, or do I need outside help?
You can check the main hop yourself. MariaDB documents testing the negotiated group with openssl s_client -starttls mysql localhost:3306, and AWS says RDS for MariaDB sessions expose the group as ssl_named_group. Run the check from each client type and through each proxy, and record the result per hop. Galera and replica links need their own test, since the client check does not cover them. Outside help makes sense when you need a documented, repeatable test across many hops, or evidence for an assessor. Scope and cost depend on how many connectors, proxies and Galera nodes you run, so ask for a written scope before work starts. DeployOpen does not publish prices, and any quote follows from that scope.
How DeployOpen helps review MariaDB connection paths
DeployOpen reviews the MariaDB connection path as a set of separate links: client connectors, the server's TLS settings, Galera replication and state transfer, and any proxy in front of the server. Each link is checked against the version and build it runs, so the findings reflect what your environment actually negotiates today.
How we scope
- We list every connector, Galera link, state transfer method and proxy that carries MariaDB traffic in your environment.
- We record the MariaDB version, OpenSSL build and client library versions, because MariaDB documents post-quantum negotiation only with OpenSSL 3.5.0 or later.
- Engagements are fixed-scope, and the written scope states which links, versions and editions are covered and which are excluded.
How we build
- We test the negotiated TLS 1.3 key exchange group on each client path, using the check MariaDB documents with openssl s_client.
- We review Galera TLS settings for socket.ssl_cert, socket.ssl_key, socket.ssl_ca and any cipher restriction, and confirm state transfer behavior for each method in use.
- We check proxies and clients for post-quantum support separately, since a classical hop in the path determines the group that is actually negotiated end to end.
How we hand over
- You receive a written findings report that maps each connection link to its observed TLS group, its configuration and the version tested.
- The report separates what is supported in the tested builds from what the vendor documentation does not state, so open points are clearly marked.
- We provide a dated list of items to confirm with MariaDB, your connector vendors and proxy vendors, with the source for each statement.
How we support
- Ongoing support is available as a retainer for re-testing connection paths after upgrades to MariaDB, connectors or proxies.
- We can retest affected Galera links and client paths once your team changes TLS settings or moves to a newer release.
- Retainers can cover periodic review of vendor notices and release notes that change the status of any link in your connection path.

