Summary: | SSLPeerUnverifiedException using HTTPS , property documented | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Carlos Barragan <tractomula> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | p.mouawad, tractomula |
Priority: | P2 | ||
Version: | 2.9 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Includes console output showing the handshake and the java.net.SocketException
Test showing failure with HttpClient Test showing failure with Java API |
Description
Carlos Barragan
2013-03-28 04:27:32 UTC
Created attachment 30132 [details]
Test showing failure with HttpClient
Created attachment 30133 [details]
Test showing failure with Java API
This is very strange, this website URL fails with : - Java core API - HTTPClient4 core API with last jdk6 and last jdk7. For Java Impl add this to system.properties: https.protocols=SSLv3 It will fix issue for Java Implementation. So it seems the server only supports SSLv3, attempt to negotiate upwards from v2 to v3 seems not to be supported by server. To fix it for HC family it seems we need to call this on SSL Socket: - socket.setEnabledProtocols(new String[] { "SSLv3" }); We need to find a way to make this configurable. After further analysis, in fact property in jmeter.properties already exists and is named: #https.socket.protocols=SSLv2Hello SSLv3 TLSv1 Setting it to this fixes issue https.socket.protocols=SSLv3 I will document this property. Date: Sun Apr 14 20:04:49 2013 New Revision: 1467823 URL: http://svn.apache.org/r1467823 Log: Bug 54759 - SSLPeerUnverifiedException using HTTPS , property documented Bugzilla Id: 54759 Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/xdocs/changes.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3080 |