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:  <mailto:[email protected]> [email protected]
Website:  <http://www.suntechnologies.com/> www.suntechnologies.com

 

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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to