Database Administration (MOSC)

MOSC Banner

Oracle TLS for JDBC

edited Jan 16, 2020 11:09AM in Database Administration (MOSC) 30 commentsAnswered ✓

Hi All

Following reference has been used to configuure sqlplus SSL/TLS connection and it has worked

https://oracle-base.com/articles/misc/configure-tcpip-with-ssl-and-tls-for-database-connections

On same server, we have our application which connects to the database using followin JDBC connection without SSL with no issues

jdbc:oracle:thin:@(DESCRIPTION= (ADDRESS=(PROTOCOL=TCPS)(PORT=1521)(HOST=10.x.x.x))(CONNECT_DATA=(SERVICE_NAME=DB1)))

I need to reconfigure SSL connections via JDBC url.

jdbc:oracle:thin:@(DESCRIPTION= (ADDRESS=(PROTOCOL=TCPS)(PORT=2484)(HOST=10.x.x.x))(CONNECT_DATA=(SERVICE_NAME=DB1))(SECURITY=(ssl_server_cert_dn="CN="ORADB19C")))

DB Server

ORADB19C ]$ orapki wallet display -wallet "/u01/app/wallet19c" -pwd xxxxxxx

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center