https://issues.apache.org/bugzilla/show_bug.cgi?id=56357

            Bug ID: 56357
           Summary: Certificates does not conform to algorithm constraints
           Product: JMeter
           Version: 2.11
          Hardware: Sun
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]

Hi,
I am getting the SSL error in Jmeter continuously as below:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException:
Certificates does not conform to algorithm constraints
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.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.HTTPJavaImpl.sample(HTTPJavaImpl.java:485)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1060)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1049)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:442)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.security.cert.CertificateException: Certificates does not
conform to algorithm constraints
    at
sun.security.ssl.AbstractTrustManagerWrapper.checkAlgorithmConstraints(Unknown
Source)
    at
sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(Unknown
Source)
    at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(Unknown
Source)
    ... 18 more


So to trach the error I enbled the Log Viewer in Jmeter and from logs found
that the below detail:


2014/04/07 17:06:39 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will
be started after enabling running version 
2014/04/07 17:06:39 INFO  - jmeter.engine.StandardJMeterEngine: To revert to
the earlier behaviour, define jmeterengine.startlistenerslater=false 
2014/04/07 17:06:39 INFO  - jmeter.engine.StandardJMeterEngine: Running the
test! 
2014/04/07 17:06:39 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,*local*) 
2014/04/07 17:06:40 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group Thread Group. 
2014/04/07 17:06:40 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
continue on error 
2014/04/07 17:06:40 INFO  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties) 
2014/04/07 17:06:40 INFO  - jmeter.threads.JMeterThread: Running PostProcessors
in forward order 
2014/04/07 17:06:40 INFO  - jmeter.engine.StandardJMeterEngine: All threads
have been started 
2014/04/07 17:06:40 INFO  - jmeter.threads.JMeterThread: Thread started: Thread
Group 1-1 
2014/04/07 17:06:44 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl: Maximum
connection retries = 10 
2014/04/07 17:06:44 INFO  - jmeter.util.JsseSSLManager: Using default SSL
protocol: TLS 
2014/04/07 17:06:44 INFO  - jmeter.util.JsseSSLManager: SSL session context:
per-thread 
2014/04/07 17:06:44 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location: 
type JKS 
2014/04/07 17:06:44 INFO  - jmeter.util.SSLManager: KeyStore created OK 
2014/04/07 17:06:44 WARN  - jmeter.util.SSLManager: Keystore file not found,
loading empty keystore 
2014/04/07 17:06:45 INFO  - jmeter.threads.JMeterThread: Thread finished:
Thread Group 1-1 
2014/04/07 17:06:45 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread
Thread Group 1-1 
2014/04/07 17:06:45 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test
listeners of end of test 
2014/04/07 17:06:45 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*) 
2014/04/07 17:06:45 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended
on host null 


Can someone please help me to get rid out from this SSL issue??

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to