javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230)

Atlassian JIRA | Shannon Mackie [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JRA-40465] Installing of JIRA Add-On does not complete due to DH Keypair - Atlassian JIRA

    atlassian.com | 1 year ago
    javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230)
  2. 0

    Installing Agile Issue Printer shows error in UPM: {quote}The add-on failed to install. Please try again later or contact the add-on vendor.{quote} Error in JIRA Logs: {noformat}2014-10-19 11:22:03.313350500 2014-10-19 11:22:03,312 UpmAsynchronousTaskManager:thread-2 ERROR sysadmin 862x4001x1 1g7az0t 46.243.25.78,131.103.26.161 /rest/plugins/1.0/installed-marketplace [connect.plugin.installer.ConnectAddonManager] Error contacting remote application at https://aip-flyingagile.rhcloud.com/installed [javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair] 2014-10-19 11:22:03.313353500 java.lang.RuntimeException: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313361500 at com.google.common.base.Throwables.propagate(Throwables.java:156) 2014-10-19 11:22:03.313362500 at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$6.apply(ApacheAsyncHttpClient.java:400) 2014-10-19 11:22:03.313362500 at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$6.apply(ApacheAsyncHttpClient.java:394) 2014-10-19 11:22:03.313375500 at com.atlassian.util.concurrent.Promises$Of$2.apply(Promises.java:286) 2014-10-19 11:22:03.313375500 at com.atlassian.util.concurrent.Promises$Of$2.apply(Promises.java:283) 2014-10-19 11:22:03.313376500 at com.atlassian.util.concurrent.Promises$2.onFailure(Promises.java:189) 2014-10-19 11:22:03.313376500 at com.google.common.util.concurrent.Futures$7.run(Futures.java:1100) 2014-10-19 11:22:03.313380500 at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) 2014-10-19 11:22:03.313380500 at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) 2014-10-19 11:22:03.313381500 at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134) 2014-10-19 11:22:03.313382500 at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:189) 2014-10-19 11:22:03.313383500 at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68) 2014-10-19 11:22:03.313384500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$1$2.run(SettableFuturePromiseHttpPromiseAsyncClient.java:59) 2014-10-19 11:22:03.313384500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:197) 2014-10-19 11:22:03.313386500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.runInContext(SettableFuturePromiseHttpPromiseAsyncClient.java:90) 2014-10-19 11:22:03.313388500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable.run(SettableFuturePromiseHttpPromiseAsyncClient.java:192) 2014-10-19 11:22:03.313389500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2014-10-19 11:22:03.313390500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2014-10-19 11:22:03.313391500 at java.lang.Thread.run(Thread.java:662) 2014-10-19 11:22:03.313392500 Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230) 2014-10-19 11:22:03.313394500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:263) 2014-10-19 11:22:03.313394500 at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:391) 2014-10-19 11:22:03.313395500 at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:119) 2014-10-19 11:22:03.313396500 at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159) 2014-10-19 11:22:03.313397500 at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338) 2014-10-19 11:22:03.313399500 at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316) 2014-10-19 11:22:03.313400500 at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277) 2014-10-19 11:22:03.313400500 at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105) 2014-10-19 11:22:03.313401500 at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584) 2014-10-19 11:22:03.313402500 ... 1 more 2014-10-19 11:22:03.313403500 Caused by: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313403500 at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:106) 2014-10-19 11:22:03.313404500 at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:556) 2014-10-19 11:22:03.313404500 at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:183) 2014-10-19 11:22:03.313405500 at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593) 2014-10-19 11:22:03.313406500 at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533) 2014-10-19 11:22:03.313406500 at java.security.AccessController.doPrivileged(Native Method) 2014-10-19 11:22:03.313412500 at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952) 2014-10-19 11:22:03.313412500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238) 2014-10-19 11:22:03.313413500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:276) 2014-10-19 11:22:03.313413500 ... 9 more 2014-10-19 11:22:03.313413500 Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive){noformat} Replicated on 2 OnDemand instances.

    Atlassian JIRA | 3 years ago | Shannon Mackie [Atlassian]
    javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230)
  3. 0

    Installing Agile Issue Printer shows error in UPM: {quote}The add-on failed to install. Please try again later or contact the add-on vendor.{quote} Error in JIRA Logs: {noformat}2014-10-19 11:22:03.313350500 2014-10-19 11:22:03,312 UpmAsynchronousTaskManager:thread-2 ERROR sysadmin 862x4001x1 1g7az0t 46.243.25.78,131.103.26.161 /rest/plugins/1.0/installed-marketplace [connect.plugin.installer.ConnectAddonManager] Error contacting remote application at https://aip-flyingagile.rhcloud.com/installed [javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair] 2014-10-19 11:22:03.313353500 java.lang.RuntimeException: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313361500 at com.google.common.base.Throwables.propagate(Throwables.java:156) 2014-10-19 11:22:03.313362500 at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$6.apply(ApacheAsyncHttpClient.java:400) 2014-10-19 11:22:03.313362500 at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$6.apply(ApacheAsyncHttpClient.java:394) 2014-10-19 11:22:03.313375500 at com.atlassian.util.concurrent.Promises$Of$2.apply(Promises.java:286) 2014-10-19 11:22:03.313375500 at com.atlassian.util.concurrent.Promises$Of$2.apply(Promises.java:283) 2014-10-19 11:22:03.313376500 at com.atlassian.util.concurrent.Promises$2.onFailure(Promises.java:189) 2014-10-19 11:22:03.313376500 at com.google.common.util.concurrent.Futures$7.run(Futures.java:1100) 2014-10-19 11:22:03.313380500 at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) 2014-10-19 11:22:03.313380500 at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) 2014-10-19 11:22:03.313381500 at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134) 2014-10-19 11:22:03.313382500 at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:189) 2014-10-19 11:22:03.313383500 at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68) 2014-10-19 11:22:03.313384500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$1$2.run(SettableFuturePromiseHttpPromiseAsyncClient.java:59) 2014-10-19 11:22:03.313384500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:197) 2014-10-19 11:22:03.313386500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.runInContext(SettableFuturePromiseHttpPromiseAsyncClient.java:90) 2014-10-19 11:22:03.313388500 at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable.run(SettableFuturePromiseHttpPromiseAsyncClient.java:192) 2014-10-19 11:22:03.313389500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2014-10-19 11:22:03.313390500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2014-10-19 11:22:03.313391500 at java.lang.Thread.run(Thread.java:662) 2014-10-19 11:22:03.313392500 Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230) 2014-10-19 11:22:03.313394500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:263) 2014-10-19 11:22:03.313394500 at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:391) 2014-10-19 11:22:03.313395500 at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:119) 2014-10-19 11:22:03.313396500 at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159) 2014-10-19 11:22:03.313397500 at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338) 2014-10-19 11:22:03.313399500 at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316) 2014-10-19 11:22:03.313400500 at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277) 2014-10-19 11:22:03.313400500 at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105) 2014-10-19 11:22:03.313401500 at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584) 2014-10-19 11:22:03.313402500 ... 1 more 2014-10-19 11:22:03.313403500 Caused by: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313403500 at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:106) 2014-10-19 11:22:03.313404500 at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:556) 2014-10-19 11:22:03.313404500 at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:183) 2014-10-19 11:22:03.313405500 at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593) 2014-10-19 11:22:03.313406500 at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533) 2014-10-19 11:22:03.313406500 at java.security.AccessController.doPrivileged(Native Method) 2014-10-19 11:22:03.313412500 at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952) 2014-10-19 11:22:03.313412500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238) 2014-10-19 11:22:03.313413500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:276) 2014-10-19 11:22:03.313413500 ... 9 more 2014-10-19 11:22:03.313413500 Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive){noformat} Replicated on 2 OnDemand instances.

    Atlassian JIRA | 3 years ago | Shannon Mackie [Atlassian]
    javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.net.ssl.SSLException

      java.lang.RuntimeException: Could not generate DH keypair 2014-10-19 11:22:03.313392500 at org.apache.http.nio.reactor.ssl.SSLIOSession.convert(SSLIOSession.java:215) 2014-10-19 11:22:03.313393500 at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:230)

      at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake()
    2. Apache HttpCore NIO
      SSLIOSession.isAppInputReady
      1. org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:263)
      2. org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:391)
      2 frames