My Oracle Support Banner

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

Last updated on MAY 12, 2022

Applies to:

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


 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.


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
 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

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