[
https://issues.apache.org/jira/browse/HDDS-15152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zita Dombi updated HDDS-15152:
------------------------------
Description:
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").
[https://github.com/apache/ozone/blob/99b53f44436638db53bef242f65e6f8e385be99d/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/http/HttpServer2.java#L599-L610]
This means that Jetty is not respecting the configuration, the condition check
should be removed.
was:
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").
[https://github.com/apache/ozone/blob/master/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/http/HttpServer2.java#L599]
This means that Jetty is not respecting the configuration, the condition check
should be removed.
> SSL protocol config is not applied to Jetty when set to default value
> ---------------------------------------------------------------------
>
> Key: HDDS-15152
> URL: https://issues.apache.org/jira/browse/HDDS-15152
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Zita Dombi
> Assignee: Zita Dombi
> Priority: Major
> Labels: pull-request-available
>
> 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").
> [https://github.com/apache/ozone/blob/99b53f44436638db53bef242f65e6f8e385be99d/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/http/HttpServer2.java#L599-L610]
>
> This means that Jetty is not respecting the configuration, the condition
> check should be removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]