My Oracle Support Banner

EM 12C: Emcli Sync Fails With Error: " javax.net.ssl.SSLException: java.lang.RuntimeException:Could not generate DH keypair" (Doc ID 2590624.1)

Last updated on NOVEMBER 26, 2019

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

Executing emcli sync fails with the following command line errors:

$ emcli sync -url=https://<oem-hostname>:<Console_port>/em -username=SYSMAN -trustall

Jul 25, 2019 11:05:08 AM oracle.sysman.emCLI.verb.SynchronizeVerb execute
SEVERE:
oracle.sysman.emCLI.omsbrowser.HttpConnectionException:
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
Caused by: java.lang.RuntimeException: Could not generate DH keypair
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
Error: Connection to the current OMS could not be established. Check the log files for further details.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.