Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C23A710568 for ; Thu, 14 Nov 2013 18:47:23 +0000 (UTC) Received: (qmail 6910 invoked by uid 500); 14 Nov 2013 18:47:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 6868 invoked by uid 500); 14 Nov 2013 18:47:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 6801 invoked by uid 99); 14 Nov 2013 18:47:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 18:47:23 +0000 Date: Thu, 14 Nov 2013 18:47:23 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5502) Fix HTTPS support in HsftpFileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haohui Mai updated HDFS-5502: ----------------------------- Status: Patch Available (was: Open) > Fix HTTPS support in HsftpFileSystem > ------------------------------------ > > Key: HDFS-5502 > URL: https://issues.apache.org/jira/browse/HDFS-5502 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Haohui Mai > Assignee: Haohui Mai > Attachments: HDFS-5502.000.patch, HDFS-5502.001.patch > > > The current implementation of HsftpFileSystem suffers from the following issues: > * It initializes the SSLContext incorrectly. It blindly trusts all server certificates which creates a security hole. > * It tries to cancel delegation token through http, not https, which leads to HDFS-5295. > * It overrides the default socket factory for HttpsConnection. Given the fact that it trusts all server-side certificate, it accidentally disables all checks on server certificates for all https connections. > This jira tracks the effort to fix the above issues. -- This message was sent by Atlassian JIRA (v6.1#6144)