How to inventory cryptography in databases

A database cryptographic inventory records each TLS key exchange setting, certificate, wallet and replication channel per engine and version, so you know what depends on public-key algorithms before you plan any upgrade.

On this page

Which database cryptography do you need to inventory first?

Start with the cryptography that protects connections to each database engine. An inventory records, per engine and version, the TLS key exchange groups, minimum protocol, certificates, wallets and replication channel settings that depend on public-key cryptography. The sources listed on this page show where each engine exposes these settings. PostgreSQL 18 records key exchange groups in ssl_groups (default X25519:prime256v1), the minimum protocol in ssl_min_protocol_version (default TLSv1.2) and TLS 1.3 cipher suites in ssl_tls13_ciphers. MySQL exposes per-channel settings named tls_kex, force_pqc and use_pqc_sign for its main, administrative, asynchronous replication, Group Replication and X Plugin channels. Engineers who run the databases hold most of this data, and the security or vendor-risk lead who records the CBOM needs it in one place.

Keep the inventory to the engines and versions you actually run. The CISA, NSA and NIST Quantum-Readiness factsheet of 21 August 2023 frames a cryptographic inventory as the first step, and the CycloneDX CBOM format describes how algorithms, keys and certificates link to the software components that use them. For each entry, record the engine, version, edition, the setting or certificate, and whether a replication or backup channel uses the same keys. Oracle's documentation notes that ML-DSA certificates can be added to an Oracle wallet with JDK 24 or later, so record wallets and JDK versions alongside the database. Publicly trusted certificates on database endpoints also fall under the CA/Browser Forum validity schedule, so record their expiry dates too. Confirm each value in your own environment, since product defaults can change between releases.

Which setting to record for each engine and version

This table lists the setting, status variable or verification command to record for each database engine and version, with its default where the sources give one. Read each row as the exact place to look on that version, and treat the scope and source columns as the limit of what the fact supports. Settings that differ by channel or by OpenSSL version need to be recorded per channel and per build.

Engine and versionSetting or check to recordDefault and scopeDate and source
PostgreSQL 18ssl_groups, ssl_min_protocol_version, ssl_tls13_ciphersssl_groups defaults to X25519:prime256v1; ssl_min_protocol_version defaults to TLSv1.2; settable only in postgresql.conf or on the command linePostgreSQL 18 Server Configuration documentation
PostgreSQL before 18ssl_ecdh_curveAccepts a single value only, so it cannot list several key exchange groupsPostgreSQL 18 Server Configuration documentation
MySQL, per channeltls_kex, force_pqc and use_pqc_sign for the main, administrative, asynchronous replication, Group Replication and X Plugin channelsRecord each channel separately, since each has its own settingMySQL 26.10 Manual 8.3.6
MySQL with OpenSSL earlier than 3.5The *_tls_kex variables and negotiated-algorithm status variablesAccepts only classical group names; negotiated-algorithm status variables return an empty stringMySQL 26.10 Manual 8.3.6
MariaDBNegotiated group, checked with openssl s_clientThe sources say the negotiated group can be verified only with an OpenSSL client; confirm the exact server setting with the vendorMariaDB PQC in TLS documentation
Neo4jNegotiated hybrid group, checked with openssl s_client -connect localhost:7687 -groups X25519MLKEM768Verification command for a hybrid group; confirm the server setting in your version's documentationNeo4j PQ hybrid key exchange documentation
Aurora MySQL 8.4.8SHOW STATUS LIKE 'Aurora_ssl_named_group';Shows the group the current session negotiated, so check it from each client path you runAurora MySQL 8.4.8 release notes
Oracle Database with walletsWallet contents and the JDK version used by clientsML-DSA certificates can be added to an Oracle wallet with JDK 24 or later, so record bothOracle Database Security Guide

Which parts of a database estate hold cryptography

A database estate holds cryptography in more places than the main server endpoint. Client connections, replication, administrative channels, certificates, wallets and the operating system TLS stack each carry keys or algorithm settings that belong in the inventory, and each one feeds the CBOM with its own records.

Client connection TLS settings

