Oracle Database and Java: post-quantum compatibility across the stack

Oracle Database 26ai supports ML-KEM and ML-DSA in TLS 1.3, and 19c supports them through the next-generation provider. Whether a connection actually negotiates them depends on the database, the JDBC driver, the Java runtime and the Linux OpenSSL version together.

On this page

Does Oracle Database post-quantum TLS work with JDBC, Java and Linux today?

If your platform team runs Java applications that connect to Oracle Database over TLS, the database side is no longer the only question. Oracle documents ML-KEM key exchange and ML-DSA signatures in Oracle AI Database 26ai, where TLS 1.3 is the only version that supports them. Oracle Database 19c gets the same algorithms through the next-generation crypto provider from Release Update 19.32. Whether a given client connection actually uses them depends on three things working together: the JDBC driver type, the Java runtime and the Linux OpenSSL version. The 26ai TLS chapter was documented on 2026-12-03, and that date is the one to record in your evidence.

Server-side support does not by itself make a JDBC application quantum safe. Oracle's 19c client matrix says JDBC thick supports ML-KEM, while JDBC thin is limited, so the driver type your applications load decides what the handshake can offer. Oracle's documentation for 26ai also notes that ML-DSA certificate validation works only in TLS 1.3, and that certificates made with ML-DSA keys fail if an instance is switched back to the legacy provider. Confirm each of these points against the exact driver, runtime and OpenSSL build in your environment rather than assuming that a supported database version implies a supported client path.

Ownership is split across three groups, and each needs to sign off. The database team owns the listener, the wallets and the TLS parameters such as TLS_VERSION and TLS_KEY_EXCHANGE_GROUPS. The application or middleware team owns the JDBC driver version, the Java runtime and the connection settings. The host or platform team owns the Linux OpenSSL package, which the 19c documentation says must be 3.5 or later for the Python thin path. Security leads should ask each group to record the version of its component and test a real connection, because the handshake is only as strong as the weakest link in that chain.

Which component supports post-quantum TLS, and in which release

This table compares Oracle components by release, client and TLS feature, so you can see which parts of the stack can negotiate ML-KEM or sign with ML-DSA today. Read each row against its version and what it does not cover, because a server release and its clients can differ. The main takeaway is that the 26ai server and the 19c next-generation provider both support post-quantum TLS, but client support varies by driver and language, and the pages reviewed name no database edition for PQC support.

ComponentVersion and applies toWhat it does not coverSource and date
Oracle AI Database 26aiTLS 1.3 with ML-KEM key exchange, hybrid by default, and ML-DSA certificates in TLS 1.3ML-DSA certificate validation works only in TLS 1.3, and the pages reviewed do not show ML-DSA use in Data Guard redo transport or TDE key protectionOracle 26ai TLS Guide, documented 2026-12-03
Oracle Database 19c, RU 19.32 and laterNext-generation OpenSSL-based provider with TLS 1.3, ML-KEM and ML-DSA, provided the provider is switched on and the instance restartedThe legacy provider stays the default, ML-DSA certificates fail after switching back to the legacy provider, and PQC is not available in FIPS 140-2 modeOracle 19c RU 19.32 and Oracle 19c Crypto Providers, Oracle 19c Configuring PQC
19c client: OCI and JDBC thickSupport ML-KEM over TLSThe pages reviewed do not state client versions beyond this matrix entryOracle 19c Configuring PQC client matrix
19c client: JDBC thinLimited ML-KEM supportConfirm the exact groups and versions with Oracle before relying on JDBC thin for PQCOracle 19c Configuring PQC client matrix
19c client: Python thin on LinuxNeeds OpenSSL 3.5 or later on the hostDoes not apply to other platforms or to older OpenSSL buildsOracle 19c Configuring PQC client matrix
19c client: ODP.NET managed on WindowsDoes not offer PQC over TLSODP.NET unmanaged and ODP.NET Core are listed separately in the same matrix and should be checked individuallyOracle 19c Configuring PQC client matrix

Which parts of the stack must agree before a connection uses ML-KEM

A connection negotiates ML-KEM only when the database server, its wallet, the client driver, the Java or Linux runtime and the crypto provider all support it at once. Each card below is one link in that chain, and a gap at any one link means the handshake falls back to classical key exchange.

Listener and server TLS settings

The server's TLS_KEY_EXCHANGE_GROUPS setting, placed in sqlnet.ora or listener.ora, controls which key-exchange groups the listener offers. When it is unset, the documented default is hybrid, which combines ML-KEM and ECDHE into one shared secret. ML-KEM and ECDHE are supported only in TLS 1.3, so leave TLS_VERSION at its undetermined default or set it to TLSv1.3 and confirm that the client can also negotiate that version. Check the server setting first, because the listener must be restarted after changes.

