Error: could not generate DH keypair

  • 7019821
  • 15-Apr-2016
  • 07-Aug-2017

Environment

Retain 3.5.1 on Windows Server 2012

Situation

Retain is not connecting to Exchange after adding a load balancer. A clue was Prime size must be multiple of 64 and can only range from 512 to 1024 (inclusive).

Resolution

Trying to bypass the load balancer was not successful. 

This pointed up to a bug in Java 1.6.

We upgraded to Java 1.7 and updated the Windows Environment Variables that related to Java and Retain and the Tomcat Configuration variables to point to the updated version of Java.

This issue would not occur in Retain 4 as it uses Java 8.

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2791.