Record, for each database server, the key exchange groups, minimum protocol version and TLS 1.3 cipher suites that the server accepts. In PostgreSQL 18 these are ssl_groups, ssl_min_protocol_version and ssl_tls13_ciphers, set only in postgresql.conf or on the command line. Before PostgreSQL 18 the equivalent setting was ssl_ecdh_curve, which accepted a single value. Confirm the negotiated group from a live session, because a configured value alone does not show what clients actually receive.

PostgreSQL 18 docs

Replication and group channels

Replication links and group communication channels use their own TLS settings, separate from client connections. For MySQL, inventory tls_kex, force_pqc and use_pqc_sign for each channel, including the main, administrative, asynchronous replication, Group Replication and X Plugin channels. A channel with a classical-only setting remains exposed even when client connections are updated.

MySQL TLS manual

Administrative and management channels

Admin connections, monitoring agents and management consoles often run on their own listeners with their own certificates. Record each listener, the protocol it uses and the certificate it presents, since these channels are frequently configured separately and missed in client-side reviews. Note who can change these settings, because they usually sit outside application teams.

Certificates and private keys

Inventory every server, client and CA certificate, along with its key algorithm, issuer and expiry date. Publicly trusted certificates on a database endpoint are now bound by shorter validity: the CA/Browser Forum Baseline Requirements version 2.3.2 set a 200 day maximum from 15 March 2026, falling to 100 days from 15 March 2027 and 47 days from 15 March 2029. Record the renewal path for each, since shorter lifetimes raise the volume of reissuance work.

CA/B Forum Baseline Requirements

Oracle wallets and their JDK

Oracle Database stores certificates and keys in wallets, and wallets depend on the Java Development Kit used to manage them. Oracle's documentation says ML-DSA certificates can be added to a wallet with JDK 24 or later, so record each wallet's location, its contents and the JDK version that handles it. Confirm the JDK version on every host that reads or writes the wallet, not only the database server.

Oracle security guide

Operating system TLS stack

Some database engines call the operating system's TLS library rather than bundling their own, so the OS stack decides which groups are offered. On Windows, Schannel hybrid groups are enabled with Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0 from an elevated PowerShell prompt, unless Group Policy is used, and Group Policy overrides that setting. Record the OS build, the TLS settings applied and whether Group Policy controls them.

Microsoft PQC FAQ

How the inventory differs by engine and deployment model

PostgreSQL 18 records its TLS key exchange groups in ssl_groups, with a default of X25519:prime256v1, and sets the minimum protocol in ssl_min_protocol_version, with a default of TLSv1.2. TLS 1.3 cipher suites are set in ssl_tls13_ciphers. Before PostgreSQL 18 the equivalent setting was named ssl_ecdh_curve and accepted only a single value, so an inventory must treat the two names as the same control on different versions.

  • Settings in PostgreSQL 18: ssl_groups, ssl_min_protocol_version and ssl_tls13_ciphers.
  • Settings before PostgreSQL 18: ssl_ecdh_curve, which takes one value.
  • Where they can be set: only in postgresql.conf or on the command line, according to the PostgreSQL 18 documentation. Record the file or launch command for each server.
  • Defaults to record: X25519:prime256y1 for ssl_groups and TLSv1.2 for the minimum protocol, as shipped. Record any change from those defaults.
  • Not covered by these sources: whether a given PostgreSQL build or distribution includes post-quantum groups. Confirm this with your distribution or the PostgreSQL vendor.

For each server, record the major version, the exact setting values and the source file, then confirm the build with the vendor.

How the inventory moves from discovery to a recorded CBOM

The inventory starts with discovering database hosts and endpoints, then reads each engine's TLS and channel settings and the group actually negotiated on a live connection. Those results are recorded as algorithms, keys and certificates with their links to the software components that use them, in a CBOM that follows the CycloneDX description. Check each engine's settings against the version and TLS library in use, because some engines report an empty negotiated group when the library is older than OpenSSL 3.5, and a configured group is not the same as one that was negotiated.

The path from endpoint discovery to a recorded CBOM.

How to build the inventory, step by step