26ai TLS guide

Server wallet and certificate chain

The server wallet holds the private key and certificate chain that the listener presents during the handshake. A wallet that holds only RSA or ECC certificates can still negotiate ML-KEM for key exchange, but ML-DSA certificates work only in TLS 1.3, and orapki creates only self-signed ML-DSA certificates. In 19c, a certificate made with an ML-DSA key fails if the instance is switched back to the legacy provider, so the wallet must be planned together with the provider choice.

JDBC driver type: thick or thin

A thick JDBC connection uses the Oracle client libraries, which is the path Oracle lists as supporting ML-KEM. The thin driver is listed as limited for post-quantum TLS, so an application that uses thin mode may not negotiate ML-KEM even when the server offers it. Confirm the driver type and version in the application's connection configuration and test the handshake against the server, rather than assuming that a successful connection means ML-KEM was used.

Java runtime version for ML-DSA certificates

The orapki tool adds ML-DSA certificates to an Oracle wallet only when it runs on JDK 24 or later. An older Java runtime on the administration host therefore blocks the wallet step even if the database supports the algorithm. Check the JDK that orapki actually uses on the server, not only the one on a developer's laptop, and record the version in the change ticket for the wallet update.

Linux OpenSSL version for the Python thin client

The Python thin client on Linux needs OpenSSL 3.5 or later to offer post-quantum key exchange over TLS. Oracle's 19c client matrix lists this requirement, so an application host on an older distribution package can connect with classical TLS only. Confirm the OpenSSL version that the Python runtime loads, since a system package and a bundled library can differ.

Crypto provider on the database host

In 19c, the legacy provider remains the default, and ML-KEM, ML-DSA and SLH-DSA are available only with the next-generation provider. Only one provider is active at a time, and the switch applies to the whole instance, which then needs a restart of the database and listener. Check the active provider on the database host before testing any client, because a correct client and wallet still cannot negotiate ML-KEM on the legacy provider.

Crypto provider switching

How the answer changes by Oracle release and client type

The 26ai TLS chapter documents ML-KEM and ML-DSA for Oracle AI Database 26ai, but the 19c client matrix is the only place the facts describe JDBC thin client behavior, and it states that JDBC thin support is limited. The documented 26ai TLS settings apply to the server side, so a thin client's PQC behavior depends on the driver version and the Java runtime it runs on. Treat a server-side 26ai setting as a statement about the listener and server, not as proof that every thin client negotiates ML-KEM.

  • Key exchange: ML-KEM and the ML-KEM plus ECDHE hybrid are documented for 26ai TLS sessions, and only under TLS 1.3. A thin client must offer TLS 1.3 with a compatible group before this can apply.
  • Signatures: ML-DSA certificate validation works only in TLS 1.3. A thin client that cannot negotiate TLS 1.3 cannot validate an ML-DSA server certificate.
  • Default group: TLS_KEY_EXCHANGE_GROUPS defaults to hybrid when unset in sqlnet.ora or listener.ora, but the default does not show what a given thin driver offers.
  • Limits: the facts do not document a supported JDBC thin driver version for PQC, so do not record thin client PQC support as confirmed.
  • To confirm: the JDBC driver version, the Java runtime version, whether TLS 1.3 is enabled in the client, and a negotiated-group capture on a test connection.

What to check: run a test connection from the thin client to a 26ai listener and record the negotiated protocol version and key exchange group, then confirm the result with Oracle's JDBC documentation for your driver version.

How a Java client's TLS handshake to Oracle Database chooses an algorithm

This diagram traces the decision path the Oracle documentation describes for a Java application connecting to Oracle Database over TLS. The path starts at the Java application, passes through the JDBC driver and the Linux OpenSSL library, and reaches the Oracle listener, where TLS_KEY_EXCHANGE_GROUPS and the server wallet are read. The decision points cover TLS 1.3 versus TLS 1.2, hybrid versus classical key exchange, and a fallback to ECDHE when a peer does not support ML-KEM. It shows the decision path the facts describe, not a guaranteed negotiation outcome, so check the driver and OpenSSL versions in your own environment.

Decision path for a Java TLS handshake to Oracle Database, as the documentation describes it.

What a platform team should check before enabling post-quantum TLS on Java clients

