Bug 65692

Summary: HTTP(s) Test Script Recorder: Enable setting enabled cipher suite and enabled protocols on SSLContext/ Align ssl properties between Java and HC4 impl
Product: JMeter - Now in Github Reporter: Philippe Mouawad <p.mouawad>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Severity: normal CC: p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 5.4.1   
Target Milestone: JMETER_5.5   
Hardware: All   
OS: All   

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
Comment 2 The ASF infrastructure team 2022-09-24 20:38:22 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5594