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

Samebug tips

  1. ,
    Expert 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

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
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(DHKeyPairGenerator.java:120)	at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:657)	at sun.security.ssl.DHCrypt.(DHCrypt.java:127)	at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:686)	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:264)	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:936)	at sun.security.ssl.Handshaker.process_record(Handshaker.java:871)	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1043)	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)	at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:261)	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357)	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute(MainClientExec.java:218)	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194)	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:85)	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)	at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)	at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:756)	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:854)	at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:660)	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)