On 20/11/2009, Pavel Gouchtchine <[email protected]> wrote:
> Hi All.
>  I am using JMeter 2.3.4 and Java 1.6.02.
>
>  I am trying to send a GET request via https. The following exception
>  is returned as a result.
>  (I am working to put "certificate" into standard java storage
>  currently. I think the exception is not related to certificate issues)

On the contrary, it looks as though the Sun Java code may have a
problem with the specific certificate.

>  Please, help.

What happens if you use GET for different https sites?

>  javax.net.ssl.SSLException: java.lang.RuntimeException: Could not
>  generate DH keypair
>         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown 
> Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown 
> Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown 
> Source)
>         at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
>         at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
>  Source)
>         at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown 
> Source)
>         at 
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
>         at 
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
>         at 
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
>         at 
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
>         at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
>         at java.lang.Thread.run(Unknown Source)
>  Caused by: java.lang.RuntimeException: Could not generate DH keypair
>         at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(Unknown Source)
>         at 
> com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(Unknown
>  Source)
>         at 
> com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown 
> Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown 
> Source)
>         at 
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown
>  Source)
>         ... 11 more
>  Caused by: 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(DashoA13*..)
>         at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source)
>         ... 18 more
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to