This sequence turns scattered database settings into a verifiable record of which cryptography each engine uses, which certificates and key exchange groups are in place, and how those components relate. The result is a CBOM that security and audit teams can check against the running estate.

  1. List every database endpoint and version

    Start by listing every database instance, cluster, replica and managed service in scope, with its engine, exact version and the host or endpoint clients connect to. Include development and disaster recovery copies, since they often carry older settings. Ask the platform team and the cloud account owners to confirm the list against their asset records and network maps. The step is complete when every endpoint has an owner, an engine version and a listening address, and the list has been reconciled with the asset inventory so that nothing reachable is missing.

  2. Record configured cryptographic settings per engine

    For each endpoint, record the settings that govern its cryptography, using the names each engine documents. For PostgreSQL 18, capture ssl_groups, ssl_min_protocol_version and ssl_tls13_ciphers from postgresql.conf or the command line, noting that the defaults are X25519:prime256v1, TLSv1.2 and the engine's TLS 1.3 suites. For earlier PostgreSQL releases, record ssl_ecdh_curve instead, which accepts only a single value. For MySQL, record tls_kex, force_pqc and use_pqc_sign for each channel: main, administrative, asynchronous replication, Group Replication and X Plugin. Record the OpenSSL version the server links against, because the MySQL manual says that before OpenSSL 3.5 the key exchange variables accept only classical group names. The step is complete when each engine's settings are written down with their values and the source file or variable they came from.

  3. Verify the negotiated key exchange group

    Configured settings show what is allowed, not what a connection actually uses, so check the negotiated group on a live connection. The sources give specific commands for some engines: for Neo4j, run openssl s_client -connect localhost:7687 -groups X25519MLKEM768 to confirm a hybrid group is negotiated. For MariaDB, the documentation says verification requires an OpenSSL client such as openssl s_client. On Aurora MySQL 8.4.8, run SHOW STATUS LIKE 'Aurora_ssl_named_group'; to see the group the current session negotiated. For engines whose sources give no verification command, ask the vendor how to confirm the negotiated group and record that answer. The step is complete when each endpoint has a recorded negotiated group, or a note that the group could not yet be confirmed and who is following it up.

  4. Record certificates and their validity

    Collect every certificate that a database endpoint presents or depends on, including server certificates, client certificates used for mutual TLS, replication certificates and any internal CA roots that sign them. For each one, record the subject, issuer, algorithm, key size, validity start and end, and where it is installed. Note that the CA/Browser Forum Baseline Requirements set a maximum subscriber certificate validity of 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029, which applies to publicly trusted certificates on database endpoints. The step is complete when each certificate has a row in the inventory with its expiry date and renewal owner, and any certificate expiring before the planned upgrade work is flagged.

  5. Record wallets and JDK versions

    For Oracle Database, record each Oracle wallet that holds certificates or keys, along with the JDK version used by any Java-based client or tool that reads or writes those wallets. Oracle's documentation says ML-DSA certificates can be added to an Oracle wallet with JDK 24 or later, so the JDK version determines what a wallet can hold. Record the wallet location, its owner and the JDK version on each host that manages it. The step is complete when every wallet and JDK on the inventory has been identified with its version and location, and any client or administration host running a JDK earlier than 24 is noted as a constraint for later planning.

  6. Write the CBOM with component relationships

    Assemble the findings into a cryptographic bill of materials that follows CycloneDX's CBOM model, which represents algorithms, keys and certificates as assets and links them to the software components that use them. Link each database instance to its engine and version, its negotiated group, its certificates, its wallets and the libraries or JDK it depends on. Keep the record versioned and dated so that changes over time are visible. Store it where the security and audit teams can read it, and treat the CISA, NSA and NIST Quantum-Readiness factsheet of 21 August 2023 as the reference for the steps followed. The step is complete when a reviewer can trace from any database endpoint to its algorithms, keys, certificates and software components without asking the operating team, and the open items are listed with owners.

What the sources do not show and what to ask each vendor

The sources listed for this topic describe configuration settings and standards, but they do not confirm how each database behaves in production or in managed services. The four cards below name the gaps that matter most for an inventory, and the questions to put to each vendor before recording an answer.

Is the hybrid group negotiated in production

A configured key exchange group is not the same as a negotiated one. The sources show that some engines expose only a configuration value, while others report the group a session actually used. Ask the vendor which status variable, log entry or client-side command confirms the negotiated group on a live connection, and whether that check works with the OpenSSL version your clients use. Record the configured value and the observed value separately, and ask what the database reports when the client does not offer a hybrid group.

MariaDB PQC docs

Do managed services use the same setting names

Self-managed engines and managed services often expose the same engine with different parameter names, defaults and places to set them. The sources note that PostgreSQL renamed its curve setting in version 18, and that managed Aurora MySQL reports its negotiated group through its own status variable. Ask each managed service provider for the exact parameter names it exposes, whether they can be changed through its console, API or parameter group, and which settings are fixed by the service and cannot be inventoried as configurable.

Aurora MySQL 8.4.8 notes

Are post-quantum signatures supported for database certificates

Key exchange and certificate signatures are separate parts of a database connection. The CISA categories note that widely available products have implemented post-quantum key encapsulation more broadly than digital signatures and authentication. Ask whether the database can present and validate certificates that use post-quantum signature algorithms, which TLS libraries and wallet or JDK versions it needs, and how certificate chains from publicly trusted authorities will be handled once they change. Record the certificate algorithm separately from the key exchange group.

CISA PQC categories

Which library versions the vendor has tested

The sources tie some behavior to specific library versions. The MySQL manual says that with OpenSSL earlier than 3.5, its group variables accept only classical names and status variables return empty. OpenSSL 3.5.0 changed the default TLS key shares. Ask the vendor which OpenSSL or TLS library version each release is built against, whether the bundled library is the one used for client connections, and what happens when a database links a system library that is older. Record the library version alongside each database version in the inventory.

OpenSSL 3.5 notes

What can go wrong when the inventory is incomplete

An inventory that only checks whether a database setting exists can miss the cases where the setting is present but does not do what the reader expects. PostgreSQL 18 records TLS key exchange groups in ssl_groups, with a default of X25519:prime256v1, and the minimum protocol in ssl_min_protocol_version. Before PostgreSQL 18 the equivalent setting was ssl_ecdh_curve and accepted only a single value, so a configuration copied from older documentation may read as configured while offering only classical groups. For MySQL, the per-channel variables tls_kex, force_pqc and use_pqc_sign cover the main, administrative, asynchronous replication, Group Replication and X Plugin channels. The MySQL manual says that with OpenSSL earlier than 3.5 the *_tls_kex variables accept only classical group names, and the negotiated-algorithm status variables return an empty string. An empty status can be mistaken for a missing feature, when it is really a library that cannot offer post-quantum groups at all. Confirm the OpenSSL version each database build links against, and record the negotiated group from a live connection, not only the configured value.

Certificates on database endpoints are a second source of gaps. The CA/Browser Forum Baseline Requirements version 2.3.2, section 1.2.2, sets maximum subscriber certificate validity at 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029. Any publicly trusted certificate on a database endpoint, such as a managed or exposed listener, will therefore need renewal far more often than a long-lived certificate recorded in a spreadsheet would suggest. An inventory that records only expiry dates from last year will underestimate the renewal workload. Record the issuing CA, validity period and renewal owner for each certificate in the CBOM.

Signing material can also be missed. Oracle's documentation says ML-DSA certificates can be added to an Oracle wallet with JDK 24 or later. A wallet or JDK older than JDK 24 cannot hold ML-DSA certificates, so a team that adds post-quantum signing material without checking the runtime will find the import fails, or will leave an older component in place without knowing it. Treat the wallet store and the JDK version as inventory items in their own right, with the version recorded next to each wallet. The sources listed on this page do not say whether other database signing paths have the same constraint, so confirm the requirement with the vendor before relying on it.

What engineers and vendor-risk reviewers ask about the database inventory

Is my database quantum safe if I inventory it?

No. An inventory records where your databases use cryptography and which algorithms, keys, certificates and protocol settings they use. It does not make any database quantum safe, and it does not establish compliance with any standard. It is the step that shows you what needs to change. The CISA, NSA and NIST Quantum-Readiness factsheet of 21 August 2023 describes building a useful cryptographic inventory as an early preparation step, and the outcome depends on the migration work that follows it.

Which database version do I need to record post-quantum settings?

The version determines which settings exist at all. PostgreSQL 18 records TLS key exchange groups in ssl_groups, the minimum protocol in ssl_min_protocol_version and TLS 1.3 cipher suites in ssl_tls13_ciphers. Before PostgreSQL 18 the equivalent setting was named ssl_ecdh_curve and accepted only one value. MySQL's per-channel settings (tls_kex, force_pqc and use_pqc_sign) depend on OpenSSL, because with OpenSSL earlier than 3.5 the *_tls_kex variables accept only classical group names. Record the database version, the TLS library version and the library build for each endpoint, and check the vendor documentation for the release you run.

