Skip to content

KNOX-3276: Fix TLS version settings bug#1176

Merged
smolnar82 merged 1 commit intoapache:masterfrom
smolnar82:KNOX-3276
Mar 13, 2026
Merged

KNOX-3276: Fix TLS version settings bug#1176
smolnar82 merged 1 commit intoapache:masterfrom
smolnar82:KNOX-3276

Conversation

@smolnar82
Copy link
Contributor

KNOX-3276: - Fixed a bug while setting SSL protocols

What changes were proposed in this pull request?

#1175 introduced new configuration to control CM client SSL configs. Unfortunately a bug sneaked in while configuring TLS protcols in org.apache.knox.gateway.topology.discovery.cm.DiscoveryApiClient#configureSslProtocols: I used the connectionSpecBuilder.cipherSuites instead of connectionSpecBuilder.tlsVersions
This PR fixes that bug and extends existing unit tests to cover the SSL settings too.

How was this patch tested?

Extended and ran existing unit tests.

Integration Tests

N/A

UI changes

N/A

@github-actions
Copy link

Test Results

7 tests   7 ✅  1s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 61982d1.

@smolnar82 smolnar82 merged commit a5552e1 into apache:master Mar 13, 2026
3 checks passed
@smolnar82 smolnar82 deleted the KNOX-3276 branch March 13, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants