TNS-12650: No common encryption or data integrity algorithm

Hi,

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

 

Details of error are as follows.

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

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *