Re: [pkix] RFC 5280 and example of a self signed end-entity certificate?

Yoav Nir <ynir.ietf@gmail.com> Sun, 20 November 2016 10:28 UTC

Return-Path: <ynir.ietf@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 710C81294C1 for <pkix@ietfa.amsl.com>; Sun, 20 Nov 2016 02:28:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jsu4rKR9yu4z for <pkix@ietfa.amsl.com>; Sun, 20 Nov 2016 02:28:38 -0800 (PST)
Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0B76B1294C7 for <pkix@ietf.org>; Sun, 20 Nov 2016 02:28:38 -0800 (PST)
Received: by mail-wm0-x241.google.com with SMTP id g23so18435526wme.1 for <pkix@ietf.org>; Sun, 20 Nov 2016 02:28:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7QQHowiGsvpZLpZaDw0ufilc7yyUjAlFxZitDmuCPPg=; b=XRuyC9ThcPU3ni9IhbzQwW9QuemB72BVCjgyMTOnZaHq7h6UaDE9KFRe4MY3XNXQh8 EiMKkxHIQn625OOtiH/jX6KfqjC1nGqhuvuqemvm6t9474FbMwH/nA3rjyX6J1E2Q1QG 7zmmlb3xtjN44i0+nBPnrnmGIxmUCwmqde99+7IAcduIo3PNgv22V/GxslYkooAbdnGV I4N4sPi6igiSkOc9QThO3bKNH11yO8BB6uaN25mGCSaVDlvMJ+YvJu2s8I54EXBfT8l9 OM4xe/rpyA5RuSmTfA/4f4KePcc92jJL+LXxUl2Ld/zub1wl2XNTW1dIXUbvyLYryC2Y 40Dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7QQHowiGsvpZLpZaDw0ufilc7yyUjAlFxZitDmuCPPg=; b=cOvd34XhTRzqmPVtWZ5m338auKTUp13eCAvENwjcSuB7eNZXAl4MHVE55JtaNDKppX UztHq4dnezwBsewQImQROLhea0+wcq4DMR9vP2042kUVrNk8tdpGrnkVTcukx2QJD1ye uZYdWQOWHEn0aBuRdzr9CmgeFmKbuUXNmmWMIaX3qXe+TqmyfhTFLulCbqZjg03vGdAi qla0ajVfP/dVTz35gEVFaAjweFWMWU1yY0gbvp3Gt8KOM8kqzVL6hN+LfW5Jk6D7Dmkf b3p6yWIC8BZ/I7728YJg30z7x3GebKdcNR0idPD+TowesE1MToy/KNkeN+usH1J1T97d 2eKw==
X-Gm-Message-State: AKaTC02lm75KTBhESoUplDcePNlxC3P9F+Kf0CFv+j22SqB1gXg8gT/j814xK33/C0VxFA==
X-Received: by 10.28.136.198 with SMTP id k189mr7664250wmd.24.1479637716599; Sun, 20 Nov 2016 02:28:36 -0800 (PST)
Received: from [172.24.248.54] (dyn32-131.checkpoint.com. [194.29.32.131]) by smtp.gmail.com with ESMTPSA id yj10sm18764426wjb.3.2016.11.20.02.28.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Nov 2016 02:28:36 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CAH8yC8=6Hi37uNPpdbpdx+jUBAvE=NmcRok1vLqMCEgBY1Skhg@mail.gmail.com>
Date: Sun, 20 Nov 2016 12:28:34 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <7C156711-CE2E-46EC-BC86-41F202576BF7@gmail.com>
References: <CAH8yC8m886wq8DOzLcyXgkqQW4vmYCzCdvS78PBtcifMJUEGXA@mail.gmail.com> <1479624960309.7436@cs.auckland.ac.nz> <CAH8yC8=6Hi37uNPpdbpdx+jUBAvE=NmcRok1vLqMCEgBY1Skhg@mail.gmail.com>
To: noloader@gmail.com
X-Mailer: Apple Mail (2.3251)
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/dq0By60PweqvUoE7bBwFvZM1hlo>
Cc: PKIX <pkix@ietf.org>
Subject: Re: [pkix] RFC 5280 and example of a self signed end-entity certificate?
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Nov 2016 10:28:39 -0000

> On 20 Nov 2016, at 10:05, Jeffrey Walton <noloader@gmail.com> wrote:
> 
>>> Does anyone know where I might find an example of a elf-signed end-entity
>>> certificate?
>> 
>> By finding an elf and getting them to sign one for you?  Alternatively, if you
>> want a *self*-signed EE cert, by signing one yourself?  Or am I missing
>> something here...
> 
> My bad. I wanted an IETF reference one; not a random one crated by an
> external tool.

Well, you generate one with an external tool; then you copy the result into an Internet Draft, and then you have an IETF reference one…

Of course you can perform all the calculations yourself and hand-encode the DER, but that looks too hard and error-prone to me.

Yoav