Skip to content

HDDS-15152. SSL protocol config is not applied to Jetty when set to default value#10165

Open
dombizita wants to merge 1 commit intoapache:masterfrom
dombizita:HDDS-15152
Open

HDDS-15152. SSL protocol config is not applied to Jetty when set to default value#10165
dombizita wants to merge 1 commit intoapache:masterfrom
dombizita:HDDS-15152

Conversation

@dombizita
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

In HttpServer2.setEnabledProtocols(), the logic that applies SSL protocol restrictions to the Jetty SslContextFactory is gated behind a check that compares the resolved configuration value against SSLFactory.SSL_ENABLED_PROTOCOLS_DEFAULT ("TLSv1.2").

This means that Jetty is not respecting the configuration, the condition check should be removed.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15152

How was this patch tested?

Tested the changes manually with openssl s_client -connect commands.

@dombizita dombizita requested a review from fapifta April 30, 2026 20:29
@jojochuang
Copy link
Copy Markdown
Contributor

need unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants