Configuring TLS 1.3

TLS 1.3 is only available when OpenSSL is set as the cryptographic provider. See Switching the Cryptographic Provider for Oracle Database 19c for more information.

Why TLS Modernization Matters

TLS Protocol Versions and Cipher Suites

The TLS protocol versions available to Oracle Database 19c depend on the active cryptographic provider.

When using OpenSSL (next-generation provider), Oracle Database supports only TLS 1.2 and TLS 1.3. SSLv3, TLS 1.0, and TLS 1.1 are not available in next-generation provider mode regardless of FIPS configuration.

When using Dell BSAFE Crypto-C Micro Edition Suite, or MES (legacy provider), Oracle Database supports TLS 1.0, TLS 1.1, and TLS 1.2. TLS 1.0 and TLS 1.1 are not recommended and are not available when FIPS 140-2 mode is enabled. The legacy provider does not support TLS 1.3.

Oracle recommends using TLS 1.2 or TLS 1.3 for all new deployments. TLS 1.3 is available only with the next-generation provider.

Tip: You can use TLS_DISABLE_VERSION to disable protocol versions that you do not want clients or servers to negotiate.

The following table summarizes the available TLS versions depending on the cryptographic provider in Oracle Database 19c.

TLS Version OpenSSL - Next-Generation Provider OpenSSL - Next-Generation Provider in FIPS 140-3 mode MES - Legacy Provider (Default) MES - Legacy Provider in FIPS 140-2 mode
SSLv3 Not supported Not supported Supported (not recommended) Not supported
TLS 1.0 Not supported Not supported Supported (not recommended) Not supported
TLS 1.1 Not supported Not supported Supported (not recommended) Not supported
TLS 1.2 Supported Supported Supported Supported
TLS 1.3 Supported Supported Not supported Not supported

TLS 1.3 Cipher Suites

The following cipher suites are available when TLS 1.3 is enabled. TLS 1.3 can only be enabled when OpenSSL is the cryptographic provider.

TLS 1.3 cipher suites use Authenticated Encryption with Associated Data (AEAD) constructions exclusively. Non-AEAD cipher suites, such as those using CBC mode, are not available in TLS 1.3.

TLS 1.2 Cipher Suites

The following TLS 1.2 cipher suites are approved for both OpenSSL and MES:

All other TLS 1.2 cipher suites are deprecated and should not be used.

Configure TLS 1.3

  1. Ensure you have reviewed the supported TLS version depending on your cryptographic provider. See TLS Protocol Versions and Cipher Suites for more information.

  2. Ensure that the next-generation provider is active. See Switch From MES to OpenSSL for more information.

  3. Set the TLS_VERSION parameter in the sqlnet.ora file on both the database server and client:

    TLS_VERSION = (TLSv1.3)
  4. To permit both TLS 1.2 and TLS 1.3 connections, use the following setting:

    TLS_VERSION = (TLSv1.2, TLSv1.3)
  5. To use the plus-sign minimum version syntax with OpenSSL as the cryptographic provider, use the following setting:

    TLS_VERSION = (TLSv1.2+)
  6. Restart the Oracle Net listener and database instance.

Warning: TLS 1.3 is not available with MES as the cryptographic provider. If you set TLS_VERSION to TLSv1.3 while MES is active, connections fail.

TLS_DISABLE_VERSION Parameter

The TLS_DISABLE_VERSION parameter explicitly disables specific TLS versions. You can use this parameter with either cryptographic provider.

Use this parameter when you want to allow most TLS versions but explicitly prevent one or more specific versions from being negotiated.

TLS_CIPHER_SUITES Parameters

Use TLS_CIPHER_SUITES for Oracle Database 19c TLS cipher suite configuration.

For example:

TLS_CIPHER_SUITES = (TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384)