This sequence confirms that the Oracle release, JDBC driver, Java runtime and Linux host can each negotiate post-quantum key exchange before anyone changes a client setting. The end result is a tested handshake and a trace that show which group and protocol were actually used.

  1. Inventory the Oracle release and crypto provider

    The platform team records the exact Oracle release in use, such as 26ai or 19c with its Release Update number, and the crypto provider active on the database and listener. In 19c the legacy provider is the default and only one provider is active at a time, so a client cannot negotiate ML-KEM until the next-generation provider is enabled. Confirm the provider with the database owner and record the change window needed to switch it, since the instance and listener must restart. This step closes when the release, RU number and active provider are written in the inventory record.

  2. Confirm the JDBC driver type and ML-KEM support

    Identify whether applications use the thick, thin or OCI driver, because the 19c client matrix does not treat them the same. The matrix states that OCI, JDBC thick and ODP.NET unmanaged support ML-KEM, while JDBC thin support is limited. Check the driver version against the matrix in Oracle's 19c PQC documentation and note any limits in writing. This step closes when each application is mapped to a driver type with a documented ML-KEM status.

  3. Confirm the Java runtime version

    Record the Java runtime each client uses, including the version and vendor build. Oracle documents that orapki can create self-signed ML-DSA certificates and add them to an Oracle wallet only with JDK 24 or later. Runtimes older than JDK 24 can still support TLS key exchange where the driver allows it, but they cannot be used for ML-DSA certificate work. This step closes when each runtime is listed with its version and a note on whether ML-DSA certificate work is needed.

  4. Check OpenSSL 3.5 or later for Python thin on Linux

    Where Python thin runs on Linux, the platform team checks the installed OpenSSL library version, since the 19c client matrix requires OpenSSL 3.5 or later for PQC over TLS. Confirm the version the Python process actually loads, which can differ from the system package if a virtual environment or container bundles its own library. Note any hosts that fall short so they are excluded from the test plan. This step closes when each Linux host running Python thin reports OpenSSL 3.5 or later.

  5. Set TLS_VERSION to unset for negotiation

    In the client sqlnet.ora, the team leaves TLS_VERSION unset, which is the documented default, so the highest common version is negotiated. Oracle recommends leaving TLS_VERSION and TLS_DISABLE_VERSION unset for this reason. ML-KEM and ECDHE are supported only in TLS 1.3, so pinning TLS 1.2 would prevent the PQC key exchange from being used. Where a parameter is set with both TLS_ and SSL_ names, the SSL_ version is ignored, so confirm the names in use. This step closes when the client configuration file is saved with TLS_VERSION unset and the setting is recorded in the change log.

  6. Verify with a test handshake and a trace

    Run a test connection from each client type to the test listener and capture a trace of the TLS handshake. The trace should show the negotiated protocol version and key exchange group, which for hybrid configurations combines ML-KEM with ECDHE. Oracle states that the TLS_KEY_EXCHANGE_GROUPS parameter defaults to hybrid when unset. If a client falls back to a classical group or TLS 1.2, record which component caused it. This step closes when every client type has a saved trace that shows the expected group and protocol, or a documented reason it does not.

What Oracle has not published for the Java and Linux path

The Oracle documentation covers ML-KEM and ML-DSA in several places, but it leaves gaps that matter when the database is reached through JDBC, ODP.NET or Linux hosts. Each card names one gap, what to ask Oracle, and the document most likely to settle it.

JDBC thin driver support

The 19c client matrix describes JDBC thin support for ML-KEM as limited, but the documented detail stops there. Java applications that connect with the thin driver may not get the post-quantum key exchange that OCI or JDBC thick provide. Ask Oracle which JDBC thin versions support ML-KEM, which TLS groups they negotiate, and whether the limit is a known gap or a planned change. Check the 19c Configuring PQC client matrix and the JDBC release notes for the version you run.

Configuring PQC

ODP.NET Core and managed Windows

The 19c client matrix states that ODP.NET Core and ODP.NET managed on Windows do not offer post-quantum cryptography over TLS. Only ODP.NET unmanaged is listed with ML-KEM support. Teams that build .NET services on these drivers should record the gap and ask Oracle whether a future release will add support. Ask which driver version, if any, is planned to carry ML-KEM, and whether the managed driver will follow the unmanaged path.

Configuring PQC

Public CA issuance of ML-DSA certificates

The 19c documentation says public certificate authorities do not yet broadly issue ML-DSA certificates, and orapki can create only self-signed ML-DSA certificates. A database that presents a public certificate therefore cannot rely on ML-DSA today. Ask Oracle which CAs it recommends for ML-DSA server certificates, and whether any public CA chain is validated for database listeners. Check the Configuring PQC page for the orapki limits and the TLS 1.3 requirement for ML-DSA validation.

