java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)

Google Groups | Marc Landry | 1 year ago
  1. 0

    Running DDF 2.8.0 as a Windows Service

    Google Groups | 1 year ago | Marc Landry
    java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
  2. 0

    Java 1.8 Diffie Hellman Group 14 returns InvalidAlgorithmException

    Stack Overflow | 1 year ago | thotheolh
    java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
  3. 0

    Bug ID: JDK-6261681 REGRESSION: Cannot generate DH key pair w/ SSL_DH_anon_WITH_RC4_128_MD5

    sun.com | 1 year ago
    javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Diffie Hellman Key Exchange

    Stack Overflow | 3 years ago | Clearner88
    java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
  6. 0

    Bug ID: JDK-6261681 REGRESSION: Cannot generate DH key pair w/ SSL_DH_anon_WITH_RC4_128_MD5

    java.com | 7 months ago
    javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.InvalidAlgorithmParameterException

      Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)

      at com.sun.crypto.provider.DHKeyPairGenerator.initialize()
    2. com.sun.crypto
      DHKeyPairGenerator.initialize
      1. com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)
      1 frame
    3. Java RT
      KeyPairGenerator.initialize
      1. java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:674)
      2. java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)
      2 frames
    4. Apache Mina SSHD :: Core
      Nio2CompletionHandler$1.run
      1. org.apache.sshd.common.kex.DH.getE(DH.java:65)
      2. org.apache.sshd.client.kex.DHGEX.next(DHGEX.java:118)
      3. org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:425)
      4. org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326)
      5. org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:306)
      6. org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780)
      7. org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308)
      8. org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
      9. org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184)
      10. org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)
      11. org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
      11 frames
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. Apache Mina SSHD :: Core
      Nio2CompletionHandler.completed
      1. org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
      1 frame
    7. Java RT
      Thread.run
      1. sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
      2. sun.nio.ch.Invoker$2.run(Invoker.java:218)
      3. sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames