Database Connectivity Over TLS 1.2 Using JDBC 12C (Doc ID 2186385.1)

Last updated on JUNE 06, 2017

Applies to:

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

Symptoms

When testing a sample java program to connect to 12c oracle database and TLS 1.2 using JDBC thin client 12.1.0.2 and JDK 1.8, the following error is obtained:
"IO Error: No appropriate protocol".

Downloaded the patched version of ojdbc7.jar from OTN to use TLSv2 per <Document 2122800.1> "IO Error: No appropriate protocol" When Trying to Connect to Oracle Database 12.1 with TLSv1.1 and TLSv1.2 Protocols.

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms