Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6EB7104E9 for ; Tue, 12 Nov 2013 02:52:18 +0000 (UTC) Received: (qmail 31795 invoked by uid 500); 12 Nov 2013 02:52:17 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 31446 invoked by uid 500); 12 Nov 2013 02:52:17 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 31429 invoked by uid 99); 12 Nov 2013 02:52:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 02:52:17 +0000 Date: Tue, 12 Nov 2013 02:52:17 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-5502) Fix HTTPS support for HsftpFileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Haohui Mai created HDFS-5502: -------------------------------- Summary: Fix HTTPS support for 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 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)