fapifta opened a new pull request, #10111: URL: https://github.com/apache/ozone/pull/10111
## What changes were proposed in this pull request? Add ssl.server.include.cipher.list and ssl.enabled.protocols to HttpServer2 setup. Please describe your PR in detail: Port TLS protocol version control and cipher suite inclusion support from Hadoop's HttpServer2 to Ozone's forked copy, aligning with upstream changes from HADOOP-15169 and HADOOP-19546. Currently, Ozone's web endpoints (OM, SCM, Datanode, S3Gateway, Recon, HttpFS, Freon) only support excluding cipher suites via ssl.server.exclude.cipher.list and have no mechanism to restrict TLS protocol versions — both features that Hadoop's HttpServer2 already provides. This change adds the includeCiphers builder field and method to HttpServer2, ports the setEnabledProtocols() method that honors the hadoop.ssl.enabled.protocols configuration key, wires the new ssl.server.include.cipher.list config through BaseHttpServer.loadSslConfToHttpServerBuilder(), and adds comprehensive SSL tests verifying that cipher exclusion/inclusion and protocol restrictions are actually enforced at the TLS handshake level — a test coverage gap that exists today. All required constants (SSLFactory.SSL_SERVER_INCLU DE_CIPHER_LIST, SSLFactory.SSL_ENABLED_PROTOCOLS_KEY) are already available in Ozone's existing Hadoop 3.4.3 dependency, so no version bump is needed. The changeset is generated by Claude - Opus 4.6 ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10819 ## How was this patch tested? JUnit tests are added. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