Configuring PQC

PQC in FIPS mode

The 19c PQC reference states that PQC is not available in FIPS 140-2 mode, and that FIPS 140-3 validation excludes the PQC algorithms, with final certificate issuance still pending. Regulated deployments that must run in FIPS mode cannot use ML-KEM or ML-DSA on the path that is validated today. Ask Oracle for the FIPS 140-3 certificate number when it is issued, the algorithms it covers, and the date PQC will fall inside the validated boundary.

PQC reference

Database edition for PQC support

Neither the 26ai nor the 19c pages opened name a database edition that supports post-quantum algorithms. Procurement and licensing teams cannot confirm from the documentation alone which edition, option or license they need for ML-KEM or ML-DSA. Ask Oracle to name the editions and options that include PQC in writing, and check the Oracle licensing guide and the 26ai New Features page for any edition-specific note.

26ai New Features

PQC in Data Guard and TDE

The 26ai Data Guard redo transport page and the TDE features page do not state any use of PQC for redo transport authentication or for TDE key protection. Redo transport uses TLS over TCPS with certificates in wallets, Oracle Key Vault or an HSM, so the certificate signature path is the one to watch. Ask Oracle whether ML-KEM or ML-DSA will protect redo transport and TDE master keys, and which release would add it. Check the Data Guard Redo Transport and TDE pages for changes.

Data Guard redo transport

What breaks when ML-DSA certificates or TLS 1.2 meet the client stack

Post-quantum TLS on Oracle Database fails in predictable places, and the first to check is protocol version. In Oracle AI Database 26ai, ML-KEM and ECDHE key exchange work only in TLS 1.3, and ML-DSA certificate validation works only in TLS 1.3. In Oracle Database 19c, the Oracle 19c Configuring PQC page says a TLS 1.2 handshake fails if either side uses an ML-DSA certificate. Before you issue ML-DSA certificates to a listener or server wallet, confirm that every client that will connect negotiates TLS 1.3. Also check TLS_VERSION and TLS_DISABLE_VERSION in sqlnet.ora and listener.ora, since Oracle recommends leaving both unset so the highest common version is negotiated.

A second failure appears when the 19c instance is switched back to the legacy provider. The 19c PQC documentation states that certificates made with ML-DSA keys fail once the instance returns to the legacy provider, because ML-KEM, ML-DSA and SLH-DSA are available only with the next-generation provider in any FIPS mode. Provider changes are all-or-nothing for the instance, and both the database instance and listener must be restarted for them to take effect. Treat the provider setting and the certificate inventory as one change record, and do not roll back the provider without first re-issuing or retiring the ML-DSA certificates in the wallet. Deprecated cipher suites add another break point: in 26ai, TLS 1.2 suites that need TLS_ENABLE_WEAK_CIPHERS only work when that setting is enabled on the client, listener and server together. A single side left at the default will refuse the suite.

The most important check is the one that does not produce an error. If a client's JDBC driver, OpenSSL build or OCI library does not offer ML-KEM, the connection can still succeed using classical key exchange. The 19c client matrix shows that JDBC thin support is limited, that Python thin on Linux needs OpenSSL 3.5 or later, and that ODP.NET Core and managed on Windows do not offer post-quantum TLS at all. A connection that opens therefore says nothing about the negotiated group. Verify the negotiated key exchange on each client path, for example by checking the server-side TLS trace or the client library version, and record the result per client application. Do not assume a hybrid group from the server configuration alone.

Questions Java and platform teams ask about Oracle post-quantum TLS

Is Oracle Database quantum safe?

Oracle's 26ai documentation says the database supports two NIST-standardized post-quantum algorithms for TLS: ML-KEM for key exchange and ML-DSA for digital signatures. That is a description of supported algorithms, not a finished quantum-safe configuration. Whether a given deployment is quantum safe depends on the release, the key exchange group, the certificate type, the client stack and the fallback settings that remain enabled. Treat any "quantum safe" label as a claim that needs independent review against your own configuration. Confirm the exact settings in your environment with Oracle and your assessor before recording an answer.

Which Oracle version, TLS settings and crypto provider do I need?

