You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Prakash Shetty <pr...@suntechnologies.com> on 2017/05/23 09:08:29 UTC
CertificateException while recording Jmeter scripts in HTTPS Test Script Recorder for HTTPClient4 type
Hi
We are getting the below error when try to record In HTTPS Test Script
Recorder of type HTTPClient4
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: <ma...@suntechnologies.com> prakash@suntechnologies.com
Website: <http://www.suntechnologies.com/> www.suntechnologies.com
Re: CertificateException while recording Jmeter scripts in HTTPS Test
Script Recorder for HTTPClient4 type
Posted by Philippe Mouawad <ph...@gmail.com>.
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 <
prakash@suntechnologies.com> 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: prakash@suntechnologies.com Website: www.suntechnologies.com
>
>
> -----Original Message-----
> From: Felix Schumacher [mailto:felix.schumacher@internetallee.de]
> Sent: Tuesday, May 23, 2017 3:28 PM
> To: JMeter Users List <us...@jmeter.apache.org>
> 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 <
> prakash@suntechnologies.com>:
> >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: <ma...@suntechnologies.com>
> >prakash@suntechnologies.com
> >Website: <http://www.suntechnologies.com/> www.suntechnologies.com
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
--
Cordialement.
Philippe Mouawad.
RE: CertificateException while recording Jmeter scripts in HTTPS Test Script Recorder for HTTPClient4 type
Posted by Prakash Shetty <pr...@suntechnologies.com>.
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: prakash@suntechnologies.com Website: www.suntechnologies.com
-----Original Message-----
From: Felix Schumacher [mailto:felix.schumacher@internetallee.de]
Sent: Tuesday, May 23, 2017 3:28 PM
To: JMeter Users List <us...@jmeter.apache.org>
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 <pr...@suntechnologies.com>:
>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: <ma...@suntechnologies.com>
>prakash@suntechnologies.com
>Website: <http://www.suntechnologies.com/> www.suntechnologies.com
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: CertificateException while recording Jmeter scripts in HTTPS Test Script Recorder for HTTPClient4 type
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 23. Mai 2017 11:08:29 MESZ schrieb Prakash Shetty <pr...@suntechnologies.com>:
>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: <ma...@suntechnologies.com>
>prakash@suntechnologies.com
>Website: <http://www.suntechnologies.com/> www.suntechnologies.com
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org