[fix][misc][branch-4.2] Pass webServiceTlsCiphers to Jetty factory - #26423
Merged
Conversation
lhotari
requested changes
Aug 26, 2026
lhotari
left a comment
Member
There was a problem hiding this comment.
Thanks for the PR. There's currently PIP-478 implementation PRs in progress for the master branch which will cover this gap. Please target branch-4.2 with this change (rebase your PR branch on top of origin/branch-4.2 and update the target branch for this PR to apache:branch-4.2).
Rebased onto branch-4.2 per maintainer request (PIP-478 covers master). Same fix as the original commit, reapplied against branch-4.2's WebService/ProxyConnection code: WebService passes config.getTlsCiphers/getTlsProtocols to the Jetty SSL context factory, ignoring webServiceTlsCiphers/webServiceTlsProtocols. ProxyConnection.createClientConfiguration omits ciphers/protocols for the broker lookup client.
shoemoney
force-pushed
the
fix/pulsar-tls-cipher
branch
from
August 27, 2026 20:40
3a15cc7 to
62661b3
Compare
Author
|
Done, rebased onto branch-4.2 and retargeted the PR (fixed in 62661b3). |
lhotari
approved these changes
Aug 28, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## branch-4.2 #26423 +/- ##
================================================
+ Coverage 72.26% 72.88% +0.61%
- Complexity 2427 35002 +32575
================================================
Files 1963 1970 +7
Lines 156135 157094 +959
Branches 17896 18061 +165
================================================
+ Hits 112838 114502 +1664
+ Misses 34151 33370 -781
- Partials 9146 9222 +76
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes silent ignore of TLS cipher and protocol restrictions in the broker WebService and proxy lookup leg.
Motivation
WebService.java:608 passes getTlsCiphers/getTlsProtocols to the Jetty factory, ignoring webServiceTlsCiphers/webServiceTlsProtocols. ProxyConnection.createClientConfiguration omits ciphers/protocols entirely for the broker lookup client. This allows silent bypass of TLS security restrictions configured by operators.
Modifications
Verifying this change
Does this pull request potentially affect one of the following parts: