javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by dmytro-ndp
, 1 year ago
java.lang.RuntimeException: Could not generate DH keypair
via GitHub by stephanmg
, 1 year ago
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
via Ask Ubuntu by Leonardo Amorim
, 2 months ago
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
via Stack Overflow by ShocKwav3_
, 1 month ago
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
via GitHub by philwinder
, 1 year ago
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
via GitHub by luismagr
, 2 years ago
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
java.security.NoSuchAlgorithmException: DiffieHellman KeyPairGenerator not available
at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:218)
at sun.security.ssl.JsseJce.getKeyPairGenerator(JsseJce.java:281)
at sun.security.ssl.DHCrypt.(DHCrypt.java:125)
at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:693)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:264)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.codenvy.im.utils.HttpTransport.request(HttpTransport.java:237)
at com.codenvy.im.utils.HttpTransport.request(HttpTransport.java:171)
at com.codenvy.im.utils.HttpTransport.doGet(HttpTransport.java:109)
at com.codenvy.im.utils.HttpTransport.doGet(HttpTransport.java:93)
at com.codenvy.im.managers.DownloadManager.getAllUpdates(DownloadManager.java:402)
at com.codenvy.im.facade.InstallationManagerFacade.getAllUpdates(InstallationManagerFacade.java:239)
at com.codenvy.im.facade.InstallationManagerFacade.getAllUpdatesAfterInstalledVersion(InstallationManagerFacade.java:232)
at com.codenvy.im.facade.IMArtifactLabeledFacade.getAllUpdatesAfterInstalledVersion(IMArtifactLabeledFacade.java:120)
at com.codenvy.im.cli.command.VersionCommand.doExecuteCommand(VersionCommand.java:56)
at com.codenvy.im.cli.command.AbstractIMCommand.execute(AbstractIMCommand.java:82)
at com.codenvy.im.cli.command.AbstractIMCommand.execute(AbstractIMCommand.java:57)
at com.codenvy.cli.command.builtin.AbsCommand.doExecute(AbsCommand.java:79)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
at undefined.Proxy527c5774_e9f3_44cb_aea3_2080de30d20f.execute(Unknown Source)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:203)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.