Hello, did you add the JMeter Certificate to your browser (and remove old one) : http://jmeter.apache.org/usermanual/component_reference.html#HTTP(S)_Test_Script_Recorder See: Installing the JMeter CA certificate for HTTPS recording
Thanks On Tue, May 23, 2017 at 12:01 PM, Prakash Shetty < [email protected]> wrote: > Hi > > Please find the below error message and even I have attached the file with > error message. > > 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 > org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:553) > at > org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:412) > at org.apache.jmeter.protocol.http.sampler.LazySchemeSocketFactory. > connectSocket(LazySchemeSocketFactory.java:97) at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection( > DefaultClientConnectionOperator.java:179) at org.apache.http.impl.conn. > ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328) at > org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$ > MeasuredConnection.open(MeasuringConnectionManager.java:114) at > org.apache.http.impl.client.DefaultRequestDirector.tryConnect( > DefaultRequestDirector.java:612) at org.apache.http.impl.client. > DefaultRequestDirector.execute(DefaultRequestDirector.java:447) at > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) > at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl. > executeRequest(HTTPHC4Impl.java:619) at org.apache.jmeter.protocol. > http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:379) at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy. > sample(HTTPSamplerProxy.java:74) at org.apache.jmeter.protocol. > http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146) at > org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:240) 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) ... 24 more > > > > Thanks and Regards, > Prakash Shetty > Automation Test Analyst > > > > Phone: 678.448.4175(O) | +91-72591 19944 > Email: [email protected] Website: www.suntechnologies.com > > > -----Original Message----- > From: Felix Schumacher [mailto:[email protected]] > Sent: Tuesday, May 23, 2017 3:28 PM > To: JMeter Users List <[email protected]> > Subject: Re: CertificateException while recording Jmeter scripts in HTTPS > Test Script Recorder for HTTPClient4 type > > > > Am 23. Mai 2017 11:08:29 MESZ schrieb Prakash Shetty < > [email protected]>: > >Hi > > > > > > > >We are getting the below error when try to record In HTTPS Test Script > >Recorder of type HTTPClient4 > > The image was stripped by the list. > > Can you send the message as text? > > Felix > > > > > > > > >We are using the latest version of Jmeter and Jre1.8.0_131 > > > > > > > > > > > > > > > >We tried the following to fix the issue. > > > > > > > >1). By commenting out the below line in > >JDK_HOME/jre/lib/security/java.security > > > >#jdk.certpath.disabledAlgorithms > > > > > > > > > > > >Thanks and Regards, > > > >Prakash Shetty > > > >Automation Test Analyst > > > > > > > > > > > > > > > >Phone: 678.448.4175(O) | +91-72591 19944 > > > >Email: <mailto:[email protected]> > >[email protected] > >Website: <http://www.suntechnologies.com/> www.suntechnologies.com > > > > > > --------------------------------------------------------------------- > 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] > -- Cordialement. Philippe Mouawad.
