Unknown Encryption Or Data Integrity Algorithm When Setting oracle.net.encryption_types_client with Value AES256

(Doc ID 2264967.1)

Last updated on MAY 11, 2017

Applies to:

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


Encryption in transition is being implemented with JDBC thin (ojdbc7.jar) driver and fails with the exception stack below:

java.sql.SQLException: Io exception: Unknown Encryption or Data Integrity algorithm
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:438)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)

The following is added to the code when creating connection -

2. Try to connect.


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