Which MariaDB functions depend on RSA and elliptic-curve keys today
MariaDB's TLS connections, server certificates, replication links and Galera cluster links depend on public-key cryptography for authentication and key exchange. The only post-quantum mechanism MariaDB documents is hybrid X25519 with ML-KEM for TLS 1.3 key exchange, which the server negotiates automatically when it is linked against OpenSSL 3.5.0 or later, with no server system variables to change. We checked these statements on 2026-12-03 against the 12.3 version line, covering the MariaDB Server community documentation and the release notes for 12.3.3 and 12.3.4. Assessors should record that the post-quantum behavior applies to the key exchange in TLS, not to the certificates or signatures that authenticate the server.
Data at rest is a different case. The file key management encryption plugin protects tablespace and temporary file data with symmetric AES, using either AES_CBC or AES_CTR, and the key file itself is encrypted with AES in CBC mode using a password-derived key. The key-exchange change does not touch any of this, so the at-rest protection stays as it is. MariaDB's own post-quantum page recommends AES-256 for data at rest because post-quantum TLS protects data only in transit. Confirm the key length and algorithm in your own configuration, since the file plugin's algorithm choice is permanent once a server has started with it.
Where the documentation is silent, the assessor should not infer support. MariaDB's post-quantum page names ML-DSA as the NIST standard for quantum-resistant server authentication but does not say MariaDB supports ML-DSA certificates, and the 12.3.3 and 12.3.4 release notes do not mention ML-KEM, ML-DSA or post-quantum support. A closed Jira feature request, MDEV-38927, asks for ML-KEM key exchange and ML-DSA certificates, but it lists no fix version. Ask MariaDB which of those criteria shipped, and in which build, before recording certificate or signature readiness.
Where MariaDB depends on public keys, by component and version
This table lists each MariaDB function that touches public-key cryptography, the version or build condition attached to it, and the source and date of the fact. Read the ML-KEM and ML-DSA rows separately, since they describe post-quantum support rather than the classical RSA and elliptic-curve behavior that most deployments run today. ML-DSA certificate support is not documented, so treat any certificate-level post-quantum claim as unconfirmed.
| Function | Public-key dependency | Version or build condition | Source and date |
|---|---|---|---|
| Client TLS (server certificate and key) | Server X.509 certificate and private key via ssl_cert and ssl_key, with CA trust through ssl_ca | Paths are absolute and have no default; set in the server configuration | SSL/TLS System Variables, checked 2026-12-03 |
| Certificate and key files (passphrase) | Passphrase-protected TLS private keys via ssl_passphrase (pass:, env: or file:) | Introduced in MariaDB 12.0 | SSL/TLS System Variables, checked 2026-12-03 |
| Certificate revocation (ssl_crl) | Revoked certificate list checked against client and server certificates | Valid only when the server is built with OpenSSL, not wolfSSL or yaSSL; confirm with have_openssl | SSL/TLS System Variables, checked 2026-12-03 |
| require_secure_transport | Rejects connections without TLS; SSL/TLS, Unix sockets and named pipes count as secure | Set on the server; confirm the transports your clients use | Enabling TLS on MariaDB Server, checked 2026-12-03 |
| Replication (replica to primary) | TLS with MASTER_SSL and MASTER_SSL_CIPHER; server certificate verification on the replica | MASTER_SSL_VERIFY_SERVER_CERT is enabled by default from 11.3; 12.3 adds configurable defaults for MASTER_SSL_* settings | Replication with Secure Connections; MariaDB 12.3 Changes and Improvements, checked 2026-12-03 |
| Galera replication traffic | Node-to-node TLS through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options | Replication is unencrypted by default; TLS must be configured explicitly | Securing Communications in Galera Cluster, checked 2026-12-03 |
| Galera state transfer (rsync) | Encryption in transit provided by stunnel | Depends on the state transfer method; confirm the method in use | Securing Communications in Galera Cluster, checked 2026-12-03 |
| Galera state transfer (mariadb-backup and mysqldump) | mariadb-backup uses its own TLS section; mysqldump follows the client TLS configuration | In 12.3.3 an encryption failure aborts the transfer instead of falling back to unencrypted | MariaDB 12.3.3 Release Notes, 2026-08-24 |
| File key management (key file encryption) | Key file protected with AES in CBC mode using a key from a password hash; this is symmetric, not public-key | From 12.0 uses openssl enc with -md sha256 -pbkdf2; the algorithm choice is permanent | File Key Management Encryption Plugin, checked 2026-12-03 |
| Hybrid ML-KEM key exchange (TLS 1.3) | Negotiated X25519MLKEM768 group; clients without support fall back to classical TLS 1.3 | Requires OpenSSL 3.5.0 or later; no server variables to change | MariaDB Post-Quantum Cryptography in TLS, checked 2026-12-03 |
| ML-DSA server authentication (certificates) | ML-DSA (FIPS 204) named as the standard for server authentication; certificate support is not documented | No MariaDB release notes confirm ML-DSA certificate support; MDEV-38927 lists no Fix Version | MariaDB Post-Quantum Cryptography in TLS; MDEV-38927, checked 2026-12-03 |
Which MariaDB components use RSA or ECC keys in their connection paths
MariaDB uses public-key cryptography in several places: the server certificate, client TLS sessions, replication links, Galera transport and the key file of the encryption plugin. Each component below states what it authenticates or protects and what the MariaDB documentation says about its post-quantum status, so assessors can check each one separately.
Server certificate and private key
The server X.509 certificate and its private key, set with ssl_cert, ssl_key and ssl_ca, authenticate the server to clients that verify it. The key may be protected by a passphrase set with ssl_passphrase, which MariaDB 12.0 introduced. Since 11.4, the server generates certificates on startup and keeps them only in memory when none are configured, so confirm which certificate each deployed node actually presents. The documentation does not say that MariaDB supports ML-DSA certificates. Ask the vendor before assuming a post-quantum certificate path exists.
Client TLS sessions and key exchange
Client TLS sessions protect the connection itself, and the TLS 1.3 key exchange is where post-quantum protection applies. MariaDB documents that the server negotiates ML-KEM hybrid key exchange automatically when linked against OpenSSL 3.5.0 or later, with no system variable to change. The negotiated group appears as X25519MLKEM768, and clients without post-quantum support fall back to classical TLS 1.3. Check the negotiated group with openssl s_client -starttls mysql, and confirm the OpenSSL version in each build. Signatures and certificates are a separate question from key exchange.
Replication links
Replication links use TLS between a replica and its primary, enabled with MASTER_SSL=1 in CHANGE MASTER TO, and MASTER_SSL_CIPHER restricts the ciphers used. Server certificate verification is enabled by default from MariaDB 11.3, so the replica checks the primary's certificate. MariaDB 12.3 added configurable defaults for these settings. The replication links inherit the TLS library and its key exchange, so the same OpenSSL version question applies to each replica. The documentation does not list a separate post-quantum option for replication.
Galera socket and state transfer
Galera replicates data between nodes without encryption by default. TLS is set with socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options, and socket.ssl_cipher only restricts ciphers. Encryption during state transfer depends on the method: rsync uses stunnel, mysqldump follows the client configuration, and mariadb-backup has its own TLS section. MariaDB 12.3.3 made state transfer abort rather than fall back to an unencrypted transfer when encryption fails. Confirm the Galera provider version and the state transfer method on every cluster.
File key management plugin key file
The file key management plugin protects tablespace keys with AES, and the documentation describes data at rest as symmetric AES. The file_key_management_encryption_algorithm setting offers AES_CBC (the default) and AES_CTR, and the choice is permanent, since a server started with the wrong algorithm fails to start. The key file itself is encrypted with AES in CBC mode using a key derived from a password hash, and from MariaDB 12.0 it uses openssl enc with PBKDF2. MariaDB's post-quantum guidance recommends AES-256 for data at rest, because post-quantum TLS protects only data in transit.
Enterprise FIPS provider
MariaDB Enterprise Server relies on an OpenSSL FIPS provider, and the Enterprise Operator documentation lists OpenSSL FIPS provider Certificate #4857. The operator enables it with the Helm value fips.enabled: true, which sets GODEBUG=fips140=on. The FIPS provider is a validated module for approved algorithms. The documentation does not say whether the provider includes ML-KEM or ML-DSA, so ask MariaDB which algorithms the module covers and in which version it was validated before relying on it for post-quantum requirements.
TLS 1.3 key exchange with MariaDB is hybrid when the server uses OpenSSL 3.5.0 or later
The diagram follows a client connecting to a MariaDB server over TLS 1.3. The client offers its supported key exchange groups, and a server built with OpenSSL 3.5.0 or later selects the hybrid group X25519MLKEM768 when the client also supports it. Clients without post-quantum support are negotiated down to classical TLS 1.3 key exchange. The server certificate step stays classical, and MariaDB's documentation does not state support for ML-DSA certificates. To check a deployment, confirm the OpenSSL build and the negotiated group using the documented openssl s_client test or the ssl_named_group session value on RDS.
Hybrid key exchange is negotiated, while the server certificate remains classical.
How the answer changes by build, deployment and replication path
MariaDB's documentation says the server negotiates ML-KEM for TLS 1.3 key exchange automatically when it is linked against OpenSSL 3.5.0 or later, with no server system variables to change. The post-quantum mode documented is hybrid: X25519 combined with ML-KEM (FIPS 203), with the negotiated group shown as X25519MLKEM768. Servers linked against older OpenSSL, or the bundled library, do not get this key exchange. The ssl_crl variable is valid only when the server is built with OpenSSL, so the build also determines whether certificate revocation lists can be used.
- Library check: Run the server and confirm with the
have_opensslvariable whether it uses OpenSSL or the bundled library. - OpenSSL version: Confirm the linked OpenSSL is 3.5.0 or later before expecting ML-KEM negotiation.
- Revocation lists: The
ssl_crlvariable needs an OpenSSL build; a wolfSSL or yaSSL build cannot use it. - Client side: Clients without post-quantum support fall back to classical TLS 1.3 key exchange, so the client library matters as much as the server.
- Verification: MariaDB documents checking the negotiated group with
openssl s_client -starttls mysql localhost:3306.
Check the linked OpenSSL version and the have_openssl value on each server before making any statement about its key exchange.
AWS lists hybrid post-quantum key exchange for Amazon RDS for MariaDB as opt-in. It requires an upgrade to at least MariaDB 12.3.3 and updated clients, and the AWS row carries no date. Because the instance is managed, the customer does not link OpenSSL or edit server variables, so the relevant checks are the engine version, the opt-in setting and the client libraries that connect to it.
- Engine version: The instance must run at least MariaDB 12.3.3 before the option can apply.
- Opt-in: Hybrid key exchange is not a default on RDS; confirm in the AWS configuration that it is enabled.
- Clients: Applications need updated clients that offer the hybrid group; older drivers will negotiate classical TLS.
- Session evidence: AWS says RDS for MariaDB sessions expose the negotiated group as
ssl_named_group, which can be checked from a session. - Dates: No date is given for this capability on the AWS row, so ask AWS for the availability date in the target region.
Record the engine version, the opt-in state and the negotiated group from a live session, not from the console setting alone.
MariaDB Enterprise Server and MaxScale rely on an OpenSSL FIPS provider. The documentation for the MariaDB Enterprise Operator lists OpenSSL FIPS provider Certificate #4857 and enables the provider with the Helm value fips.enabled: true, which sets GODEBUG=fips140=on. The sources checked do not say whether the FIPS provider includes the ML-KEM or ML-DSA algorithms, so the post-quantum answer for this path is not established by the sources.
- Certificate reference: The listed OpenSSL FIPS provider is Certificate #4857; confirm it against the certificate listing and its scope.
- Enablement: The Operator setting
fips.enabled: trueturns on the FIPS path in that deployment. - Post-quantum scope: The sources do not state whether ML-KEM or ML-DSA is available under the FIPS provider.
- Community builds: A community build does not carry the same FIPS provider, so the Enterprise path is separate from the open-source path.
- Ask the vendor: Request written confirmation of which post-quantum algorithms, if any, the FIPS provider in the target release includes.
Do not assume that FIPS mode and post-quantum key exchange are available together until the vendor states it for the release in use.
Replication and Galera links are configured separately from client TLS. For replication, TLS is enabled on the replica with CHANGE MASTER TO MASTER_SSL=1, and MASTER_SSL_VERIFY_SERVER_CERT is documented as enabled by default from MariaDB 11.3. Galera replicates data between nodes without encryption by default, and TLS is set through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. A client connection that uses hybrid key exchange says nothing about these inter-node links.
- Separate settings: Client TLS and replication TLS are configured independently, so each link must be checked.
- Galera default: Inter-node traffic is unencrypted unless the socket settings are set.
- State transfer: Support depends on the method: rsync uses stunnel, mysqldump follows the client configuration, and mariadb-backup has its own TLS section.
- Release change: MariaDB 12.3.3 aborts state transfer instead of falling back to an unencrypted transfer when encryption fails, and allows role-specific certificates.
- Key exchange on these links: The sources checked do not state whether ML-KEM applies to replication or Galera sockets; confirm this with MariaDB.
Inventory each replication and Galera link separately, and record its TLS settings and the release in use, since client-side findings do not carry over.
Steps to confirm which MariaDB links depend on public keys
This sequence establishes which MariaDB client, replication and Galera connections use RSA or elliptic-curve keys and which negotiate a hybrid post-quantum key exchange today. It ends with a dated record of the server version, TLS settings, certificate key types and negotiated groups that an assessor can check against the vendor documentation.
Confirm the server version and OpenSSL linkage
The engineer who runs the MariaDB server records the exact version, for example by running SELECT VERSION(), and then checks the have_openssl system variable, which shows whether the server uses OpenSSL instead of the bundled library. MariaDB documents that the server negotiates ML-KEM for TLS 1.3 only when linked against OpenSSL 3.5.0 or later, so this step is closed when the version, the have_openssl value and the OpenSSL version in use are written into the inventory record. If have_openssl does not show OpenSSL, the record should state that the post-quantum key exchange described by the vendor does not apply to that build.
Inventory TLS version, cipher and certificate settings
The engineer reads the current values of tls_version, ssl_cipher, ssl_cert, ssl_key and ssl_ca, and the require_secure_transport option, using SHOW VARIABLES LIKE in each relevant form. The documented default for tls_version is TLSv1.2 and TLSv1.3 in the stated releases, while ssl_cipher has no default, so the record should show the actual configured value rather than the default. The step is closed when each variable is recorded with its path or value, and whether require_secure_transport rejects plaintext connections. Paths to the certificate and key files should be noted for the next step.
Identify the key algorithm of the server certificate
The engineer opens the certificate file named in ssl_cert and the key file named in ssl_key with a standard tool such as openssl x509 -text -noout and openssl pkey, then records the public key algorithm and size, for example RSA or an elliptic curve. This step separates the public-key algorithm of the server identity from the key exchange, which is a different dependency. Where ssl_passphrase is set, the engineer records the pass:, env: or file: source without exposing its value. The step is closed when the algorithm of each server key is written into the inventory.
Check replication TLS settings on each replica
On every replica, the engineer runs SHOW REPLICA STATUS or the equivalent statement for the installed version and reads the SSL-related fields, then checks whether TLS is enabled through the MASTER_SSL settings and which cipher list MASTER_SSL_CIPHER restricts it to. MariaDB documents that MASTER_SSL_VERIFY_SERVER_CERT is enabled by default from version 11.3, so the record should state the value actually in effect rather than assuming it. The step is closed when each replica link is listed with its TLS state, cipher restriction and server certificate verification setting, and the key algorithm of the certificate it verifies against is recorded.
Check Galera TLS and state transfer settings
For each Galera node, the engineer reads the socket.ssl_cert, socket.ssl_key, socket.ssl_ca and socket.ssl_cipher entries in wsrep_provider_options, since Galera replicates between nodes without encryption unless these are set. The engineer also records the state transfer method in use, because the vendor documents TLS support differently for rsync, mysqldump and mariadb-backup. Where the version is 12.3.3 or later, the record should note that a failed encryption aborts the transfer rather than falling back to an unencrypted one. The step is closed when every node's Galera TLS paths, cipher list and state transfer method are documented, with the key algorithm of each Galera certificate.
Check file key management encryption settings
Where the file key management plugin is used for data at rest, the engineer reads file_key_management_encryption_algorithm and records whether it is AES_CBC or AES_CTR, and checks file_key_management_use_pbkdf2 on releases from 12.0 onward. The vendor states that the algorithm choice is permanent, so the record should note the value that was set at the initial startup. The key file encryption uses AES in CBC mode with a key derived from a password hash, and the vendor describes stored data as symmetric AES. The step is closed when the algorithm, key size and PBKDF2 setting are written down and marked as symmetric rather than public-key protection.
Confirm the negotiated group with openssl s_client
The engineer runs openssl s_client -starttls mysql -connect against the server, for example localhost:3306 as the vendor documents, and reads the negotiated group from the handshake output. A hybrid result appears as X25519MLKEM768, while a classical result shows a group without ML-KEM, and clients without post-quantum support fall back to classical TLS 1.3 key exchange. The engineer repeats the check from each client type in the connection path, because the server does not decide the group alone. For a managed AWS deployment, the check is made through the ssl_named_group session value that AWS documents. The step is closed when each client path has a recorded negotiated group and the OpenSSL version used by the client.
Which stored data and replica traffic stay outside the key-exchange change
The post-quantum key-exchange change in MariaDB affects only the TLS handshake that protects client connections, so it does not reach the data written to disk. The file key management plugin protects stored data with symmetric AES rather than public-key cryptography. Its file_key_management_encryption_algorithm setting accepts AES_CBC (the default) or AES_CTR, with 128, 192 or 256 bit keys. The key file itself is encrypted only with AES in CBC mode, using a key derived from a password hash, and from MariaDB 12.0 the documented openssl enc procedure uses -md sha256 -pbkdf2, with file_key_management_use_pbkdf2 set to match the iteration count. MariaDB recommends AES-256 for data at rest, because its post-quantum TLS work protects only data in transit. Teams should confirm the algorithm and key length in their own configuration, and note that the algorithm choice is permanent: a server started with the wrong algorithm fails to start, so changes to it need a planned rebuild rather than a setting change.
Replica traffic is a separate path that the TLS key-exchange change does not cover by default. MariaDB's Galera guide states that Galera replicates data between nodes without encryption unless TLS is configured through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. Whether state transfer is encrypted 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 Galera state transfer to abort rather than fall back to an unencrypted transfer when encryption fails, and added role-specific TLS certificates, keys and CAs. Assessors should check the Galera TLS settings and the state transfer method on each cluster, record which version applies, and confirm whether any replica link or backup stream outside the handshake is unencrypted.
What MariaDB has not documented about post-quantum certificates and connectors
MariaDB documents hybrid ML-KEM key exchange for TLS 1.3 when linked against OpenSSL 3.5.0 or later, but several adjacent items remain unconfirmed. The cards below cover post-quantum certificates, release notes, a closed feature request, replication and Galera links, connectors, and cloud availability. Each card lists what to ask the vendor before relying on the setting.
ML-DSA server certificates unconfirmed
MariaDB's post-quantum page names ML-DSA (FIPS 204) as the NIST standard for quantum-resistant server authentication, but it does not say MariaDB supports ML-DSA server certificates. The key exchange documentation covers ML-KEM only. Certificates in the server's ssl_cert and ssl_key settings are therefore still classical until MariaDB says otherwise. Ask the vendor whether the server can present an ML-DSA certificate, which OpenSSL build and version that requires, and whether clients can validate it.
Release notes omit post-quantum changes
The release notes for 12.3.3 and 12.3.4, and the 12.3 changes page, do not mention ML-KEM, ML-DSA or post-quantum support. The 12.3.3 notes do list Galera state transfer changes and TLS certificate handling, so the absence is specific rather than a gap in coverage. Ask MariaDB which release first contained the ML-KEM negotiation, and whether any post-quantum change is planned for a named release. Until then, confirm the behavior on your own build with a handshake test.
12.3.4 release notesClosed ticket without a fix version
Jira ticket MDEV-38927 asks for ML-KEM key exchange, ML-DSA signed server certificates and connector options. It was created on 2026-02-27 and resolved on 2026-03-03, but it lists no Fix Version and does not state which of those requests shipped. A resolved ticket does not mean a feature is in a release. Ask MariaDB which of the three requests the resolution covers, and in which version each one first appears.
MDEV-38927 ticketNo documented ML-KEM setting for replication
The replication guide covers MASTER_SSL and MASTER_SSL_CIPHER, and the Galera guide covers socket.ssl_cert, socket.ssl_key and socket.ssl_ca, but neither page names a setting for an ML-KEM key exchange on replica or Galera links. The TLS negotiation for these links may follow the server's OpenSSL build, which the documentation does not state. Ask MariaDB whether ML-KEM applies to replication and Galera links, and which settings, if any, control the negotiated group on those paths.
Connector support for the negotiated group
The server negotiates X25519MLKEM768 only when the client also offers that group, and clients without post-quantum support fall back to classical TLS 1.3. MariaDB's documentation does not list which connectors offer the group. Connectors in the connection path, such as the MariaDB Connector/C, Connector/J and ODBC drivers, each have their own TLS stack. Ask each connector vendor which version first offers the hybrid group, and check the negotiated group with openssl s_client -starttls mysql against each client version.
No published date for AWS RDS opt-in
AWS lists hybrid post-quantum key exchange for Amazon RDS for MariaDB as opt-in. It requires at least MariaDB 12.3.3 and updated clients, but the row has no date attached. Teams cannot tell from that page when the option will be available in their region or whether it will reach their current engine version. Ask AWS for the availability date and regions for the option, and for the client versions it requires. Confirm the negotiated group after enablement with the ssl_named_group session value.
What can go wrong when enabling hybrid key exchange on MariaDB
Enabling hybrid key exchange on MariaDB does not guarantee that every session uses it. MariaDB's documentation says the server negotiates ML-KEM for TLS 1.3 key exchange automatically when it is linked against OpenSSL 3.5.0 or later, and the documented hybrid group is X25519MLKEM768. Clients without post-quantum support fall back to classical TLS 1.3 key exchange, so a connection can succeed without any post-quantum protection. Older OpenSSL builds do not apply the feature at all, and the server does not warn when ML-KEM is left off. Confirm the OpenSSL version the server binary is linked against, and check the negotiated group from real client sessions rather than assuming it from the server version.
Several settings that look like they control this do not. The require_secure_transport option only rejects insecure transports; it does not select a key exchange group, so enforcing it leaves the group choice unchanged. The ssl_cipher variable restricts the permitted ciphers and accepts TLS 1.3 cipher suites, so a list that omits or misnames TLS 1.3 entries can change which sessions succeed, but it is not a group selector either. The tls_version variable controls protocol versions and should keep TLSv1.3 in the list. Test any ciphers list against your actual clients before tightening it, because a restriction that excludes what a client offers will break that client rather than upgrade it.
Replication and Galera links need their own verification and should not be assumed to follow the client-facing configuration. For replication, TLS is set on the replica with CHANGE MASTER TO MASTER_SSL=1, and the replica's cipher and certificate verification settings apply to that link only. For Galera, the cluster guide states that replication is unencrypted by default and that TLS is configured through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. State transfer depends on the method chosen: rsync uses stunnel, mysqldump follows the client configuration, and mariadb-backup has its own TLS section. MariaDB 12.3.3 changed state transfer to abort instead of falling back to unencrypted transfer when encryption fails, so confirm the version and test each path with a negotiated-group check before you treat the cluster as covered.
Questions security assessors ask about MariaDB public-key dependencies
Is MariaDB quantum safe?
The sources do not support calling MariaDB quantum safe, and no product or configuration can be called that. What MariaDB documents is narrower: on TLS 1.3, the server negotiates a hybrid key exchange that combines X25519 with ML-KEM (FIPS 203), but only when it is linked against OpenSSL 3.5.0 or later and the client also supports it. Data at rest uses symmetric AES, which MariaDB's post-quantum page recommends at AES-256. Certificates, server authentication and replication settings still rely on classical public-key cryptography, and the sources do not say MariaDB supports ML-DSA certificates. Ask MariaDB or your AWS contact which of these remain classical in your version.
Which MariaDB version and OpenSSL build are needed for ML-KEM?
The documented requirement is that MariaDB be linked against OpenSSL 3.5.0 or later. MariaDB's post-quantum page says the server then negotiates ML-KEM for TLS 1.3 key exchange automatically, with no server variables to change. With an older OpenSSL build it does not apply. The sources do not tie this to a specific MariaDB release, and the 12.3.3 and 12.3.4 release notes do not mention ML-KEM. Confirm the server's OpenSSL version with the have_openssl variable and the version your distribution ships. To check the negotiated group, MariaDB documents running openssl s_client -starttls mysql against the server on port 3306.
Does enabling hybrid mode in MariaDB cost extra or need a license?
The sources do not state a price or licensing condition for hybrid TLS in MariaDB. The post-quantum page describes the key exchange as automatic when the build meets the OpenSSL requirement, with no separate server setting. Costs you should expect to pay for are the work of confirming the OpenSSL build, updating clients and testing, plus any upgrade to a newer server or distribution. If you run MariaDB Enterprise Server or the Enterprise Operator, the FIPS documentation relies on an OpenSSL FIPS provider, so confirm with MariaDB whether that changes which key exchange your build can use. Ask for written confirmation of licensing and support terms before you plan the budget.
What breaks for older clients when MariaDB offers hybrid TLS?
Clients without post-quantum support fall back to classical TLS 1.3 key exchange, according to MariaDB's documentation, so they should keep connecting. The risk is in what you have not tested. Older clients may use TLS 1.2, and the default tls_version is TLSv1.2,TLSv1.3, so the fallback path matters. Connectors, proxies and Galera links in the connection path must also negotiate correctly. Check each client against the negotiated group, and use require_secure_transport or ssl_cipher only after confirming which clients will still connect. Test with real client versions in a staging environment before enabling anything in production.
Does MariaDB support ML-DSA certificates?
The sources do not confirm that MariaDB supports ML-DSA certificates. MariaDB's post-quantum page names ML-DSA (FIPS 204) as the NIST standard for quantum-resistant server authentication, but it does not say the server can use ML-DSA certificates. A Jira request, MDEV-38927, asked for ML-KEM key exchange, ML-DSA signed server certificates and connector options. It was closed and fixed on 2026-03-03, yet it lists no Fix Version and does not say which of those items shipped. Until MariaDB confirms in writing, treat server authentication as classical, and use ssl_cert, ssl_key and ssl_ca as the current certificate settings.
Can we verify MariaDB's post-quantum settings ourselves or do we need outside help?
You can verify much of this alone. Check the OpenSSL build with have_openssl and the version your distribution ships. Check the negotiated group with openssl s_client, and check the TLS version, cipher and certificate settings in the SSL/TLS system variables. The harder questions need MariaDB or your cloud provider: whether ML-DSA certificates are supported, what the fix for MDEV-38927 covered, and whether Galera state transfer and replication links use hybrid key exchange. Independent testing is useful when you need an evidence trail for an assessment. DeployOpen can test and document these settings as a fixed-scope engagement, with scope and deliverables agreed in writing before work starts.
How DeployOpen helps plan and verify MariaDB TLS and key settings
DeployOpen works through the MariaDB functions that rely on RSA and elliptic-curve keys one at a time, starting with client connections, then replication, Galera state transfer and file encryption keys. For each, we record the server version, the variables in use and the negotiated settings, so the evidence matches what the database actually runs.
How we scope
- We confirm the MariaDB edition, version and OpenSSL build, since post-quantum TLS depends on linking against OpenSSL 3.5.0 or later.
- We list every connection path that uses TLS, including client connectors, replicas, Galera links and state transfer methods.
- Scope is agreed in writing as a fixed scope, with ongoing support available as a retainer once the work is delivered.
How we build
- We review the ssl_cert, ssl_key, ssl_ca, ssl_cipher and tls_version settings against the server and client configuration.
- We check the negotiated group on live sessions, such as X25519MLKEM768, and record which clients fall back to classical TLS 1.3.
- We test replication and Galera links with verification enabled, confirming that transfers abort rather than falling back to unencrypted.
How we hand over
- We deliver a written inventory of each MariaDB function that depends on RSA or elliptic-curve keys, with the setting and version behind it.
- We document the exact commands used to verify negotiated groups and certificate chains, so your team can repeat them.
- We record open items that need vendor confirmation, such as whether ML-DSA certificates are supported in your build.
How we support
- We re-run the verification checks after each MariaDB minor release, since release notes can change TLS behavior between versions.
- We track the vendor's published status on ML-KEM and ML-DSA support and flag changes that affect your inventory.
- We keep the evidence current for your security assessors, so each dated answer can be checked against your running systems.

