Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16718

Allow disabling Server Name Indication (SNI) for Jetty

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0, 3.1.4, 3.2.2
    • None
    • None

    Description

      As of now, createHttpsChannelConnector() enables SNI by default with Jetty:

          private ServerConnector createHttpsChannelConnector(
              Server server, HttpConfiguration httpConfig) {
            httpConfig.setSecureScheme(HTTPS_SCHEME);
            httpConfig.addCustomizer(new SecureRequestCustomizer());
            ServerConnector conn = createHttpChannelConnector(server, httpConfig);
      

      with the default constructor without any parameters automatically setting sniHostCheck to true:

          public SecureRequestCustomizer()
          {
              this(true);
          }
      

      Proposal: We should make this configurable and probably default this to false.

      Credit: Aravindan Vijayan

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            avijayan Aravindan Vijayan Assign to me
            smeng Siyao Meng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment