My Oracle Support Banner

How To Setup JDBC SSL Connection To The Database 19c With A Certificate Authority (CA) And Subordinate CA (SubCA) Certificates? (Doc ID 2869385.1)

Last updated on JULY 18, 2023

Applies to:

JDBC - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Goal

 This article shows the steps needed to create a CA, a SubCA and certificates for the Database and Client to configure a JDBC program to connect to the Database using SSL.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Setting up OpenSSL to Create Certificates
 Create a root certificate
 Create the intermediate certificate and sign it with root CA
 Create the server side certificate
 Create the client side certificate
 Configuring the database to use tcps with the server wallet
 Java Client Side Tests
 Connect to the database through TCPS for SSL with Encryption and Authentication
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.