java.lang.RuntimeException

Could not generate DH keypair

Solutions on the web12579

  • via GitHub by kingthorin
    , 2 months ago
    Could not generate DH keypair
  • Could not generate DH keypair
  • via Google Groups by m...@utm-appliance.com, 1 year ago
    Could not generate DH keypair
  • Stack trace

    • java.lang.RuntimeException: Could not generate DH keypair at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(Unknown Source)[:1.6] at com.sun.net.ssl.internal.ssl.ServerHandshaker.setupEphemeralDHKeys(Unknown Source)[:1.6] at com.sun.net.ssl.internal.ssl.ServerHandshaker.trySetCipherSuite(Unknown Source)[:1.6] at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.checkEnabledSuites(Unknown Source)[:1.6] at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown Source)[:1.6] at org.eclipse.jetty.server.ssl.SslSocketConnector.accept(SslSocketConnector.java:101)[60:org.eclipse.jetty.server:7.5.4.v20111024] at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:833)[60:org.eclipse.jetty.server:7.5.4.v20111024] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[54:org.eclipse.jetty.util:7.5.4.v20111024] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[54:org.eclipse.jetty.util:7.5.4.v20111024] at java.lang.Thread.run(Unknown Source)[:1.6.0_29] Caused by: java.security.NoSuchAlgorithmException: DiffieHellman KeyPairGenerator not available at java.security.KeyPairGenerator.getInstance(Unknown Source)[:1.6.0_29] at com.sun.net.ssl.internal.ssl.JsseJce.getKeyPairGenerator(Unknown Source)[:1.6] ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago