Author Message
NilasheeLiyanapathirana2
Joined: May 24, 2012
Messages: 93
Offline
OD 6
Java 1.6

Hello,
SQL server was upgraded from 2012 to 2016 and we are getting the following error where the app tries to access new DB. We have updated the new SQL credentials on the app xml file on ../local host file and restarted tomcat.

The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "java.lang.RuntimeException: Could not generate DH keypair

Please advice on troubleshooting this.

Thanks in advance.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Possibly you need to update the Oracle client jar?
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
Googling "sql server Could not generate DH keypair". It suggests Java 1.7 might solve your problem. It's between Java and your sql server.
NilasheeLiyanapathirana2
Joined: May 24, 2012
Messages: 93
Offline
With the same driver connection works on dev system with the dev DB. It is the same SQL version(2016). This is the production that is failing.
Didn't do any java update on dev system either. Only difference is that the test DB is on windows 2012 R2 and Prod is on Win 2016.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
You would need some help from Microsoft like digging into its knowledge base and tech support.
NilasheeLiyanapathirana2
Joined: May 24, 2012
Messages: 93
Offline
Will OD6 work with jre 7 or 8?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
It should, but it is not a "tested/supported" configuration.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
Yes
Go to:   
Mobile view