LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   After disabling SSLv3 Apache Jmeter not able to connect to Apache httpd (https://www.linuxquestions.org/questions/linux-server-73/after-disabling-sslv3-apache-jmeter-not-able-to-connect-to-apache-httpd-4175529264/)

Iyyappan 12-26-2014 06:23 AM

After disabling SSLv3 Apache Jmeter not able to connect to Apache httpd
 
hi,

I have httpd-2.4.3 installed. As per https://access.redhat.com/solutions/1232413, I have disabled SSLv3 and its showing as secured and TLS 1.0 protocol is enabled.

We serve two sites, one with normal SSL and other site with client authentication.

Our QA team tests client-authentication site for performance by using jmeter.

If SSLv3 is disabled,Jmeter is not able to connect the server, it gives an error like below

at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOper ator.java:148)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:277)
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



Checked in net for this error and did some changes in jmeter, but its not connecting.


If I enabled SSLv3 then I am able to connect Apache httpd from Jmeter...Is there any one who faced similar issue.

unSpawn 12-26-2014 06:36 AM

Quote:

Originally Posted by Iyyappan (Post 5290634)
(..) Our QA team tests client-authentication site for performance by using jmeter. If SSLv3 is disabled,Jmeter is not able to connect the server,

AFAIK that is not your fault: as per the documentation JMeter defaults to the SSL protocol level TLS.
So IMNSHO your QA team fscked up: make them change the https.default.protocol= Jmeter setting to the default and test again.

Iyyappan 12-26-2014 06:45 AM

But actually I checked in net and asked them to set as https.default.protocol=TLS, it did not work either... Have asked to test like
https.default.protocol=TLS1. Lets see.

cgeb 01-19-2015 09:30 AM

I had to update Java, we were using JMeter on Java6 which does not support TLS at all.


All times are GMT -5. The time now is 11:02 AM.