Does a database cryptography inventory cost extra?

The sources listed on this page do not give a price or effort figure for an inventory, so confirm this with your vendor and your service provider. The cost usually has three parts: staff time to collect settings from each database, client, replica and backup, tooling to scan and record them, and any licensed features needed to read the settings. Ask the vendor whether the settings you need are available on your edition and whether any are gated behind a paid tier. Recurring costs come from repeating the inventory as versions and certificates change, which is why many teams store the CBOM in a system that is updated during routine changes.

What breaks when I change database TLS settings?

Changing key exchange groups, minimum protocol versions or cipher suites can stop clients from connecting if they do not offer a matching option. The MySQL manual notes that the negotiated-algorithm status variables return an empty string on OpenSSL earlier than 3.5, so you may see no output and assume a failure. Windows hybrid groups are controlled by Group Policy, which overrides the local setting, so a change made on one host can be ignored. Test each change against every client driver, replica and backup tool in your estate before applying it, and keep the previous configuration so you can roll back.

What should I ask my database vendor about post-quantum support?

Ask which key exchange groups the server offers, whether those groups are hybrids, and which versions and editions support them. Ask where each setting is stored, whether it can change at runtime or only in the configuration file, and which setting names apply to your release. Ask how the negotiated group can be verified in your environment, since some vendors document only a command-line check using an OpenSSL client. For certificates, ask whether ML-DSA certificates are supported and which JDK or library version is required. Ask for these answers in writing, with the version and date they apply to.

Can my team run a database cryptography inventory without outside help?

Yes, if your team has access to each database, its configuration files, its client libraries and its certificate stores. The work is mostly collection and recording: reading the settings, identifying the libraries and certificates in use, and noting which components depend on public-key cryptography. Teams with many databases, mixed editions or unclear ownership often find the scope harder than expected. DeployOpen works on self-hosted open-source platforms and can plan, document and support that work under a fixed scope agreed in writing before work starts.

How does a CBOM relate to the federal inventory duties in EO 14412?

A cryptographic bill of materials (CBOM), such as the CycloneDX format, is a structured record of the algorithms, keys and certificates in a system and how they relate to software components. Executive Order 14412 section 4(a) requires each agency head to name a post-quantum cryptography migration lead who is responsible for agency-wide cryptographic inventory management. Section 5(d) directs CISA, with NIST, to publish guidance on minimum elements for a cryptographic bill of materials within 270 days. A CBOM you create now may need to be adjusted once that guidance is published, so treat it as a working record rather than a final submission.

How DeployOpen works on this

DeployOpen builds the cryptography inventory for the database estate you run, starting from the connection, replication, key and backup settings each engine exposes. The result is a documented, versioned record that your security and platform teams can review, update and hand to auditors.

How we scope

  • Agree in writing which database engines, versions, clusters and environments fall inside the inventory.
  • Confirm which TLS groups, protocol settings, certificate authorities and wallets each engine uses in your deployments.
  • Set the depth of the CBOM with you, covering algorithms, keys, certificates and their links to software components.

How we build

  • Read each engine's negotiated key exchange and cipher settings, such as ssl_groups in PostgreSQL 18 or tls_kex in MySQL.
  • Verify negotiated groups on live endpoints with openssl s_client, recording the result against the version tested.
  • Map Windows Schannel, Oracle wallet and JDK dependencies so hidden cryptography reaches the inventory record.

How we hand over

  • Deliver a CBOM in CycloneDX format listing each database endpoint, its algorithms, keys, certificates and dependencies.
  • Document the inventory method, tool versions and dates so the record can be repeated and checked by your reviewers.
  • Walk your engineering and security teams through the findings and the open items to confirm with each vendor.

How we support

  • Keep the inventory current as engine versions, certificates and client libraries change in your estate.
  • Offer ongoing support and continuous review as a retainer, scoped in writing separately from the initial inventory.
  • Prepare inventory evidence for your compliance assessment, while independent auditors issue any formal attestation.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.