java.security.InvalidAlgorithmParameterException

tip

You're either not using a valid size or you're out the boundaries. If you really must use a number bigger than 1024 please consider using BouncyCastle, as the JDK SSL only supports up to 1024

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

  • InvalidAlgorithmParameterException
    via by rahulJ james,
  • InvalidAlgorithmParameterException
    via by rahulJ james,
  • InvalidAlgorithmParameterException
    via by rahulJ james,
  • Diffie Hellman Key Exchange
    via Stack Overflow by Clearner88
    ,
  • IDEA 13 does not accept IBM VM 1.6 as a valid JVM
    via by Unknown author,
    • java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA12275) at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source) at java.security.KeyPairGenerator.initialize(Unknown Source) at com.ibm.db2.jcc.b.ic.<init>(ic.java:75) at com.ibm.db2.jcc.t4.b.Mc(b.java:2334) at com.ibm.db2.jcc.t4.b.a(b.java:1266) at com.ibm.db2.jcc.t4.b.b(b.java:1255) at com.ibm.db2.jcc.t4.b.s(b.java:1020) at com.ibm.db2.jcc.t4.b.c(b.java:632) at com.ibm.db2.jcc.t4.b.b(b.java:618) at com.ibm.db2.jcc.t4.b.a(b.java:360) at com.ibm.db2.jcc.t4.b.<init>(b.java:298) at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:193) at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at com.qwest.dao.ColaDAO.getConnection(ColaDAO.java:37)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    4 more bugmates