[ 
https://issues.apache.org/jira/browse/HADOOP-16718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987396#comment-16987396
 ] 

Hudson commented on HADOOP-16718:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17715 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/17715/])
HADOOP-16718. Allow disabling Server Name Indication (SNI) for Jetty. (weichiu: 
rev f1ab7f18c423a9cfc59292d25fa178e73715b85b)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
* (edit) hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestCommonConfigurationFields.java


> Allow disabling Server Name Indication (SNI) for Jetty
> ------------------------------------------------------
>
>                 Key: HADOOP-16718
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16718
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Siyao Meng
>            Assignee: Aravindan Vijayan
>            Priority: Major
>             Fix For: 3.3.0, 3.1.4, 3.2.2
>
>         Attachments: HADOOP-16718-branch-3.2-v000.patch, 
> HADOOP-16718-v001.patch
>
>
> As of now, {{createHttpsChannelConnector()}} enables SNI by default with 
> Jetty:
> {code}
>     private ServerConnector createHttpsChannelConnector(
>         Server server, HttpConfiguration httpConfig) {
>       httpConfig.setSecureScheme(HTTPS_SCHEME);
>       httpConfig.addCustomizer(new SecureRequestCustomizer());
>       ServerConnector conn = createHttpChannelConnector(server, httpConfig);
> {code}
> with the default constructor without any parameters automatically setting 
> {{sniHostCheck}} to {{true}}:
> {code}
>     public SecureRequestCustomizer()
>     {
>         this(true);
>     }
> {code}
> Proposal: We should make this configurable and probably default this to false.
> Credit: Aravindan Vijayan



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to