IT Tutorial

ORA-12650: No common encryption or data integrity algorithm

Hi,

Sometimes You can get “ORA-12650: No common encryption or data integrity algorithm ” error.

 

Details of error are as follows.

ORA-12650: No common encryption or data integrity algorithm
Cause: The client and server have no algorithm in common for either encryption or data integrity or both.
Action: Choose sets of algorithms that overlap. In other words, add one of the client’s algorithm
choices to the server’s list or vice versa.

 

 

 

Encryption and data integrity are required at the network level for security. The chosen standard for the Oracle 12.2 Checksum Level rollout is SHA256 or higher.

For this, the following ASO properties are configured in the database sqlnet.ora file:

#require encryption
SQLNET.ENCRYPTION_SERVER = REQUIRED
SQLNET.ENCRYPTION_TYPES_SERVER=(aes128, aes192, aes256) 

#require checksum 
SQLNET.CRYPTO_CHECKSUM_SERVER=required 
SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER=(sha256)

When trying to connect from a JDBC thin 11g program to this database, the connection fails with:

java.sql.SQLException: Oracle Error ORA-12650
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:800)
  at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:793)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:614)
...
Caused by: oracle.net.ns.NetException: Oracle Error ORA-12650
  at oracle.net.ano.Ano.negotiation(Unknown Source)
  at oracle.net.ns.NSProtocol.connect(NSProtocol.java:308)
  at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1606)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:539)
  ... 27 more
To solve this error, Upgrade to JDBC 12.1.0.2 or higher.

JDBC drivers can be downloaded from the OTN Download page.

Or  Apply Patch 28527508 –  MERGE REQUEST ON TOP OF 12.1.3.1.0 FOR BUGS 20960881 26933408 to the OMS home as per patch readme.

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

 1,223 views last month,  3 views today

Exit mobile version