Where MySQL uses cryptography and why to inventory it now
If you run MySQL, you need a cryptographic inventory that covers client connections and TLS, replication TLS, certificates and keys, authentication, management access, InnoDB tablespace encryption, binary and redo/undo log encryption, and the firmware and updates that ship them. An inventory entry matters now because each of these areas can depend on public-key cryptography, and a post-quantum migration can only be planned for items you have recorded. The security lead or database owner should own this inventory, with the entries checked against the exact MySQL edition and version in use. The facts below apply to the MySQL 8.4 manual and the MySQL 26.7 manual, which are separate series; MySQL 26.7.0 is labeled an Innovation release, and the 9.7 LTS series has its own manual. Confirm which series and edition each production instance runs before you record any answer.
Start with the connection layer. MySQL 8.4 supports TLSv1.2 and TLSv1.3 and does not support TLSv1 or TLSv1.1. Its TLSv1.2 default cipher list includes ECDHE and DHE suites with ECDSA or RSA authentication, so the key exchange and the certificate type both need recording. Server certificates and keys are set with ssl_ca, ssl_cert and ssl_key, and the administrative interface has its own admin_ssl_* settings. Where no valid files exist, MySQL 8.4 builds compiled with OpenSSL generate self-signed 2048-bit RSA certificates signed with sha256WithRSAEncryption, valid for ten years, unless auto_generate_certs is disabled. Record whether that auto-generation is on, because those certificates are a dependency you may not have chosen. Replication links use the SOURCE_SSL_* and SOURCE_TLS_* options of CHANGE REPLICATION SOURCE TO on each replica, so inventory each replica separately. Also record caching_sha2_password use and the RSA key pair it uses on unencrypted connections, along with storage, where InnoDB encryption uses keyring-held master keys. Confirm the keyring component you rely on, since several keyring options are Enterprise-only in 8.4.
Verify each fact against your own environment rather than assuming defaults: check SHOW VARIABLES for TLS and keyring settings, the certificate files on disk, and the OpenSSL build reported in the server status. Binary and redo/undo log encryption are separate settings (binlog_encryption, innodb_redo_log_encrypt, innodb_undo_log_encrypt), and the redo and undo settings are off by default in 8.4. Record ssl_fips_mode too, since MySQL passes that mode to OpenSSL and binary builds on some platforms are not certified. For each item, record the owner, the version, the algorithm in use and whether the vendor has documented a post-quantum option for it, citing the manual page you checked and its date.
Which MySQL areas use cryptography, and which depend on public keys
This table maps each MySQL area that uses cryptography to what it protects, its algorithm family, whether it relies on public-key algorithms, and where it is configured. Use it as an inventory starting point, and confirm each row against your own build and settings. The main takeaway is that public-key algorithms appear mainly in TLS handshakes, certificates and the caching_sha2_password exchange, while data-at-rest encryption uses symmetric AES under keyring-held keys.
| Area | What it protects | Algorithm family and public-key use | Where it is configured |
|---|---|---|---|
| Client TLS | Client-to-server connections, including credentials and queries | TLSv1.2 and TLSv1.3. Key exchange (ECDHE, DHE) and RSA or ECDSA authentication depend on public keys | ssl_ca, ssl_cert, ssl_key, tls_version, tls_ciphersuites, require_secure_transport |
| Replication TLS | Asynchronous replication links between source and replica | Same TLS family as client connections, with public-key key exchange and certificate authentication | CHANGE REPLICATION SOURCE TO with SOURCE_SSL, SOURCE_SSL_CA, SOURCE_SSL_CERT, SOURCE_SSL_KEY |
| Server certificates | Identity of the server to clients and replicas | RSA or ECDSA certificates. Auto-generated files use 2048-bit RSA with sha256WithRSAEncryption and a ten-year validity | Files in the data directory or paths set by ssl_cert and ssl_key. Auto-generation controlled by auto_generate_certs |
| caching_sha2_password exchange | Password exchange on connections not protected by TLS | SHA-256 digest with an RSA key pair. The RSA public key protects the password exchange | Default authentication plugin. Key files private_key.pem and public_key.pem |
| InnoDB tablespace encryption | Data at rest in InnoDB tablespaces | AES in ECB mode for tablespace keys and CBC mode for data. No public-key algorithm is listed for this area | innodb_encrypt_tables settings and a keyring component. ALTER INSTANCE ROTATE INNODB MASTER KEY rotates the master key |
| Binary and relay log encryption | Binary and relay logs at rest | Built-in AES cipher that cannot be configured. Symmetric only in the facts supplied | binlog_encryption, which defaults to OFF and requires a keyring |
| Redo and undo log encryption | InnoDB redo and undo logs at rest | Symmetric encryption under the keyring master key. Both features are disabled by default | innodb_redo_log_encrypt and innodb_undo_log_encrypt |
| Admin interface TLS | Connections to the administrative interface | TLS with the same protocol families as client connections. Public-key use follows the certificate type | admin_ssl_* settings and --admin-tls-version |
| FIPS mode | Whether TLS runs in FIPS-validated mode | Passes the mode to OpenSSL. MySQL adds no FIPS-specific code. Binary builds on some platforms are not certified for FIPS | ssl_fips_mode, set to OFF, ON or STRICT |
| Firmware signing | Not documented in the supplied facts | Not covered by the facts supplied for this page | Confirm with Oracle or your build vendor |
Which protocols MySQL terminates and which settings choose their algorithms
MySQL 8.4 terminates client and replication TLS inside the server, and a small set of variables decides which protocols and algorithms are offered. Each card below covers one protocol surface or setting, so you can record what your instance and its replicas actually negotiate.
TLS protocol versions for clients
MySQL 8.4 supports TLSv1.2 and TLSv1.3 for client connections and does not support TLSv1 or TLSv1.1. The tls_version variable lists the protocols allowed, and by default it includes every protocol the SSL library and server release support. Check the value on each server, because a permissive default can still offer TLSv1.2 to clients that never need it. Confirm the effective tls_version on every instance.
TLSv1.3 ciphersuites
TLSv1.3 negotiates its cipher suites through tls_ciphersuites, which defaults to NULL and so permits the built-in set. In MySQL 8.4 that default set is TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_128_CCM_SHA256. Setting this variable narrows what TLSv1.3 clients can negotiate, so record whether it has been changed from NULL.
TLSv1.2 ECDHE and DHE cipher set
For TLSv1.2 the ssl_cipher variable governs the cipher list, and the MySQL 8.4 default is a set of 13 ECDHE and DHE ciphers using ECDSA or RSA authentication with AES-GCM, AES-CCM or ChaCha20-Poly1305. ECDSA ciphers only work with a certificate that uses ECDSA, so an RSA-only certificate leaves those entries unused. Review ssl_cipher alongside the certificate type actually installed.
Replication TLS options
Asynchronous replication TLS is set on the replica with CHANGE REPLICATION SOURCE TO, through the options SOURCE_SSL, SOURCE_SSL_CA, SOURCE_SSL_CERT, SOURCE_SSL_KEY, SOURCE_SSL_VERIFY_SERVER_CERT, SOURCE_TLS_VERSION, SOURCE_SSL_CIPHER and SOURCE_TLS_CIPHERSUITES. SOURCE_TLS_CIPHERSUITES defaults to NULL, which means the default TLSv1.3 ciphersuites. Replica settings are separate from the server's client settings, so check them on every replica.
Post-quantum key exchange groups in MySQL 26.7
MySQL 26.7 is the newest protocol surface in this set, and it adds post-quantum key exchange groups for TLS 1.3 when the server is built with OpenSSL 3.5.0 or later. The manual lists hybrid and pure ML-KEM groups alongside classical ones, and it says PQC key exchange is preferred by default with classical groups kept as fallback. Record the server version and OpenSSL build before reading the key exchange settings as anything other than a 26.7 feature.
MySQL 26.7 PQC docsWhere MySQL certificates and keys are stored and who can rotate them
The main server certificate material is set with the ssl_ca, ssl_cert, ssl_key, ssl_capath and ssl_crl settings. When these are not set explicitly, MySQL 8.4 looks in the data directory for ca.pem, server-cert.pem and server-key.pem. If valid files are found there, encrypted connections are enabled. If no valid files are found, the server keeps running without encrypted connection support, so a missing or invalid file can silently leave connections unencrypted unless require_secure_transport is set.
- Explicit paths:
ssl_certandssl_keypoint to the server certificate and private key, andssl_caorssl_capathpoint to the trusted CA. - Data directory fallback: Files named
ca.pem,server-cert.pemandserver-key.pemin the data directory are used when no explicit path is set. - Revocation:
ssl_crlandssl_crlpaths control certificate revocation checking for client certificates. - Runtime reload:
ALTER INSTANCE RELOAD TLSreloads the TLS context and needs theCONNECTION_ADMINprivilege. It affects only new connections, so existing sessions keep their original certificate. - Enforcement:
require_secure_transportmakes the server reject non-encrypted TCP/IP connections.
Confirm in your own environment which of these settings are set, whether the data directory contains files, and whether require_secure_transport is enabled.
The administrative interface has its own certificate settings, separate from the main client-facing server settings. These are the admin_ssl_* variables, and the minimum TLS version for that interface is set with --admin-tls-version. Treat the admin interface as its own inventory line, because its certificate and key may differ from the ones used for client connections.
- Separate settings: The
admin_ssl_*variables set the certificate, key and CA for the administrative interface. - Version floor:
--admin-tls-versioncontrols which TLS versions the admin interface accepts. - Runtime reload: The same
ALTER INSTANCE RELOAD TLSstatement andCONNECTION_ADMINprivilege apply to the TLS context used for new connections. - Inventory: Record the admin interface certificate and key paths separately from the client-facing ones, since they may point to different files.
Confirm the exact admin_ssl_* variable names and their defaults for the MySQL version you run, since this summary is based on the MySQL 8.4 documentation.
MySQL builds compiled with OpenSSL generate missing SSL files at startup when auto_generate_certs is enabled, and that setting is on by default. The generated set is a self-signed CA plus server and client certificates, built with 2048-bit RSA keys, signed with sha256WithRSAEncryption, and valid for ten years. These are defaults for convenience, not a deployment decision, so an organization should know whether its instance is using them.
- Key size and algorithm: RSA 2048 keys with
sha256WithRSAEncryptionsignatures. - Validity: Ten years from generation.
- Trigger: Files are generated only when valid files are missing from the data directory at startup.
- Default state:
auto_generate_certsis enabled by default. - Control: Disabling
auto_generate_certsand supplying certificates from your own PKI removes the self-signed defaults.
For illustrative inventory purposes, check the data directory and the certificate subject and expiry date on each file. Confirm the generation behavior against your exact build, since it depends on OpenSSL support.
Asynchronous replication TLS is configured on the replica with CHANGE REPLICATION SOURCE TO. The client certificate and key the replica presents to the source are set with SOURCE_SSL_CERT and SOURCE_SSL_KEY, and the trusted CA is set with SOURCE_SSL_CA. The replica side therefore holds its own client key pair, which is a separate inventory item from the source server certificate.
- Client certificate:
SOURCE_SSL_CERTnames the certificate the replica presents to the source. - Client key:
SOURCE_SSL_KEYnames the private key matching that certificate. - Trust anchor:
SOURCE_SSL_CAnames the CA used to verify the source. - Verification:
SOURCE_SSL_VERIFY_SERVER_CERTcontrols whether the replica checks the source certificate. - Cipher defaults:
SOURCE_TLS_CIPHERSUITESdefaults to NULL, which permits the default TLSv1.3 ciphersuites.
Check the replica configuration for each replication channel, since each channel stores its own source settings. Confirm whether the source requires client certificates in your topology.
The caching_sha2_password authentication plugin uses an RSA key pair to protect the password exchange over connections that are not protected by TLS. The key pair is stored as private_key.pem and public_key.pem. This is a separate RSA key from the server TLS certificate, and it is used only for that password exchange, so it needs its own line in the inventory.
- Files:
private_key.pemholds the private key andpublic_key.pemholds the public key. - Purpose: The public key lets clients encrypt the password when the connection is not protected by TLS.
- Digest rounds:
caching_sha2_password_digest_roundscontrols the SHA-256 rounds used by the plugin. - Rotation: Changing this key pair is a separate task from rotating the TLS certificate, so confirm the procedure for your version before planning a change.
- Scope: The key pair protects password exchange on unencrypted connections, so enforcing TLS reduces how often it is used.
Confirm where the key pair is stored in your data directory and who has read access to the private key file.
How administrators and tools reach MySQL and what protects each path
Administrative access to MySQL does not automatically share the protection of application connections. The administrative interface has its own TLS settings, defined with admin_ssl_* variables and --admin-tls-version, so an administrator should check those separately from ssl_ca, ssl_cert and ssl_key. The require_secure_transport setting makes the server reject non-encrypted TCP/IP connections, which is the control to confirm for every path that can reach the server over the network. Local socket connections are not covered by that setting in the same way, so confirm the behavior in the 8.4 manual before relying on it for a given deployment.
Reloading TLS context at runtime is another administrative action with security consequences. ALTER INSTANCE RELOAD TLS requires the CONNECTION_ADMIN privilege and affects only new connections, so existing sessions keep the context they negotiated. Review which accounts hold CONNECTION_ADMIN, and record when certificates are replaced, because a reload that does not happen leaves the server on old material. A password exchange is a separate path: with the default caching_sha2_password plugin, a connection not protected by TLS uses an RSA key pair (private_key.pem and public_key.pem) to protect the password exchange. Confirm which clients still connect without TLS, since those connections depend on RSA for the credential exchange.
Group Replication and X Plugin have their own post-quantum variables in the 26.7 edition (group_replication_* and mysqlx_*), so they belong in the same review as the administrative interface. The facts do not document other management paths, such as cloud or central management consoles, so ask the vendor or check your own deployment before assuming how those reach the server or what protects them. Build an inventory of every path that reaches MySQL, record which TLS settings and privileges govern each one, and confirm the result against the 8.4 and 26.7 manuals for the edition you run.
Which MySQL updates and library components the vendor controls
MySQL's TLS behavior depends on the OpenSSL library bundled in each release, on the edition and build you run, and on the notes Oracle publishes for each version. The cards below separate what the supplied facts document from what they leave for you to confirm with Oracle.
Bundled OpenSSL library version
The MySQL 8.4.9 release notes state that the bundled OpenSSL library was updated to 3.5.5. Worklog WL#17209 says OpenSSL is being upgraded to 3.5 for every MySQL release that bundles it, across the 8.0, 8.4 and trunk branches. Check which OpenSSL version your installed build reports, because the bundled library, not the MySQL version number alone, determines which TLS features are available.
8.4.9 release notesPQC support tied to OpenSSL 3.5
The MySQL 26.7.0 release notes, dated 2026-07-28, state that PQC support in TLS 1.3 applies when MySQL is built with OpenSSL 3.5.0 or later. A build linked against an older OpenSSL does not gain these features, and the manual says the Boolean PQC variables cannot be enabled there. Confirm the OpenSSL version of your specific build before planning any PQC configuration.
26.7.0 release notesFIPS mode and binary builds
The MySQL 8.4 FIPS documentation says MySQL adds no FIPS-specific code beyond passing the ssl_fips_mode setting to OpenSSL. It also states that binary distributions compiled with OpenSSL 3.0 on some platforms are not certified for FIPS. If FIPS mode is a requirement, ask Oracle which builds, platforms and OpenSSL versions carry any certification, and do not assume a PQC-capable build is covered.
MySQL FIPS mode docsEditions without confirmed PQC support
The supplied facts do not confirm which editions include PQC support. The 26.7 and 26.10 manual pages do not state which editions include it, and the mysql.com products page lists HeatWave, Enterprise, Embedded, Standard, Classic and NDB Cluster CGE alongside the Community Server without any statement on post-quantum support. Ask Oracle for a written, edition-by-edition answer before assuming any of these editions carries the feature.
MySQL products pageFirmware and code signing not documented
The supplied facts do not document firmware or code signing for MySQL binaries. You cannot verify from these sources how Oracle signs release packages or whether it signs the bundled OpenSSL library separately. Ask Oracle how release artifacts are signed and how to verify them before you install a new build, particularly when you rely on a specific OpenSSL version for PQC.
26.7 manual prefaceWhat to record for each MySQL cryptographic item in your inventory
This table lists the fields to capture for each cryptographic item you find in a MySQL deployment, from TLS connections and replication links to keyring and binary log settings. Use it as a template for one row per item, and fill in version and OpenSSL details from the server itself. A complete record lets an assessor trace each item to its owner, location and confidentiality horizon.
| Field | What to record | Where to find it or what to confirm |
|---|---|---|
| Product and edition | MySQL and the edition and version, for example 8.4.x LTS or 26.7.0 Innovation | Run SELECT VERSION(); the 26.7 manual covers MySQL 26.7.0, an Innovation release |
| OpenSSL build version | The OpenSSL version the server binary was built with | Check the Tls_library_version status variable with SHOW STATUS LIKE 'Tls_library_version'; PQC key exchange requires OpenSSL 3.5 or later |
| Owner | Team or named role accountable for the instance and its keys | Confirm with your change records or CMDB; the database and security teams should agree on one owner |
| Location | Where the item lives: data directory, keyring, configuration file or replica settings | Check ssl_cert, ssl_key and ssl_ca settings, the keyring component configuration, and CHANGE REPLICATION SOURCE TO settings on each replica |
| Protocol and usage | TLS version, key exchange group, binary log or InnoDB encryption, or caching_sha2_password exchange | Read tls_version, tls_kex, binlog_encryption and innodb settings; record TLS 1.2 or 1.3 separately |
| Algorithm and key size | Public-key algorithm, key size and signature algorithm for each certificate or key | Auto-generated certificates use 2048-bit RSA with sha256WithRSAEncryption; confirm the actual certificate with your PKI tooling |
| Certificate issuer and expiry | Issuing CA and the not-after date for each server, client and replication certificate | Inspect the certificate files named in ssl_cert and SOURCE_SSL_CERT, and record the validity end date |
| Configurable or fixed | Whether you can change the item in settings, or whether the vendor fixes it | Record configurable for options such as tls_kex and force_pqc, and fixed for behavior such as the built-in binary log cipher |
| Confidentiality horizon | How long the protected data must stay confidential, which sets how urgent the item is | Set this with the data owner and records requirements; it is a business input, not a MySQL setting |
Which MySQL items depend on public-key algorithms and which rely on symmetric algorithms
Most of MySQL's cryptography falls into two groups. The first group depends on public-key algorithms: TLS key exchange, certificate authentication and the RSA key pair used for password exchange. The second relies on symmetric algorithms and hashes: InnoDB tablespace encryption, binary log encryption and the SHA-256 digest rounds in caching_sha2_password. Sorting each item into one group tells you which parts need a public-key migration plan and which need a keyring and key-rotation review instead.
On the public-key side, the TLS handshake uses ECDHE and DHE ciphers for key exchange, and the certificate used for authentication is RSA or ECDSA, depending on the cipher set you allow. ECDSA ciphers work only with an ECDSA certificate. If the server has no valid ca.pem, server-cert.pem and server-key.pem in the data directory, MySQL 8.4 builds with OpenSSL generate RSA 2048 certificates signed with sha256WithRSAEncryption when auto_generate_certs is enabled, which it is by default. Separately, caching_sha2_password uses an RSA key pair (private_key.pem and public_key.pem) to protect the password exchange over connections that TLS does not protect. Confirm which of these your deployment actually uses, since a TLS-protected login path does not exercise the RSA key pair.
On the symmetric side, InnoDB data-at-rest encryption uses AES in ECB mode for tablespace keys and CBC mode for data, under a master key held by the keyring. Binary log and relay log encryption, controlled by binlog_encryption, uses a built-in AES cipher that you cannot configure, and it is off by default. The SHA-256 digest rounds in caching_sha2_password, set by caching_sha2_password_digest_rounds, are a hash-based control. None of these items depends on a public-key algorithm for its bulk encryption. The keyring master key is the exception: how it is protected depends on which keyring you chose, so check whether component_keyring_file, one of the Enterprise keyrings, or an external key service holds it.
For detail on the public-key functions and the settings that change them, see the sibling topic on which MySQL functions depend on RSA and elliptic-curve keys.
How to gather MySQL cryptographic configuration for your inventory
This sequence collects the MySQL version, bundled TLS library, encryption settings, certificate files and replication links that show where the server uses public-key cryptography. The result is a dated record of the configuration as it stands, which you can compare with vendor documentation and later checks.
Confirm the MySQL version and bundled OpenSSL
The database administrator connects to each server and runs SELECT VERSION() to record the release, such as a 8.4 or 26.7 series build. Then the administrator checks the ssl status variables, including the OpenSSL version reported by the server, because TLS behavior depends on the library the binary was built with. The step is done when each server has a recorded version string and a recorded OpenSSL version, tied to its hostname and date. Note that the 8.4.9 release notes state the bundled OpenSSL was updated to 3.5.5, so confirm the exact build you run.
Export the TLS and encryption system variables
The administrator exports the system variables that govern cryptography: tls_version, tls_ciphersuites, ssl_cipher, require_secure_transport, binlog_encryption, innodb_redo_log_encrypt, innodb_undo_log_encrypt and ssl_fips_mode. Save the output with SHOW GLOBAL VARIABLES or from the configuration file, so each value is captured as the running server reports it. The step is done when every listed key has a recorded value, and any key the server does not recognize is noted for follow-up. Recall that the defaults differ by feature: binlog encryption and redo and undo log encryption are disabled by default in 8.4.
List and check certificate files in the data directory
The administrator lists the certificate and key files in the data directory, including ca.pem, server-cert.pem and server-key.pem, along with any files set through ssl_ca, ssl_cert, ssl_key and ssl_crl. For each certificate, the administrator runs openssl x509 with the -noout and -enddate options to read the expiry date, and with -text to read the key type and signature algorithm. The step is done when each file has a recorded subject, key type, signature algorithm and expiry date. Auto-generated files in 8.4 use 2048-bit RSA with sha256WithRSAEncryption and a ten-year validity, so check whether any file in use came from that path.
Review keyring component configuration
The administrator reviews which keyring component is loaded and how it is configured, since binlog encryption and InnoDB encryption both depend on a keyring. For MySQL 8.4 Community, the keyring option named in the facts is component_keyring_file. Record the keyring file location and its access controls, and note any Enterprise-only keyring such as keyring_okv, keyring_aws or keyring_hashicorp that the installation uses. The step is done when the loaded keyring component, its configuration file and its file permissions are recorded for each server, with the master key rotation history if it is available.
Inspect replica source settings
On each replica, the administrator checks the source connection settings, which MySQL 8.4 sets with CHANGE REPLICATION SOURCE TO. The relevant options are SOURCE_SSL, SOURCE_SSL_CA, SOURCE_SSL_CERT, SOURCE_SSL_KEY, SOURCE_SSL_VERIFY_SERVER_CERT, SOURCE_TLS_VERSION, SOURCE_SSL_CIPHER and SOURCE_TLS_CIPHERSUITES. The administrator reads these from the replication status output and records whether each replica verifies the source certificate. The step is done when every replication link has its TLS settings and certificate files recorded, and any link without encryption is flagged.
Send vendor questions for any gaps
Where the configuration does not show an answer, the security lead writes questions for the MySQL vendor or the project. Typical gaps include which edition the organization runs, whether the installed build supports post-quantum key exchange, and what the vendor has published about post-quantum roadmap items. The lead records each question with the server version, the date and the named owner. The step is done when every unanswered item has a written question and a place in the inventory to record the reply, so the inventory stays current as vendor statements change.
Questions engineers and vendor-risk reviewers ask about MySQL cryptography
Is MySQL quantum safe?
The supported answer is narrower than the word suggests. The MySQL 26.7.0 release notes, dated 2026-07-28, state that MySQL supports post-quantum cryptography in TLS 1.3 connections when built with OpenSSL 3.5.0 or later. That covers PQC-capable key exchange groups, including hybrid groups such as X25519MLKEM768, and advertising of PQC signature algorithms. The MySQL products page makes no statement about post-quantum support for any edition. Nothing in the supplied documentation says MySQL as a whole is quantum safe. Stored data, binary logs, InnoDB encryption and password exchange outside TLS are not covered by this feature. Confirm the exact build and configuration in your own environment before recording an answer.
Which MySQL version or edition do I need for post-quantum key exchange?
Post-quantum key exchange in TLS 1.3 requires MySQL 26.7.0 or later, built with OpenSSL 3.5.0 or later. The 26.7 manual is the reference for this feature, and the 26.10 manual has a matching page. The supplied documentation does not state which editions include the feature, so ask Oracle to confirm edition coverage for your product. The MySQL 8.4.9 release notes, dated 2026-04-21, record an OpenSSL update to 3.5.5 but do not mention post-quantum cryptography, so an 8.4 build should not be assumed to offer the feature. Check the build's OpenSSL version and the server version together. The status variable Tls_key_exchange_algorithm reports the negotiated group, which you can use to verify a running server.
Does the cryptographic inventory cost extra?
Running the inventory itself mostly costs staff time, plus any tooling or outside help you choose to buy. The main cost drivers are the number of MySQL instances, replication topologies, connectors and client applications, and how many settings must be checked across each. Read-only checks of TLS variables, certificate files, the authentication plugin and encryption settings are usually a one-time effort, but they recur whenever a new instance is added or a configuration changes. If you hire outside help, ask the quote to state what is included: which instances, which settings, what evidence is delivered, and whether a retest is included. No cost figure is supplied in the researched facts, so none is given here.
What breaks if I change the MySQL TLS settings?
Changes to TLS settings can stop connections from establishing, so test them on a non-production instance first. Setting force_pqc=ON or a restrictive tls_kex list causes clients that do not offer a permitted group to fail, and force_pqc is rejected when only TLS 1.2 is allowed. Setting require_secure_transport rejects every plaintext connection. Switching the authentication plugin to caching_sha2_password affects clients that expect other plugins, and the RSA key pair used on unencrypted connections is involved in that exchange. Replication links set with SOURCE_TLS_VERSION or SOURCE_SSL_CIPHER must match what the source accepts. Connectors and proxies may not yet offer post-quantum groups, so review them before enforcing. Runtime changes made with ALTER INSTANCE RELOAD TLS affect only new connections.
What should I ask MySQL or Oracle about post-quantum support?
Ask for written answers to a short list of questions, and record the version and edition each answer applies to:
- Which MySQL editions and releases include the post-quantum key exchange described in the 26.7 manual, and whether the feature is in the 9.7 LTS series.
- Whether post-quantum signatures, such as ML-DSA, are supported for server certificates in your deployment, and whether certificate generation is in scope.
- Whether stored data, binary logs, InnoDB encryption and replication traffic are planned to receive post-quantum protection, and on what timeline.
- Which connectors and Group Replication configurations are supported with post-quantum key exchange.
- Whether any FIPS-validated build is planned that includes post-quantum groups, and the validation details for it.
Ask for the answers in writing and keep the date, since the feature set changes between releases.
Can my team do the MySQL inventory alone, or do we need outside help?
Many teams can run the inventory with in-house staff, since the work is mostly reading settings and recording results. The inventory covers TLS protocol and cipher variables for clients, replication and administrative interfaces, the server certificate and key files, the authentication plugin in use, and whether InnoDB, redo, undo and binary log encryption are enabled. It also covers the OpenSSL version in the build and the keyring component in use. Outside help is useful when you have many instances, need evidence that an assessor will accept, or lack staff who know TLS and keyring configuration well. Whichever route you take, ask that the output name the MySQL version, the build's OpenSSL version and each setting checked, so the results can be repeated later.
Which MySQL data is encrypted at rest, and is it covered by post-quantum key exchange?
The post-quantum key exchange feature covers TLS 1.3 connections only. It does not cover data at rest. In MySQL 8.4, InnoDB data encryption uses AES under a two-tier design, with a keyring-held master key that encrypts tablespace keys. Redo log and undo log encryption are disabled by default. Binary log and relay log encryption, controlled by binlog_encryption, is also off by default, requires a keyring, and uses a built-in AES cipher that cannot be configured. The keyring options available in 8.4 Community are component_keyring_file, while several others are Enterprise only. Check each setting on each instance, because the supplied documentation does not show a post-quantum version of any of these protections. Record what is encrypted and with which keyring, separately from the connection findings.
How DeployOpen helps build and document a MySQL cryptographic inventory
DeployOpen works through the MySQL deployment in the client's own infrastructure to record every place it uses cryptography: client TLS, replication links, certificates, keys and encrypted storage. The output is an inventory that engineers can verify against the running server and that security and compliance teams can review.
How we scope
- Agree in writing which MySQL editions, versions and deployments are in scope, such as the 8.4 and 26.7 lines and any Group Replication or NDB Cluster setups.
- Confirm which interfaces to cover: client connections, admin interface, asynchronous replication, Group Replication, X Plugin and binary log encryption.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing inventory upkeep is available as a retainer.
How we build
- Read the live configuration from each server, including TLS version, cipher and ciphersuite settings, certificate paths, and require_secure_transport.
- Map each public-key dependency: TLS key exchange groups, RSA or ECDSA certificate authentication, and the RSA key pair used by caching_sha2_password.
- Check storage and replication encryption settings, including InnoDB tablespace encryption, keyring type, and whether binlog_encryption is enabled.
How we hand over
- Deliver an inventory document listing each connection, certificate, key and keyring with its MySQL version, edition and configuration variable.
- Record the library build details, such as the OpenSSL version bundled or linked, so the TLS findings can be checked against the build.
- Mark which findings were confirmed on the running server and which need the vendor or the client's own environment to confirm.
How we support
- Repeat the inventory after upgrades, configuration changes or key rotations, so the documented state stays current.
- Prepare the evidence a compliance assessment or vendor-risk review may ask for, while independent auditors and certification bodies issue any formal attestation.
- Retest the inventory on a retainer schedule agreed with the client, with changes recorded against each earlier version of the document.

