Bug 65692 - HTTP(s) Test Script Recorder: Enable setting enabled cipher suite and enabled protocols on SSLContext/ Align ssl properties between Java and HC4 impl
Summary: HTTP(s) Test Script Recorder: Enable setting enabled cipher suite and enabled...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.4.1
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2021-11-20 20:09 UTC by Philippe Mouawad
Modified: 2021-11-20 20:12 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2021-11-20 20:09:07 UTC
1) Cipher Suite is configurable through 2 properties:
Documented one called "https.cipherSuites" in HttpSSLProtocolSocketFactory
Undocumented one called "https.socket.ciphers" in LazyLayeredConnectionSocketFactory

I suggest we switch in LazyLayeredConnectionSocketFactory https.socket.ciphers to https.cipherSuites as the latter is documented

2) It seems it's not possible to control cipher suites and protocols in HTTP(S) Test Script Recorder, we only allow setting SSLContext algo but neither SSLSocket protocols nor cipherSuites.

I suggest we set both using the values of properties in Proxy#startSSL:

* https.cipherSuites
* https.socket.protocols
Comment 1 Philippe Mouawad 2021-11-20 20:12:40 UTC
pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new c98be3f  Align ssl props / Enable setting cipher suite (#677)
c98be3f is described below

commit c98be3f40009caffb8b66aded702356d975bb4d7