LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-26-2014, 06:23 AM   #1
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 245

Rep: Reputation: 4
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.

Last edited by Iyyappan; 12-26-2014 at 06:25 AM.
 
Old 12-26-2014, 06:36 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Iyyappan View Post
(..) 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.
 
Old 12-26-2014, 06:45 AM   #3
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 245

Original Poster
Rep: Reputation: 4
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.
 
Old 01-19-2015, 09:30 AM   #4
cgeb
LQ Newbie
 
Registered: Jan 2015
Posts: 1

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HTTP Status 404 When try to connect tomcat from apache httpd sharonsreedh Linux - Newbie 2 06-20-2012 09:24 AM
Disabling Apache mod_proxy Features romeo_tango Linux - Server 5 03-31-2011 10:22 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
Apache 2.2.0 and Apache-Tomcat 5.5.17, how can i connect them? Ukitake Fedora 1 06-04-2006 08:25 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration