Re: [Acme] Add a special token parameter in ACME registration

Richard Barnes <rlb@ipv.sx> Wed, 17 August 2016 01:41 UTC

Return-Path: <rlb@ipv.sx>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95A3412D130 for <acme@ietfa.amsl.com>; Tue, 16 Aug 2016 18:41:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.20150623.gappssmtp.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 d7_x-PVsESuQ for <acme@ietfa.amsl.com>; Tue, 16 Aug 2016 18:41:33 -0700 (PDT)
Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 5313812B05B for <acme@ietf.org>; Tue, 16 Aug 2016 18:41:32 -0700 (PDT)
Received: by mail-ua0-x234.google.com with SMTP id n59so150834251uan.2 for <acme@ietf.org>; Tue, 16 Aug 2016 18:41:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=doFETc1SpujYpXKJPRvYomod8BnOa9WgOw3ikxccHDY=; b=wPoEuHRBAbHgiJ+d/kWAD8Z8B8DRf3RjPq0u3j842FvcDEc6JxkptJGESFh16ki9A9 Rgg1ODJG4u9NKWq5KawuNxIhLKimc4xNsbhZ6V1AraJFKPtyyOZm7Lpu7JHHwzYhS6T5 GiN0BL0ccd1jF7EVzDtlGpFRBGh/sw6SYfaW8ygVJb27OPlqUGJqefm+X92vSpnVJ2jB KEw3LDOtWQiPEKDkbRbn3iaG8bdcNswQu1zhdgSSRsVvrW7/jMxqNQX3eMdKAVIw0Q7W UNrWkFKAt6uIqDxggPaa7yYwOgxlcxIJuNWwaR7hdUeHjFodykKoxQRIo/MCvYtLZ/VK oMAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=doFETc1SpujYpXKJPRvYomod8BnOa9WgOw3ikxccHDY=; b=i6ES5pjdhqNJrNJjuewXBGyEVuMbMkJFDliEhLei5zyTAF7/jNBw+c3edeeEbvsX9X 1dv2j1SvJrIJFVJYo/NzGB0g50bjxyifl+l0aYysJKf+wcpRIXVNSYrBsirmSeu3hVc5 w0lkBRHkqO/6BLw1S98HFO2iPgXyoQt0xADsLDaM79NQRTLAOJfCc9UPm0caz9ppeyvi 8JERHh1nFFPTgJyGuRKWa/MhvB2atLYkjahv838hJ6VkWTtjFmKu0T++cOis8+cwgqDt kfdRJdxCsSSuusHWqReetti84E8pVooh/LD6LzlBlH3yTHGIeBAcpQL2QbD7mtQEy/Ih E+zA==
X-Gm-Message-State: AEkooutTx8PH7ShwvnOEhkVDFWqkxYoQmx4XjDgr4iuYzYpCnLwjPCX5qV7zIXeUqy5txFaYeoGUUoPnC7Wcvg==
X-Received: by 10.31.83.67 with SMTP id h64mr7637294vkb.27.1471398091399; Tue, 16 Aug 2016 18:41:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.49.212 with HTTP; Tue, 16 Aug 2016 18:41:30 -0700 (PDT)
In-Reply-To: <CABkgnnVUE+pSrxibP=P_O3LLrhVE63j4ZEWPR9VdcA_AA5zpSA@mail.gmail.com>
References: <236F64DDDC83C742A24E89E6E215CFC7E4CFB7@mx3.startssl.com> <CAObDDPAEaiWE0Apao_sWin2njhC+CjQuw1D07upTsn4=BQQZnQ@mail.gmail.com> <d729f81d-44a7-7e64-a528-a43df5e6dd69@eff.org> <010e01d1f7d0$dcd3c7a0$967b56e0$@startssl.com> <c81aa0ec-4d8b-8e9f-cba3-d6205e466e53@eff.org> <CAL02cgTedv63cgjxDf3eNWANnVSG1zDkDDzUHrv0XVHb5ooJWg@mail.gmail.com> <CABkgnnVUE+pSrxibP=P_O3LLrhVE63j4ZEWPR9VdcA_AA5zpSA@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Tue, 16 Aug 2016 21:41:30 -0400
Message-ID: <CAL02cgR3+5VdPRnr5ZHpFqpNsPP_+YmG8reN+N8hnWsq8izOUg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary="001a114e60e08fcaa8053a3a9037"
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/-w-GnGHHVZYJ7IPTF0bfb7sGPo8>
Cc: "acme@ietf.org" <acme@ietf.org>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Add a special token parameter in ACME registration
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Aug 2016 01:41:34 -0000

On Tuesday, August 16, 2016, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 17 August 2016 at 06:48, Richard Barnes <rlb@ipv.sx> wrote:
> > a. Infer the certificate type from the CSR.  For example, if the Subject
> in
> > the CSR has (C, O, CN), infer that the applicant wants EV.
> > b. Have a field in the new-application request that the client can use to
> > indicate what type of certificate, e.g., {"certType": "ev"} to indicate
> EV.
> > c. Have a field in the new-application request that indicates which CA
> the
> > applicant would like to issue the certificate, e.g., {"ca":
> > "identifier-for-CA"}.
>
> Or have entirely separate ACME endpoints for the DV and EV CA.  i.e.,
> https://acme.example/dv will issue DV certs, and
> https://acme.example/ev will issue EV certs.
>

Yes, that's possible.  In particular, you probably want to share new-reg
and new-authz, but not new-app.  So it's kind of isomorphic to (c); you
just provide different new-app endpoints per CA, de mixing with URL instead
of a request parameter.