In 26ai, the TLS chapter documents ML-KEM and ML-KEM plus ECDHE hybrid key exchange, which are supported only in TLS 1.3. The TLS_KEY_EXCHANGE_GROUPS parameter in sqlnet.ora or listener.ora defaults to hybrid when unset. In 19c, post-quantum TLS requires Release Update 19.32 or later and the next-generation OpenSSL-based provider, which is not the default. The legacy provider is the default and is the only one active at a time, so the switch is set with set_crypto_provider.py next-generation (crypto_provider.py from 19.33) and requires a restart of the instance and listener. ML-KEM and ML-DSA are not available with the legacy provider in any FIPS mode.

Does post-quantum TLS on Oracle cost extra?

The Oracle documentation we reviewed for 26ai and 19c does not name a database edition, option or license that is required for post-quantum support, and it gives no price for it. Do not assume either way. Ask Oracle in writing which editions, options and licenses include the next-generation provider, ML-KEM and ML-DSA in your release, and whether any support or patch entitlement is needed. Also confirm the cost of the OpenSSL-based provider package, any OCI or client software changes, and the effort for your certificate and wallet work. Ask for the answer as part of a quote so that the one-time and recurring parts are separated.

What breaks when a Java client connects to Oracle with post-quantum TLS?

Client support is uneven, so check each driver before enabling anything on the server:

  • OCI, JDBC thick and ODP.NET unmanaged support ML-KEM according to the 19c client matrix.
  • JDBC thin support is limited, so test your exact driver version.
  • Python thin on Linux needs OpenSSL 3.5 or later.
  • ODP.NET Core and managed on Windows do not offer post-quantum TLS.

ML-DSA certificates only validate in TLS 1.3, and a TLS 1.2 handshake fails if either side uses an ML-DSA certificate. Certificates made with ML-DSA keys also fail if the instance is switched back to the legacy provider. Test rollback before you rely on it.

What should I ask Oracle before I change anything?

Put these questions to Oracle in writing:

  • Which Oracle AI Database and Oracle Database 19c release and update contain the post-quantum behavior you need?
  • Which editions and options include the next-generation provider, and is any license change required?
  • Is ML-KEM hybrid the default for each client path you use, and how are JDBC thin and ODP.NET handled?
  • How are ML-DSA certificates issued, since the documentation says public certificate authorities do not yet broadly issue them?
  • What is the supported rollback path, and does it keep existing ML-DSA certificates usable?
  • Does Oracle's Data Guard redo transport or TDE key protection use post-quantum algorithms, and if not, when is that planned?

Record the answers with the release and date they apply to.

Can my team do the Oracle post-quantum TLS work alone, or do we need outside help?

A team that already runs Oracle Net Services, Java clients and a wallet-based PKI can often do the configuration itself, using the documented parameters and orapki commands. The work that usually needs more care is inventory across every client language, testing each driver and TLS 1.3 path, managing a provider switch on a live instance, and building an evidence trail for an assessor. If your team lacks these skills or the change touches many systems, a fixed-scope engagement can cover the inventory, configuration, testing and documentation. DeployOpen plans, deploys, tests and documents self-hosted platforms in your own infrastructure, and prepares evidence for compliance reviews, though it does not issue audit reports or certifications. Scope and deliverables are agreed in writing before work starts.

How DeployOpen helps plan and test Oracle post-quantum TLS on Java stacks

DeployOpen plans and tests Oracle Database post-quantum TLS together with the JDBC drivers, Java runtimes and Linux hosts it depends on, in the client's own environment. Each engagement starts from a written scope and ends with documented configuration and test evidence for the client's security and platform teams.

How we scope

  • Confirm the Oracle release in use, 26ai or 19c with a specific Release Update, since TLS options differ between them.
  • Inventory which JDBC drivers, Java runtimes and Linux hosts connect to each database and which clients are thick or thin.
  • Record the written scope, including which listeners, wallets and Data Guard links are in and out of the test plan.

How we build

  • Set up a test environment that matches production versions, provider settings and certificate types for the Oracle stack.
  • Configure the next-generation crypto provider, key exchange groups and certificate settings only where the vendor documents them.
  • Test client compatibility for ML-KEM and hybrid key exchange, and check fallback behavior when a client lacks support.

How we hand over

  • Deliver a written record of the versions, parameters, wallet contents and client results tested, with dates.
  • Document each open limitation found, such as certificate or TLS version constraints, with the vendor source it came from.
  • Provide a rollback procedure and a list of questions to confirm with Oracle before production change.

How we support

  • Offer ongoing support and upgrade testing as a retainer after handover, for new Release Updates and driver versions.
  • Retest the configuration when Oracle, the Java runtime or the Linux host changes its TLS or provider behavior.
  • Keep the handover record current so the client's audit and compliance evidence reflects the running configuration.

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.