From hdfs-issues-return-235768-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Sep 27 00:19:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3E394180629 for ; Thu, 27 Sep 2018 00:19:04 +0200 (CEST) Received: (qmail 18458 invoked by uid 500); 26 Sep 2018 22:19:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 18447 invoked by uid 99); 26 Sep 2018 22:19:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2018 22:19:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BC2CB18096A for ; Wed, 26 Sep 2018 22:19:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id G7jANhkf9Pee for ; Wed, 26 Sep 2018 22:19:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4A8D75F19B for ; Wed, 26 Sep 2018 22:19:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7F6AAE0047 for ; Wed, 26 Sep 2018 22:19:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 49C7623F9F for ; Wed, 26 Sep 2018 22:19:00 +0000 (UTC) Date: Wed, 26 Sep 2018 22:19:00 +0000 (UTC) From: "Xiaoyu Yao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDDS-548) Create a Self-Signed Certificate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDDS-548?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D166294= 80#comment-16629480 ]=20 Xiaoyu Yao commented on HDDS-548: --------------------------------- Thanks [~anu] for working on this. The patch looks good to me. Here are few= comments: =C2=A0 We need to move HDDSKeyGenerator.java and HDDSKeyPEMWriter.java to under th= e o/a/h/h/security/x509/keys to make package path and dir path match? =C2=A0 SelfSignedCertificate.java Line 60: NIT: do we support self-signed certificate for ozone in non CA? Line 132: can we=C2=A0leverage the build-in X509v3CertificateBuilder/X500Na= meBuilder to build DN and self-signed certificate for SCM? This way, we=C2= =A0can have a simpler=C2=A0builder or don't have to maintain our own builde= r class. Line 213: we will need API to persist and load the self-signed certificate.= Do you want to add that in a separate JIRA? > Create a Self-Signed Certificate > -------------------------------- > > Key: HDDS-548 > URL: https://issues.apache.org/jira/browse/HDDS-548 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Components: SCM > Affects Versions: 0.2.1 > Reporter: Anu Engineer > Assignee: Anu Engineer > Priority: Major > Attachments: HDDS-548-HDDS-4.001.patch, HDDS-548-HDDS-4.002.patch= , HDDS-548-HDDS-4.003.patch, HDDS-548-HDDS-4.004.patch, HDDS-548.001.patch > > > This Jira proposes to create a class that can create a self-signed certif= icate that can help with testing and=C2=A0 can also act as a CA. This is ne= eded to bootstrap SCM in the absence of a user provided CA certificate and = is also needed for testing. > cc: [~ajayydv], [~xyao] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org