
From nobody Sun Oct  2 07:24:39 2016
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 C7E6C12B0B7 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 07:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 pnKia6CELkkb for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 07:24:36 -0700 (PDT)
Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (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 E8D5212B0B6 for <acme@ietf.org>; Sun,  2 Oct 2016 07:24:35 -0700 (PDT)
Received: by mail-vk0-x22f.google.com with SMTP id y190so109707042vkd.3 for <acme@ietf.org>; Sun, 02 Oct 2016 07:24:35 -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=8DuUButT0R6oYEkhOzO7OxMcUZbKdw8J9ga+wq3F9QY=; b=V8PD2q+yBynsWawSxTHmnRpmSEJj2cHicDXmkwdAOU58Clk7hjCo/b75fWFkeuVqoZ dOOVLVlNKJ6ypSLb37NVCw3PXAJV+XEHreSWQ5xPbkeHmvuqav2icbwy8RF0kODQ3SkV NGRdx2GSu+Sqg7QjTGHikR4WU1L8mHwBk49SssDBMWfYidHXQTeUSjeijNwDUBbhSnOO kQ5zDUMj/n4eK8tJJyguRvAn0ciNrVAmB0D48mhfbJWX78Ne+rz4sLUSglKva9lXWwdU 2Tlpj5Usx14R+kW07R/pZOrUNZIBCdGw/CvXbsmj6r1vohStw7gOyvNIhMV4KkS8S0dp GOZA==
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=8DuUButT0R6oYEkhOzO7OxMcUZbKdw8J9ga+wq3F9QY=; b=QEmDE9xxJ2552HggQhTRKCuKmhg58ValJ4o2Rp6yn6Dl5wijse+C/6XlYPArNAbPnU 6tihL8CtfK9NshYUiEuerZVh0BJV/hZYwmGEZwtsE++6atMCxVSNaRb7JTzTVp0UP7B/ P1Hm2AgC9/0SvsfDtXUKHzVW4Oa6LZyT2nNECfrbe+uoFcqIC3+4SEJ0vsQfbG5naxMT aBvlxfQx5gwd+PtB1mVv4a0EnxFRHAMQHZMQ+8iYeZbFGVg6yujJjOWSr3JntwbInVL3 O75foetjEPWqNJ6E6FvxmyMK7z5qBouQeTRYOvy6hPQPuzaew7NTWQq1RxQpBfDkScir 3NlA==
X-Gm-Message-State: AA6/9RlVdwpCr+0esneIbaMgBdeagyViZPLoGwAhMaGBjnazCJIn8KLZMnuf8H8XepjyaLVVXA8FZeWMGB/NGA==
X-Received: by 10.31.70.69 with SMTP id t66mr9864910vka.102.1475418274909; Sun, 02 Oct 2016 07:24:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Sun, 2 Oct 2016 07:24:34 -0700 (PDT)
In-Reply-To: <20160925030907.GA13654@andover.lhh.devever.net>
References: <20160925030907.GA13654@andover.lhh.devever.net>
From: Richard Barnes <rlb@ipv.sx>
Date: Sun, 2 Oct 2016 10:24:34 -0400
Message-ID: <CAL02cgTXOcHD0DhCsJ6RzfdzcLgkT8ufqrGwd5CK=qJQpXPxKw@mail.gmail.com>
To: Hugo Landau <hlandau@devever.net>
Content-Type: multipart/alternative; boundary=001a114da9ee2bf7e8053de2963a
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/HZ1feOQI7kl-7jokPM9efDg996E>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] URI-based CAA account binding
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: Sun, 02 Oct 2016 14:24:38 -0000

--001a114da9ee2bf7e8053de2963a
Content-Type: text/plain; charset=UTF-8

Thanks for the draft, Hugo.  In general, the idea of making CAA more
precise seems like a good vein to explore, and to the dimensions of
precision overlap with ACME semantics, it makes sense to do it here.

The other case (besides account URI) that I've heard folks talk about is
allowing the domain holder to restrict what validation methods the CA
should be allowed to use.  For example, you might allow DNS validation and
forbid HTTP validation.  Between ACME and the new, stricter Baseline
Requirements, it seems like we should be able to come up with a pretty
comprehensive list of validation methods.  Is this something that would
make sense to fold into this document?



On Sat, Sep 24, 2016 at 11:09 PM, Hugo Landau <hlandau@devever.net> wrote:

> This is an updated version of my previous draft. Comments invited.
>
> https://hlandau.github.io/draft-landau-acme-caa/
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

--001a114da9ee2bf7e8053de2963a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Thanks for the draft, Hugo.=C2=A0 In general, th=
e idea of making CAA more precise seems like a good vein to explore, and to=
 the dimensions of precision overlap with ACME semantics, it makes sense to=
 do it here.<br><br></div>The other case (besides account URI) that I&#39;v=
e heard folks talk about is allowing the domain holder to restrict what val=
idation methods the CA should be allowed to use.=C2=A0 For example, you mig=
ht allow DNS validation and forbid HTTP validation.=C2=A0 Between ACME and =
the new, stricter Baseline Requirements, it seems like we should be able to=
 come up with a pretty comprehensive list of validation methods.=C2=A0 Is t=
his something that would make sense to fold into this document?<br><br></di=
v><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sa=
t, Sep 24, 2016 at 11:09 PM, Hugo Landau <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:hlandau@devever.net" target=3D"_blank">hlandau@devever.net</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">This is an updated version of=
 my previous draft. Comments invited.<br>
<br>
<a href=3D"https://hlandau.github.io/draft-landau-acme-caa/" rel=3D"norefer=
rer" target=3D"_blank">https://hlandau.github.io/<wbr>draft-landau-acme-caa=
/</a><br>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
</blockquote></div><br></div>

--001a114da9ee2bf7e8053de2963a--


From nobody Sun Oct  2 07:46:49 2016
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 4A16912B0C0 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 07:46:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 wGDfy3n4dhte for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 07:46:44 -0700 (PDT)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (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 8C88D12B0BF for <acme@ietf.org>; Sun,  2 Oct 2016 07:46:44 -0700 (PDT)
Received: by mail-vk0-x22b.google.com with SMTP id 192so141316708vkl.2 for <acme@ietf.org>; Sun, 02 Oct 2016 07:46:44 -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=p6EbSglAiiL4hGUYaCmFU5JZcQOA5fYPkI3VKVKmvEg=; b=hucPlszvA2crxyKdhYT13kwerJB9+Q2bhPHib73tyt1Q2MxhXelhlz8D2SZh/GYw8u kN86TrzBtGCjT1hH71o1KOTZPS2BYWQkkhJdCD74qUbi8S4gvm6Pk5hUf6W3QVvf6Zxd UeVcn3NeVvWqwXq6uDq3d0tBUF9gLn6crFxpO6ecSUBpnWnTEAXAjEsTUs6fovHZzEYa 0ZrwHev7gjwFrMWncZwHKkWofeUkIVxANTVAcyUg6pzB5+WEu9Xb+OE9etdkebvjmMDH XeSy7IoKNymc757NlLTWxeeVnLR4vBvFIGUU6PbtAQFS2aca51AdFSCiFDdSTaTEJ/K4 ZweA==
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=p6EbSglAiiL4hGUYaCmFU5JZcQOA5fYPkI3VKVKmvEg=; b=Rn19tIYzVJlqyALH3gryVYIfXmNNa6PB763I2DvJtgpm5TBW0XLZWhIn9l/DtRnxnj 7o9wB0T3L0Sqc2l/e1tzMkKIztLB7hz4EgHqr8f7E191L5700fHChLIhfYXXB+kgGtRo WzQ1u/WSvVqGwb5fL3h8vfFv4L+z2jvW4UU54DPtRa6QABkVgSwXkSrmWM0tF8EiBuXq 7ABnLHk6r4/onAJ3bmlkJXE0vS1Osptp58RGqM/YrQT6LR8mvGjXvPlN8j287ORVuknN Au6o8c/fHk95r0ysDbIP+T2Gs3B7LXuCvlKJeBBLn4GqGpZ1ZGuIw3f0gNH9n5iU0P8t xccg==
X-Gm-Message-State: AA6/9RnEEtzZZi3lMvkckrtheEQHrFKMMghzS9GcXK4DXkBdX/+t0ETnIcf9Y3IapIYuxqvOOxViaUB+6tWXkQ==
X-Received: by 10.31.181.142 with SMTP id e136mr9282919vkf.45.1475419603617; Sun, 02 Oct 2016 07:46:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Sun, 2 Oct 2016 07:46:42 -0700 (PDT)
In-Reply-To: <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Sun, 2 Oct 2016 10:46:42 -0400
Message-ID: <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Content-Type: multipart/alternative; boundary=001a11439d685e6208053de2e533
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/rUznls7Y6wyFlTSc_SQ9phbVSbU>
Cc: "acme@ietf.org" <acme@ietf.org>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Sun, 02 Oct 2016 14:46:47 -0000

--001a11439d685e6208053de2e533
Content-Type: text/plain; charset=UTF-8

I'm worried that we're losing a lot of useful, clear semantics here in
order to save a few bytes.

I understand the impulse here; it is challenging to have multiple status
values that could conflict with each other, and it's a pain for the client
to have to go fetch a separate authorization resource to find out what it
has to do.  That doesn't mean that we've gotten the semantics wrong; we've
just put the bits in the wrong place.

If we want to do something here, I think the right way to think about it is
as "inlining" the authorization document in the authorization requirement,
just as challenge resources are inlined into authorization resources.  That
is, we would have "authorization" requirement objects contain the contents
of the authorization resource, in addition to a URL for the authorization
resource.

However, I'm not really sure that even that is worthwhile.  Consider that
authorizations can be re-usable for multiple applications; we envisage
clients being able to authorize a bunch of domains, then issue certificates
for arbitrary combinations.  It's wasteful to replicate the authorization
document in each application that uses already-valid authorizations, in
terms of bytes on the wire, but also in terms of the server's state storage
(if it stores the authorizations in the application object) or processing
(if it re-assembles them each time).  At the very least, we need to have
authorizations continue to be independently addressable in order to
indicate clearly that the same authorization is being used for different
applications -- a need that does not necessarily apply to other types of
requirement objects.

In any case, we should not lose the semantic distinction between "proving
that you control an identifier" and other things a server requires the
client to do.

This PR also removes two important pieces of functionality:
- The generic OOB requirement type - Would need to be replaced by new
authorization types
- The ability of the protocol to cleanly support new identifier types;
instead of just defining a new identifier type and some challenges, you
need to copy / paste the whole definition of the dns-name challenge.

So my preference here would be to be more targeted:
- Clarify that the "status" of an "authorization" requirement MUST equal
the status of the underlying authorization
- Possibly allow inlining of the authorization (not require, for the reuse
reasons above)




On Thu, Sep 29, 2016 at 5:28 PM, Ted Hardie <ted.ietf@gmail.com> wrote:

> On Thu, Sep 29, 2016 at 1:50 PM, Jacob Hoffman-Andrews <jsha@eff.org>
> wrote:
>
>>
>> This also makes sense. I think URIs make more sense, rather than
>>> defining a new namespace. And the URIs can contain more information
>>> about the type. What do other folks think?
>>>
>>>
>> I'm a little confused about the proposal, especially how the URI would
>> contain more information about the type.   Would you mind fleshing this out
>> a bit?
>>
>> Something like this:
>>
>> Servers that create authorization objects with a non-standard type should
>> provide a URL as the type string. This allows non-standard types to be
>> created in a well-defined namespace, to avoid conflicts. Visiting the URL
>> in a web browser should result in a human-readable web page describing the
>> non-standard authorization type.
>>
>> However, I'm very open to other suggestions!
>>
>
> Well, I guess I have two thoughts here.  The first is that if we do want
> to shift to URIs, then we should move DNSname to also being a URI (a URN at
> IANA or an IANA registry entry).  If the client recognizes it, then it
> doesn't need to dereference the page, as the content is guaranteed to be
> the same (especially so in the case of URNs), but it is getting the same
> sort of identifier for standard and nonstandard types.
>
> But I'm not sure that this is the right direction, as I worry that we
> might lose interoperability over time.  For out-of-band authorizations, I
> think we could use a single common type and an additional field for
> dereferencing the out-of-band steps.  But for new general mechanisms, it
> would be useful if the client knew from examination whether it could or
> should use the authorization type.  If service A and service B use
> different URIs for the same mechanism, you have the possibility of a client
> not recognizing that it can use service B.
>
> Imagine for a second that someone creates a method to use an entry in a
> block chain as an authorization mechanism; if more than one service wants
> to use the method the 2nd and later either have to refer to the type using
> the first's URI or making up new URIs that aren't automatically recognized
> by clients built in response to the first.
>
> I agree with the need to collision, but I'm not sure that we have likely
> collisions unless we try to differentiate each out-of-band set of steps
> into types.  That doesn't seem that useful to me, personally.
>
> Just an initial reaction,
>
> Ted
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--001a11439d685e6208053de2e533
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>I&#39;m worried that we&#39;re lo=
sing a lot of useful, clear semantics here in order to save a few bytes.<br=
><br></div>I understand the impulse here; it is challenging to have multipl=
e status values that could conflict with each other, and it&#39;s a pain fo=
r the client to have to go fetch a separate authorization resource to find =
out what it has to do.=C2=A0 That doesn&#39;t mean that we&#39;ve gotten th=
e semantics wrong; we&#39;ve just put the bits in the wrong place.<br></div=
><div><br></div><div>If we want to do something here, I think the right way=
 to think about it is as &quot;inlining&quot; the authorization document in=
 the authorization requirement, just as challenge resources are inlined int=
o authorization resources.=C2=A0 That is, we would have &quot;authorization=
&quot; requirement objects contain the contents of the authorization resour=
ce, in addition to a URL for the authorization resource.<br><br></div><div>=
However, I&#39;m not really sure that even that is worthwhile.=C2=A0 Consid=
er that authorizations can be re-usable for multiple applications; we envis=
age clients being able to authorize a bunch of domains, then issue certific=
ates for arbitrary combinations.=C2=A0 It&#39;s wasteful to replicate the a=
uthorization document in each application that uses already-valid authoriza=
tions, in terms of bytes on the wire, but also in terms of the server&#39;s=
 state storage (if it stores the authorizations in the application object) =
or processing (if it re-assembles them each time).=C2=A0 At the very least,=
 we need to have authorizations continue to be independently addressable in=
 order to indicate clearly that the same authorization is being used for di=
fferent applications -- a need that does not necessarily apply to other typ=
es of requirement objects.<br><br></div>In any case, we should not lose the=
 semantic distinction between &quot;proving that you control an identifier&=
quot; and other things a server requires the client to do.=C2=A0 <br><br></=
div><div>This PR also removes two important pieces of functionality:<br></d=
iv><div>- The generic OOB requirement type - Would need to be replaced by n=
ew authorization types<br></div><div>- The ability of the protocol to clean=
ly support new identifier types; instead of just defining a new identifier =
type and some challenges, you need to copy / paste the whole definition of =
the dns-name challenge.<br></div><div><br></div>So my preference here would=
 be to be more targeted:<br></div>- Clarify that the &quot;status&quot; of =
an &quot;authorization&quot; requirement MUST equal the status of the under=
lying authorization<br></div>- Possibly allow inlining of the authorization=
 (not require, for the reuse reasons above)<br><div><div><div><div><div><di=
v><div><br></div><div><br></div><div><br></div></div></div></div></div></di=
v></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On =
Thu, Sep 29, 2016 at 5:28 PM, Ted Hardie <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:ted.ietf@gmail.com" target=3D"_blank">ted.ietf@gmail.com</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><span cla=
ss=3D"">On Thu, Sep 29, 2016 at 1:50 PM, Jacob Hoffman-Andrews <span dir=3D=
"ltr">&lt;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">jsha@eff.org</a=
>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quote=
"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><br><div bgcolor=3D"#FFFFFF" text=3D"#0000=
00"><span></span><span></span><span><blockquote type=3D"cite"><div dir=3D"l=
tr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><span>
              </span>This also makes sense. I think URIs make more
              sense, rather than<br>
              defining a new namespace. And the URIs can contain more
              information<br>
              about the type. What do other folks think?<br>
              <span></span><br>
            </blockquote>
          </div>
          <br>
        </div>
        <div class=3D"gmail_extra">I&#39;m a little confused about the
          proposal, especially how the URI would contain more
          information about the type.=C2=A0=C2=A0 Would you mind fleshing t=
his out
          a bit?<br>
        </div>
      </div>
    </blockquote></span>
    Something like this:<br>
    <br>
    Servers that create authorization objects with a non-standard type
    should provide a URL as the type string. This allows non-standard
    types to be created in a well-defined namespace, to avoid conflicts.
    Visiting the URL in a web browser should result in a human-readable
    web page describing the non-standard authorization type.<br>
    <br>
    However, I&#39;m very open to other suggestions!<br>
  </div>

</blockquote></div></div><br></span>Well, I guess I have two thoughts here.=
=C2=A0 The first is that if we do want to shift to URIs, then we should mov=
e DNSname to also being a URI (a URN at IANA or an IANA registry entry).=C2=
=A0 If the client recognizes it, then it doesn&#39;t need to dereference th=
e page, as the content is guaranteed to be the same (especially so in the c=
ase of URNs), but it is getting the same sort of identifier for standard an=
d nonstandard types.<br><br></div><div>But I&#39;m not sure that this is th=
e right direction, as I worry that we might lose interoperability over time=
.=C2=A0 For out-of-band authorizations, I think we could use a single commo=
n type and an additional field for dereferencing the out-of-band steps.=C2=
=A0 But for new general mechanisms, it would be useful if the client knew f=
rom examination whether it could or should use the authorization type.=C2=
=A0 If service A and service B use different URIs for the same mechanism, y=
ou have the possibility of a client not recognizing that it can use service=
 B.<br><br></div><div>Imagine for a second that someone creates a method to=
 use an entry in a block chain as an authorization mechanism; if more than =
one service wants to use the method the 2nd and later either have to refer =
to the type using the first&#39;s URI or making up new URIs that aren&#39;t=
 automatically recognized by clients built in response to the first.<br><br=
></div><div>I agree with the need to collision, but I&#39;m not sure that w=
e have likely collisions unless we try to differentiate each out-of-band se=
t of steps into types.=C2=A0 That doesn&#39;t seem that useful to me, perso=
nally.<br><br></div><div>Just an initial reaction,<br><br></div><div>Ted<br=
></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div>

--001a11439d685e6208053de2e533--


From nobody Sun Oct  2 08:18:15 2016
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 1B72B12B0B6 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:18:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 JJ92oCyaQlen for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:18:12 -0700 (PDT)
Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (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 2D38112B0B0 for <acme@ietf.org>; Sun,  2 Oct 2016 08:18:11 -0700 (PDT)
Received: by mail-vk0-x231.google.com with SMTP id 192so141686364vkl.2 for <acme@ietf.org>; Sun, 02 Oct 2016 08:18:11 -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=M2KIoLHajHN1DivxP3EkH+UuMMCjjoof7OCywRYB/8Q=; b=lfPVusERC4oL5HsVES0q4A1H6tDXNdWlfaRRJUwckc8zyL0vXCOcSjf7wzKoz1EpT+ GJhv5S2x2/eCec64jP1Z772mPEmXnuO+yfPS7KKoQCqyrtKPqOr22SRPeNqNyS+MGoXK LxoEcSkN9NpC6NXtGlI0hHkPXtp6U//iyTL5+bWtxgJoHbK/QKJcP08jvI4LjP0wW/Qj evdIFzAzM4ya6MHaGns/EnleQxSsYfamIoM2K7OMhjKf7Ys0wUqIdKwGXIR6u8Ob8Wm1 u8kTE+NRpGQ/bloaBO5P/P3f4UlqtytrWaDgYt4jlhCZ0Ymc3A/dASpdTztLqB4CEOpM zVCg==
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=M2KIoLHajHN1DivxP3EkH+UuMMCjjoof7OCywRYB/8Q=; b=P9p6oUQLoxyYZKNRRkrTMpe7Y3QTFnv6OK7/Krsamv8Gni/vh69vEito28MT9BnvJ/ m2TeW/4Uq6WiTsX5nplnmht6byWhCftepniibAwt5kK2a8ZOTj8cn0ohh6w9cjxQNYSM EcPtgMT47wDfJfbkQMWCevh81KEGIUeIBdm3VScpVhuLLEP9S2fefUe2c8WUWKq30UhG fk91DsDZ9BQhQhy9Yi8ktboy5oUCg/81TpmofE9joYWZsCZZwo4lBIyIYKquvRIJ57D9 uzyt6KZXjeSWMxi6UCvBcm81yiLHigE6R6cRldtEPusl0FxccCh84/5taCKE5f2uPmfD 9q3w==
X-Gm-Message-State: AA6/9Rkroil4YTIacNK/GyTntIiL4dxfa5LRHGkElbTdGfvp+FqlOa7GDIZBjYwdG+AgDsPRFyt36h4vGDHjog==
X-Received: by 10.31.181.142 with SMTP id e136mr9348111vkf.45.1475421490915; Sun, 02 Oct 2016 08:18:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Sun, 2 Oct 2016 08:18:10 -0700 (PDT)
In-Reply-To: <03d2026f-1372-0a6d-342e-54e931fd62e8@eff.org>
References: <e2c5c256-2522-6aa5-8752-2a943c869014@eff.org> <CAJH38kEy=bDM-ty6+6Dgn9yo_yjCVSRsaea5J=p_tfV_nY+tBQ@mail.gmail.com> <CAL02cgSSaqf3Qu9sgr4QrxmfgbpRtuTqaZYYFx0BoEropDBGcQ@mail.gmail.com> <20160913025216.GS8744@hex.shelbyville.oz> <03d2026f-1372-0a6d-342e-54e931fd62e8@eff.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Sun, 2 Oct 2016 11:18:10 -0400
Message-ID: <CAL02cgRa2KXHNkdkfdfONanUYDVZhuu+75ex1mTfMWC=aWRvLg@mail.gmail.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=001a11439d68dc5f9c053de35560
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/GJLLpmJ8MkKGNHzDSpEG2nKMHGw>
Cc: "acme@ietf.org" <acme@ietf.org>, Josh Aas <josh@letsencrypt.org>, Ron <ron@debian.org>
Subject: Re: [Acme] Simplifying ToS agreement
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: Sun, 02 Oct 2016 15:18:14 -0000

--001a11439d68dc5f9c053de35560
Content-Type: text/plain; charset=UTF-8

On Tue, Sep 13, 2016 at 11:56 AM, Jacob Hoffman-Andrews <jsha@eff.org>
wrote:

>
> > Anything that isn't tested Will be broken.  We can't fix that in the
> > protocol, but we can fix it by adding tests :)
> We can also fix it by deleting unnecessary things, which is the best and
> most reliable way to avoid bugs. That's why I think this is the right
> approach.
>

Note that you can synthesize the "TOS-as-bool" case from the
"TOS-as-string" case -- the bool just reflects whether the string has the
right value.  In that sense, having the string there would actually
simplify the CA's job.

So string or bool is just a question of whether you make the
breaking-change case or the non-breaking-change case easier (where breaking
== requires re-agreement).  If it's a bool, then the server has to go unset
it on all the accounts when it makes a breaking change (instead of just
changing the string and breaking equality).  If it's a string, then the
sever has to update the strings whenever it makes a non-breaking change to
the URL.

Of course, these options are not mutually exclusive.  You could have
something like a "last agreed" URL field and an "agreement compatible with
current TOS" field.  Don't really think this is a good idea, just bringing
it up :)

Net/net, I'm a little sad to lose the "thing you last agreed to"
information.  But if it's not acceptable to the CA any more anyway, why
does it matter?  (The client can also keep a copy.)  And it does seem like
we should optimize for the non-breaking-change case.  So I can live with
just a bool.

--Richard

--001a11439d68dc5f9c053de35560
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, Sep 13, 2016 at 11:56 AM, Jacob Hoffman-Andrews <span dir=3D"lt=
r">&lt;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; Anything that isn&#39;t tested Will be broken.=C2=A0 We can&#39;t fix =
that in the<br>
&gt; protocol, but we can fix it by adding tests :)<br>
</span>We can also fix it by deleting unnecessary things, which is the best=
 and<br>
most reliable way to avoid bugs. That&#39;s why I think this is the right<b=
r>
approach.<br></blockquote><div><br></div><div>Note that you can synthesize =
the &quot;TOS-as-bool&quot; case from the &quot;TOS-as-string&quot; case --=
 the bool just reflects whether the string has the right value.=C2=A0 In th=
at sense, having the string there would actually simplify the CA&#39;s job.=
<br><br></div><div>So string or bool is just a question of whether you make=
 the breaking-change case or the non-breaking-change case easier (where bre=
aking =3D=3D requires re-agreement).=C2=A0 If it&#39;s a bool, then the ser=
ver has to go unset it on all the accounts when it makes a breaking change =
(instead of just changing the string and breaking equality).=C2=A0 If it&#3=
9;s a string, then the sever has to update the strings whenever it makes a =
non-breaking change to the URL.<br></div><div><br></div><div>Of course, the=
se options are not mutually exclusive.=C2=A0 You could have something like =
a &quot;last agreed&quot; URL field and an &quot;agreement compatible with =
current TOS&quot; field.=C2=A0 Don&#39;t really think this is a good idea, =
just bringing it up :)<br></div><div><br></div><div>Net/net, I&#39;m a litt=
le sad to lose the &quot;thing you last agreed to&quot; information.=C2=A0 =
But if it&#39;s not acceptable to the CA any more anyway, why does it matte=
r?=C2=A0 (The client can also keep a copy.)=C2=A0 And it does seem like we =
should optimize for the non-breaking-change case.=C2=A0 So I can live with =
just a bool.<br><br></div><div>--Richard<br></div><div>=C2=A0</div></div><b=
r></div></div>

--001a11439d68dc5f9c053de35560--


From nobody Sun Oct  2 08:26:47 2016
Return-Path: <ekr@rtfm.com>
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 DB77012B0B0 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:26:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.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 pWO5gwpT1L6m for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:26:44 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::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 3201A12B0BE for <acme@ietf.org>; Sun,  2 Oct 2016 08:26:44 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id t193so15983002ywc.2 for <acme@ietf.org>; Sun, 02 Oct 2016 08:26:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0/rJQCbq936LRDK5q6M+uRM2xr23pkU3ZA3TUK0cRPw=; b=vx3ybI8X37AsbAq9LPmeHCwUA+kaWC0Sl6YiCm/x6lYaeNlBmzfII1dLWj72gnKetr smQWzbVhnkOr3fRMHq4CNCRz8QWpYSsXuxgpbgm3G+MTxZqYkwCKM8xsw+Hh7HZLI1kJ Jp+80pAQyxrzXy2rMf4rfg0mRcpvKC8aLwZsQvbmXYnjAOjE+j+LSHKFXc6gHW0kTGEx NkR8kadgSTM3DLLD69SdHk1IvvmI4IBBRh1n7XQYef6uCpJK0RhiixrE7N/l7EVvuxG6 kngZxppTYUdiIaVGvFT6b+MlsLkvv1kAAqmg7ZzlHQmOkygsbH4jtEX/L40jqFm/Gn5Z azmw==
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=0/rJQCbq936LRDK5q6M+uRM2xr23pkU3ZA3TUK0cRPw=; b=F9ANk34jkiPuRQQXsJGbbANwLjemlvt+4PRIAFPsQxNFQl8UTy8H6MdKkJ535quQSq e+X0zcIbXCivQq+RfF52DibtAaE445/tZHxkviGfeh+NHp8FdaePWP4/Qj9GIaoZR2uk bctWhUhI2rjgDkhkhHFp00OPXQnqCIWonLJ8j1uYZoz/6zwHKZX5zSLBMFezEl64l8p9 b3CelwBuJaMfs6P/mIbEXzZjm+ACqlPq1XMk4IJfLVPcWVvuf0+pkKi5zHxLJqdVC1u7 IdCmeneLHWVhcu7CvWEuagXAU47NcxhHELS6CCdKGFkqpJqEHt6o+vMRDQmStzZkVMvc x/3w==
X-Gm-Message-State: AA6/9RkKblUcS/ZNjBLJp649Nyvzxtk6u8RZPsZKqBsTYaWRl5rGsIQQRYt7jW/XplO/g7oOdy+zj7eS4em2QQ==
X-Received: by 10.129.81.196 with SMTP id f187mr11435548ywb.149.1475422003360;  Sun, 02 Oct 2016 08:26:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.160.10 with HTTP; Sun, 2 Oct 2016 08:26:02 -0700 (PDT)
In-Reply-To: <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 2 Oct 2016 08:26:02 -0700
Message-ID: <CABcZeBMWAvu0s5=k6Bjym0GxtqTCWsJAV3k21gPUxRkBJpt62g@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Content-Type: multipart/alternative; boundary=001a1146289c67a960053de37449
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/I6ENeUgjhkS0flUKkj7qKnLKK5E>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Sun, 02 Oct 2016 15:26:47 -0000

--001a1146289c67a960053de37449
Content-Type: text/plain; charset=UTF-8

On Sun, Oct 2, 2016 at 7:46 AM, Richard Barnes <rlb@ipv.sx> wrote:

> I'm worried that we're losing a lot of useful, clear semantics here in
> order to save a few bytes.
>
> I understand the impulse here; it is challenging to have multiple status
> values that could conflict with each other, and it's a pain for the client
> to have to go fetch a separate authorization resource to find out what it
> has to do.  That doesn't mean that we've gotten the semantics wrong; we've
> just put the bits in the wrong place.
>
> If we want to do something here, I think the right way to think about it
> is as "inlining" the authorization document in the authorization
> requirement, just as challenge resources are inlined into authorization
> resources.  That is, we would have "authorization" requirement objects
> contain the contents of the authorization resource, in addition to a URL
> for the authorization resource.
>
> However, I'm not really sure that even that is worthwhile.  Consider that
> authorizations can be re-usable for multiple applications; we envisage
> clients being able to authorize a bunch of domains, then issue certificates
> for arbitrary combinations.  It's wasteful to replicate the authorization
> document in each application that uses already-valid authorizations, in
> terms of bytes on the wire, but also in terms of the server's state storage
> (if it stores the authorizations in the application object) or processing
> (if it re-assembles them each time).  At the very least, we need to have
> authorizations continue to be independently addressable in order to
> indicate clearly that the same authorization is being used for different
> applications -- a need that does not necessarily apply to other types of
> requirement objects.
>
> In any case, we should not lose the semantic distinction between "proving
> that you control an identifier" and other things a server requires the
> client to do.
>

+1

I think this is most obvious in the case of payment. A CA might ask me to
prove that I own the identifier once
but pay each time. This seems like it should be first-class.

-Ekr


> This PR also removes two important pieces of functionality:
> - The generic OOB requirement type - Would need to be replaced by new
> authorization types
> - The ability of the protocol to cleanly support new identifier types;
> instead of just defining a new identifier type and some challenges, you
> need to copy / paste the whole definition of the dns-name challenge.
>
> So my preference here would be to be more targeted:
> - Clarify that the "status" of an "authorization" requirement MUST equal
> the status of the underlying authorization
> - Possibly allow inlining of the authorization (not require, for the reuse
> reasons above)
>
>
>
>
> On Thu, Sep 29, 2016 at 5:28 PM, Ted Hardie <ted.ietf@gmail.com> wrote:
>
>> On Thu, Sep 29, 2016 at 1:50 PM, Jacob Hoffman-Andrews <jsha@eff.org>
>> wrote:
>>
>>>
>>> This also makes sense. I think URIs make more sense, rather than
>>>> defining a new namespace. And the URIs can contain more information
>>>> about the type. What do other folks think?
>>>>
>>>>
>>> I'm a little confused about the proposal, especially how the URI would
>>> contain more information about the type.   Would you mind fleshing this out
>>> a bit?
>>>
>>> Something like this:
>>>
>>> Servers that create authorization objects with a non-standard type
>>> should provide a URL as the type string. This allows non-standard types to
>>> be created in a well-defined namespace, to avoid conflicts. Visiting the
>>> URL in a web browser should result in a human-readable web page describing
>>> the non-standard authorization type.
>>>
>>> However, I'm very open to other suggestions!
>>>
>>
>> Well, I guess I have two thoughts here.  The first is that if we do want
>> to shift to URIs, then we should move DNSname to also being a URI (a URN at
>> IANA or an IANA registry entry).  If the client recognizes it, then it
>> doesn't need to dereference the page, as the content is guaranteed to be
>> the same (especially so in the case of URNs), but it is getting the same
>> sort of identifier for standard and nonstandard types.
>>
>> But I'm not sure that this is the right direction, as I worry that we
>> might lose interoperability over time.  For out-of-band authorizations, I
>> think we could use a single common type and an additional field for
>> dereferencing the out-of-band steps.  But for new general mechanisms, it
>> would be useful if the client knew from examination whether it could or
>> should use the authorization type.  If service A and service B use
>> different URIs for the same mechanism, you have the possibility of a client
>> not recognizing that it can use service B.
>>
>> Imagine for a second that someone creates a method to use an entry in a
>> block chain as an authorization mechanism; if more than one service wants
>> to use the method the 2nd and later either have to refer to the type using
>> the first's URI or making up new URIs that aren't automatically recognized
>> by clients built in response to the first.
>>
>> I agree with the need to collision, but I'm not sure that we have likely
>> collisions unless we try to differentiate each out-of-band set of steps
>> into types.  That doesn't seem that useful to me, personally.
>>
>> Just an initial reaction,
>>
>> Ted
>>
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--001a1146289c67a960053de37449
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sun, Oct 2, 2016 at 7:46 AM, Richard Barnes <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:rlb@ipv.sx" target=3D"_blank">rlb@ipv.sx</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div><div>=
<div>I&#39;m worried that we&#39;re losing a lot of useful, clear semantics=
 here in order to save a few bytes.<br><br></div>I understand the impulse h=
ere; it is challenging to have multiple status values that could conflict w=
ith each other, and it&#39;s a pain for the client to have to go fetch a se=
parate authorization resource to find out what it has to do.=C2=A0 That doe=
sn&#39;t mean that we&#39;ve gotten the semantics wrong; we&#39;ve just put=
 the bits in the wrong place.<br></div><div><br></div><div>If we want to do=
 something here, I think the right way to think about it is as &quot;inlini=
ng&quot; the authorization document in the authorization requirement, just =
as challenge resources are inlined into authorization resources.=C2=A0 That=
 is, we would have &quot;authorization&quot; requirement objects contain th=
e contents of the authorization resource, in addition to a URL for the auth=
orization resource.<br><br></div><div>However, I&#39;m not really sure that=
 even that is worthwhile.=C2=A0 Consider that authorizations can be re-usab=
le for multiple applications; we envisage clients being able to authorize a=
 bunch of domains, then issue certificates for arbitrary combinations.=C2=
=A0 It&#39;s wasteful to replicate the authorization document in each appli=
cation that uses already-valid authorizations, in terms of bytes on the wir=
e, but also in terms of the server&#39;s state storage (if it stores the au=
thorizations in the application object) or processing (if it re-assembles t=
hem each time).=C2=A0 At the very least, we need to have authorizations con=
tinue to be independently addressable in order to indicate clearly that the=
 same authorization is being used for different applications -- a need that=
 does not necessarily apply to other types of requirement objects.<br><br><=
/div>In any case, we should not lose the semantic distinction between &quot=
;proving that you control an identifier&quot; and other things a server req=
uires the client to do.=C2=A0 <br></div></div></div></div></blockquote><div=
><br></div><div>+1</div><div><br></div><div>I think this is most obvious in=
 the case of payment. A CA might ask me to prove that I own the identifier =
once</div><div>but pay each time. This seems like it should be first-class.=
</div><div><br></div><div>-Ekr</div><div>=C2=A0</div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex"><div dir=3D"ltr"><div><div><div></div><div>This PR also removes tw=
o important pieces of functionality:<br></div><div>- The generic OOB requir=
ement type - Would need to be replaced by new authorization types<br></div>=
<div>- The ability of the protocol to cleanly support new identifier types;=
 instead of just defining a new identifier type and some challenges, you ne=
ed to copy / paste the whole definition of the dns-name challenge.<br></div=
><div><br></div>So my preference here would be to be more targeted:<br></di=
v>- Clarify that the &quot;status&quot; of an &quot;authorization&quot; req=
uirement MUST equal the status of the underlying authorization<br></div>- P=
ossibly allow inlining of the authorization (not require, for the reuse rea=
sons above)<br><div><div><div><div><div><div><div><br></div><div><br></div>=
<div><br></div></div></div></div></div></div></div></div><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote"><div><div class=3D"h5">On Thu, Sep =
29, 2016 at 5:28 PM, Ted Hardie <span dir=3D"ltr">&lt;<a href=3D"mailto:ted=
.ietf@gmail.com" target=3D"_blank">ted.ietf@gmail.com</a>&gt;</span> wrote:=
<br></div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"><div =
dir=3D"ltr"><div><span>On Thu, Sep 29, 2016 at 1:50 PM, Jacob Hoffman-Andre=
ws <span dir=3D"ltr">&lt;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">=
jsha@eff.org</a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=
=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><br><div bgcolor=3D"#FFFFFF=
" text=3D"#000000"><span></span><span></span><span><blockquote type=3D"cite=
"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><span>
              </span>This also makes sense. I think URIs make more
              sense, rather than<br>
              defining a new namespace. And the URIs can contain more
              information<br>
              about the type. What do other folks think?<br>
              <span></span><br>
            </blockquote>
          </div>
          <br>
        </div>
        <div class=3D"gmail_extra">I&#39;m a little confused about the
          proposal, especially how the URI would contain more
          information about the type.=C2=A0=C2=A0 Would you mind fleshing t=
his out
          a bit?<br>
        </div>
      </div>
    </blockquote></span>
    Something like this:<br>
    <br>
    Servers that create authorization objects with a non-standard type
    should provide a URL as the type string. This allows non-standard
    types to be created in a well-defined namespace, to avoid conflicts.
    Visiting the URL in a web browser should result in a human-readable
    web page describing the non-standard authorization type.<br>
    <br>
    However, I&#39;m very open to other suggestions!<br>
  </div>

</blockquote></div></div><br></span>Well, I guess I have two thoughts here.=
=C2=A0 The first is that if we do want to shift to URIs, then we should mov=
e DNSname to also being a URI (a URN at IANA or an IANA registry entry).=C2=
=A0 If the client recognizes it, then it doesn&#39;t need to dereference th=
e page, as the content is guaranteed to be the same (especially so in the c=
ase of URNs), but it is getting the same sort of identifier for standard an=
d nonstandard types.<br><br></div><div>But I&#39;m not sure that this is th=
e right direction, as I worry that we might lose interoperability over time=
.=C2=A0 For out-of-band authorizations, I think we could use a single commo=
n type and an additional field for dereferencing the out-of-band steps.=C2=
=A0 But for new general mechanisms, it would be useful if the client knew f=
rom examination whether it could or should use the authorization type.=C2=
=A0 If service A and service B use different URIs for the same mechanism, y=
ou have the possibility of a client not recognizing that it can use service=
 B.<br><br></div><div>Imagine for a second that someone creates a method to=
 use an entry in a block chain as an authorization mechanism; if more than =
one service wants to use the method the 2nd and later either have to refer =
to the type using the first&#39;s URI or making up new URIs that aren&#39;t=
 automatically recognized by clients built in response to the first.<br><br=
></div><div>I agree with the need to collision, but I&#39;m not sure that w=
e have likely collisions unless we try to differentiate each out-of-band se=
t of steps into types.=C2=A0 That doesn&#39;t seem that useful to me, perso=
nally.<br><br></div><div>Just an initial reaction,<br><br></div><div>Ted<br=
></div><div><br></div></div>
<br></div></div><span class=3D"">______________________________<wbr>_______=
__________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div></div>

--001a1146289c67a960053de37449--


From nobody Sun Oct  2 08:40:11 2016
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 50F47127071 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:40:09 -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 l-UGe1W-wFAY for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:40:07 -0700 (PDT)
Received: from mail-ua0-x22e.google.com (mail-ua0-x22e.google.com [IPv6:2607:f8b0:400c:c08::22e]) (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 207FE126D74 for <acme@ietf.org>; Sun,  2 Oct 2016 08:40:07 -0700 (PDT)
Received: by mail-ua0-x22e.google.com with SMTP id q42so131855505uaq.2 for <acme@ietf.org>; Sun, 02 Oct 2016 08:40:07 -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=I21xHrDDUtI/RafE7tjrEtAR6ubI75VJTGbS5aHfF2c=; b=TxjVWLGJ4Jzxv4Tkw1kS5Ui7sdzk2lNKBU2o/0CDnHWkak0GSzrxHfDWwZL34YOhuc W5A8KahTWxv5eT0GtKsDAYOJZKnSmPYRWfZZ7LhvgMLN+xfU+pV5Va8dcWQA1VNLyL7a omC5nR3EB716PKQil3aeKZ/lAxUtZLWubI0FZEfhsAt1qkdu04CyplZx8S5Fl+kOtPax WWDd36F5/cASBbn/R5GcwVn5eycUeqUz0wC+AdwpyxvXryl1gX/Hs4RWD5gKPkcjhgB0 nJ1uguScU/X1f/oVkOK8EAk8vaKS3BKeyKIkZuntWsK0Ng+x7whvc2tFEtT/WGVk8vYD zKYw==
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=I21xHrDDUtI/RafE7tjrEtAR6ubI75VJTGbS5aHfF2c=; b=kcuHLNvn6LN/4ueyQ1YdUZH6muFsumJlbBh/8JctuKoM+Zextj6H8uFM6ys1lE7sl/ NXrwpNENbz5SxWzwDHHhD+X5sxH2cwb8z31GicWrPq/P5FOT3dnQm1+BnMAQ0IongOI1 +v3/c9+qaW64unWvUHnxx3CmL+69OVnu5/C1JQUKsSw6ggS69KpxT1rMUZDHa03KzS6d 7Q2jc/NWdBTjQIS/dcLCUZJESkkcm/Uz6bSJ+jFCX9pV6aq7ki5qNfcFqS/hPMLVeOLl xE5uE3Y3XFmbDTh0KB5k9eUTbj1OhLVSZQTruRbjZf+QhyMhEQB9vCidh6MDRBqVfjTj pTMw==
X-Gm-Message-State: AA6/9RlTOHy9i0Vk+GpnsahJdjx+i115u8oo2gKVI5kULYZhQXo1OuSYPNXFHhX0B939Dqdh6SCPS8K8aqKouA==
X-Received: by 10.176.84.149 with SMTP id p21mr10985548uaa.42.1475422806206; Sun, 02 Oct 2016 08:40:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Sun, 2 Oct 2016 08:40:05 -0700 (PDT)
In-Reply-To: <CAKnbcLj5=3Bp8tPHQmt=L4Xo=jAZXHGhUxs3Zm_SD7rBWKVdnQ@mail.gmail.com>
References: <e832b9f4-1c17-7d16-7897-ff655352d359@eff.org> <20160925011652.GA8618@andover.lhh.devever.net> <4dd340fa-5a55-cb70-ddd2-b7c400f068e8@eff.org> <CABkgnnUpDm1KKm67jtLw3V9DMep7YTudgz-51GDhxohW+D4PSQ@mail.gmail.com> <CAKnbcLj5=3Bp8tPHQmt=L4Xo=jAZXHGhUxs3Zm_SD7rBWKVdnQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Sun, 2 Oct 2016 11:40:05 -0400
Message-ID: <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
To: Daniel McCarney <cpu@letsencrypt.org>
Content-Type: multipart/alternative; boundary=94eb2c1b074e420320053de3a403
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/4NfApx2FR-fWa6oCpebWz0SaG_I>
Cc: Hugo Landau <hlandau@devever.net>, "acme@ietf.org" <acme@ietf.org>, Martin Thomson <martin.thomson@gmail.com>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Specify account by kid (reg URL) rather than key. #193
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: Sun, 02 Oct 2016 15:40:09 -0000

--94eb2c1b074e420320053de3a403
Content-Type: text/plain; charset=UTF-8

I can live with this, but I'm not enthusiastic.

tl;dr: Makes things more complicated, security benefit debatable.

It makes me sad to lose the clean layering between cryptographic
verification and verification of identity.  Before, the need to provide a
valid signature provided some minimal validation of the request that could
be performed totally statelessly by the server.  Now, the request
validation logic needs access to the account DB.  I guess whether you see
this as a loss depends on whether you regard signature verification or DB
access as more expensive; I am far more wary of DB access, and state
coupling in general.

I also don't think the attribution gains here are quite as big as are being
suggested.  For all requests where the account tied to the key matters, the
account is identified by the key.  So the error case here isn't like an
HTTPS client that doesn't check the server's cert and proceeds with the
connection anyway; an ACME server that doesn't look up the account for a
key is unable to proceed.

I'll grant that the "kid" approach is somewhat harder to attack than the
"jwk" approach.  In order to get the server to recognize a bad key pair,
the attacker needs to get a confusable account URI, and account URIs are
issued by the server.  So you basically need two bugs instead of one (URI
allocation + comparison, vs. key comparison).  Nonetheless, key comparison
does not seem that risky to me -- it's what undergirds every TLS and SSH
session you've ever engaged in, after all, and I don't recall ever hearing
about a major vuln in an implementation of these protocols due to a key
comparison flaw.  I don't have the same confidence in URL allocation and
comparison routines, which will have much more variability.



On Tue, Sep 27, 2016 at 9:24 AM, Daniel McCarney <cpu@letsencrypt.org>
wrote:

> I'm also strongly in favour of this change. I think the minimal increase
> in client
> state/complexity is offset by the gain of knowing that the category of
> potential
> bugs that Jacob mentions are avoided.
>
>
> On Tue, Sep 27, 2016 at 1:01 AM, Martin Thomson <martin.thomson@gmail.com>
> wrote:
>
>> I am inclined to think that this is a good change, on the basis that
>> it means that the server is minting the identifiers that the client
>> uses.  I think that Jacob is probably understating the potential for
>> bugs here.  And key canonicalization is a bad smell.
>>
>> On 27 September 2016 at 14:51, Jacob Hoffman-Andrews <jsha@eff.org>
>> wrote:
>> > I understand the concern, but I think that clients already have to store
>> > a significant amount of state: the ACME directory URL, the private key,
>> > and the domain names, certificates, and private keys of existing
>> > certificates. I think that one more item, the account URL, is not a
>> > heavy burden, especially when weighed against a real flaw in the
>> > protocol. You could consider it akin to storing a username and password
>> > for a more traditional login.
>> >
>> > All that said, for clients that find it to be a big savings, there is
>> > always the method of finding the account URL by POSTing again to new-reg
>> > with the same key.
>> >
>> > On 09/24/2016 06:16 PM, Hugo Landau wrote:
>> >> I'm somewhat against this on the grounds that it introduces unnecessary
>> >> state into clients (the registration URI), increasing their complexity.
>> >>
>> >> _______________________________________________
>> >> Acme mailing list
>> >> Acme@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/acme
>> >>
>> >
>> > _______________________________________________
>> > Acme mailing list
>> > Acme@ietf.org
>> > https://www.ietf.org/mailman/listinfo/acme
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--94eb2c1b074e420320053de3a403
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I can live with this, but I&#39;m not enthusiastic.<b=
r><br></div><div>tl;dr: Makes things more complicated, security benefit deb=
atable.<br></div><div><br>It makes me sad to lose the clean layering betwee=
n cryptographic verification and verification of identity.=C2=A0 Before, th=
e need to provide a valid signature provided some minimal validation of the=
 request that could be performed totally statelessly by the server.=C2=A0 N=
ow, the request validation logic needs access to the account DB.=C2=A0 I gu=
ess whether you see this as a loss depends on whether you regard signature =
verification or DB access as more expensive; I am far more wary of DB acces=
s, and state coupling in general. <br><br></div><div>I also don&#39;t think=
 the attribution gains here are quite as big as are being suggested.=C2=A0 =
For all requests where the account tied to the key matters, the account is =
identified by the key.=C2=A0 So the error case here isn&#39;t like an HTTPS=
 client that doesn&#39;t check the server&#39;s cert and proceeds with the =
connection anyway; an ACME server that doesn&#39;t look up the account for =
a key is unable to proceed.<br><br></div><div>I&#39;ll grant that the &quot=
;kid&quot; approach is somewhat harder to attack than the &quot;jwk&quot; a=
pproach.=C2=A0 In order to get the server to recognize a bad key pair, the =
attacker needs to get a confusable account URI, and account URIs are issued=
 by the server.=C2=A0 So you basically need two bugs instead of one (URI al=
location + comparison, vs. key comparison).=C2=A0 Nonetheless, key comparis=
on does not seem that risky to me -- it&#39;s what undergirds every TLS and=
 SSH session you&#39;ve ever engaged in, after all, and I don&#39;t recall =
ever hearing about a major vuln in an implementation of these protocols due=
 to a key comparison flaw.=C2=A0 I don&#39;t have the same confidence in UR=
L allocation and comparison routines, which will have much more variability=
.<br></div><div><br></div><br></div><div class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Tue, Sep 27, 2016 at 9:24 AM, Daniel McCarney <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:cpu@letsencrypt.org" target=3D"_blank">cpu=
@letsencrypt.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr"><div>I&#39;m also strongly in favour of this change. I think=
 the minimal increase in client<br></div><div><div>state/complexity is offs=
et by the gain of knowing that the category of potential</div><div>bugs tha=
t Jacob mentions are avoided.</div></div><div><br></div></div><div class=3D=
"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">On Tue, Sep 27, 2016 at 1:01 AM, Martin Thomson <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.t=
homson@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I =
am inclined to think that this is a good change, on the basis that<br>
it means that the server is minting the identifiers that the client<br>
uses.=C2=A0 I think that Jacob is probably understating the potential for<b=
r>
bugs here.=C2=A0 And key canonicalization is a bad smell.<br>
<div><div><br>
On 27 September 2016 at 14:51, Jacob Hoffman-Andrews &lt;<a href=3D"mailto:=
jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt; wrote:<br>
&gt; I understand the concern, but I think that clients already have to sto=
re<br>
&gt; a significant amount of state: the ACME directory URL, the private key=
,<br>
&gt; and the domain names, certificates, and private keys of existing<br>
&gt; certificates. I think that one more item, the account URL, is not a<br=
>
&gt; heavy burden, especially when weighed against a real flaw in the<br>
&gt; protocol. You could consider it akin to storing a username and passwor=
d<br>
&gt; for a more traditional login.<br>
&gt;<br>
&gt; All that said, for clients that find it to be a big savings, there is<=
br>
&gt; always the method of finding the account URL by POSTing again to new-r=
eg<br>
&gt; with the same key.<br>
&gt;<br>
&gt; On 09/24/2016 06:16 PM, Hugo Landau wrote:<br>
&gt;&gt; I&#39;m somewhat against this on the grounds that it introduces un=
necessary<br>
&gt;&gt; state into clients (the registration URI), increasing their comple=
xity.<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; Acme mailing list<br>
&gt;&gt; <a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</=
a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"nore=
ferrer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</=
a><br>
&gt;&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Acme mailing list<br>
&gt; <a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><b=
r>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferr=
er" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><b=
r>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div>

--94eb2c1b074e420320053de3a403--


From nobody Sun Oct  2 08:47:00 2016
Return-Path: <ekr@rtfm.com>
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 2E3CB12B014 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:46:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.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 0uk9S6SXMXIZ for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:46:57 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 C4CA1127071 for <acme@ietf.org>; Sun,  2 Oct 2016 08:46:56 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id t193so16142100ywc.2 for <acme@ietf.org>; Sun, 02 Oct 2016 08:46:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=asf4mxNz0THJ8Ccu5lvTMcr0GAyer3Ee5VWHdmNa7ds=; b=eR3wlbXJbIhpsa0V4yjRgmlQURSX569+iwQ783xDA4g94+IkaLqwPoV31+BYDZb6Jm 9IzcE9fTBI89r0RF2sO130kmyMMrYcJMImjo+oat+3fZKbO6kK/MIpxsSFDMMvOH3v2e fBKk3nP/ftE3YzqdxqIjatEtogrEhMIHFvVzNPLWGmR1yAB4nIcsq8LnB8Q9mZMDKTxJ 8VLh4VRFAESAaAmNcO3FIBTYwAJFk49pfMqhQd0y6+tL6l6RBOrw5iTdaCuQmoxfSdBY YPeT+8CPctTZGPzOoCgldc3IihTeQdsmAtDupNp8Bz8eSHWWiTwYi9Cht0iDvEEuybTX 9YbQ==
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=asf4mxNz0THJ8Ccu5lvTMcr0GAyer3Ee5VWHdmNa7ds=; b=SiBThw7fAR8qqF3qd69FukwWyLPJPvZvxhnCuzYzD9nagsntzr3i8HjCaPz51z40m2 cHJiwEdP9bcL2OfruSIwzCwwpDznb6DZZuQXbXbCY4Admj9jdmieSH50qIMIy6IRwMOY PWDRexpI9fk4tAbON5k/TBEIWkRYHrVS0w8KIEz7DyaZu6cnNesNZ5ZmTFvvWcQgYULP Gavg2FTK9uux44Ve34p4YM8aHYJguyEnyNwsUOzOv/O4wb6rnCunTgYiG7g7V+Ehcrgm coJhUg4tyBPzqohMdEnLscHqDlkaS6ttOIoVUA8QPKumtwKftX6ZRbVyIlMIqrjPJ3VC fiiA==
X-Gm-Message-State: AA6/9RnJWYABBYXvQQ7NddyBqGEA8en9k58AyKIKR5MuK2aDB+gXkI2pRw5wrHlXqOzdMb06bzou0VTMoHAvdg==
X-Received: by 10.129.60.10 with SMTP id j10mr4075125ywa.354.1475423215859; Sun, 02 Oct 2016 08:46:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.160.10 with HTTP; Sun, 2 Oct 2016 08:46:15 -0700 (PDT)
In-Reply-To: <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
References: <e832b9f4-1c17-7d16-7897-ff655352d359@eff.org> <20160925011652.GA8618@andover.lhh.devever.net> <4dd340fa-5a55-cb70-ddd2-b7c400f068e8@eff.org> <CABkgnnUpDm1KKm67jtLw3V9DMep7YTudgz-51GDhxohW+D4PSQ@mail.gmail.com> <CAKnbcLj5=3Bp8tPHQmt=L4Xo=jAZXHGhUxs3Zm_SD7rBWKVdnQ@mail.gmail.com> <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 2 Oct 2016 08:46:15 -0700
Message-ID: <CABcZeBOzGwFRx4oa8sPzj2wY-meT2+onEDrTfJXkHem080WrWg@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Content-Type: multipart/alternative; boundary=001a11427026ace9a5053de3bc9b
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/m2Iqxqq8GdRDex-ULNn0xONrKtw>
Cc: Hugo Landau <hlandau@devever.net>, "acme@ietf.org" <acme@ietf.org>, Daniel McCarney <cpu@letsencrypt.org>, Martin Thomson <martin.thomson@gmail.com>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Specify account by kid (reg URL) rather than key. #193
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: Sun, 02 Oct 2016 15:46:59 -0000

--001a11427026ace9a5053de3bc9b
Content-Type: text/plain; charset=UTF-8

I am inclined to agree with Richard here.

In particular, I'm surprised to see Jacob's arguments that key comparison
is a threat because of hash collisions [0]. It seems like if we are
computing fingerprints using hash functions with collision attacks, we've
got bigger problems than this.

-Ekr

[0] Nit: it seems like most useful attacks would be because of pre-images.

On Sun, Oct 2, 2016 at 8:40 AM, Richard Barnes <rlb@ipv.sx> wrote:

> I can live with this, but I'm not enthusiastic.
>
> tl;dr: Makes things more complicated, security benefit debatable.
>
> It makes me sad to lose the clean layering between cryptographic
> verification and verification of identity.  Before, the need to provide a
> valid signature provided some minimal validation of the request that could
> be performed totally statelessly by the server.  Now, the request
> validation logic needs access to the account DB.  I guess whether you see
> this as a loss depends on whether you regard signature verification or DB
> access as more expensive; I am far more wary of DB access, and state
> coupling in general.
>
> I also don't think the attribution gains here are quite as big as are
> being suggested.  For all requests where the account tied to the key
> matters, the account is identified by the key.  So the error case here
> isn't like an HTTPS client that doesn't check the server's cert and
> proceeds with the connection anyway; an ACME server that doesn't look up
> the account for a key is unable to proceed.
>
> I'll grant that the "kid" approach is somewhat harder to attack than the
> "jwk" approach.  In order to get the server to recognize a bad key pair,
> the attacker needs to get a confusable account URI, and account URIs are
> issued by the server.  So you basically need two bugs instead of one (URI
> allocation + comparison, vs. key comparison).  Nonetheless, key comparison
> does not seem that risky to me -- it's what undergirds every TLS and SSH
> session you've ever engaged in, after all, and I don't recall ever hearing
> about a major vuln in an implementation of these protocols due to a key
> comparison flaw.  I don't have the same confidence in URL allocation and
> comparison routines, which will have much more variability.
>
>
>
> On Tue, Sep 27, 2016 at 9:24 AM, Daniel McCarney <cpu@letsencrypt.org>
> wrote:
>
>> I'm also strongly in favour of this change. I think the minimal increase
>> in client
>> state/complexity is offset by the gain of knowing that the category of
>> potential
>> bugs that Jacob mentions are avoided.
>>
>>
>> On Tue, Sep 27, 2016 at 1:01 AM, Martin Thomson <martin.thomson@gmail.com
>> > wrote:
>>
>>> I am inclined to think that this is a good change, on the basis that
>>> it means that the server is minting the identifiers that the client
>>> uses.  I think that Jacob is probably understating the potential for
>>> bugs here.  And key canonicalization is a bad smell.
>>>
>>> On 27 September 2016 at 14:51, Jacob Hoffman-Andrews <jsha@eff.org>
>>> wrote:
>>> > I understand the concern, but I think that clients already have to
>>> store
>>> > a significant amount of state: the ACME directory URL, the private key,
>>> > and the domain names, certificates, and private keys of existing
>>> > certificates. I think that one more item, the account URL, is not a
>>> > heavy burden, especially when weighed against a real flaw in the
>>> > protocol. You could consider it akin to storing a username and password
>>> > for a more traditional login.
>>> >
>>> > All that said, for clients that find it to be a big savings, there is
>>> > always the method of finding the account URL by POSTing again to
>>> new-reg
>>> > with the same key.
>>> >
>>> > On 09/24/2016 06:16 PM, Hugo Landau wrote:
>>> >> I'm somewhat against this on the grounds that it introduces
>>> unnecessary
>>> >> state into clients (the registration URI), increasing their
>>> complexity.
>>> >>
>>> >> _______________________________________________
>>> >> Acme mailing list
>>> >> Acme@ietf.org
>>> >> https://www.ietf.org/mailman/listinfo/acme
>>> >>
>>> >
>>> > _______________________________________________
>>> > Acme mailing list
>>> > Acme@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/acme
>>>
>>> _______________________________________________
>>> Acme mailing list
>>> Acme@ietf.org
>>> https://www.ietf.org/mailman/listinfo/acme
>>>
>>
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--001a11427026ace9a5053de3bc9b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I am inclined to agree with Richard here.<div><br></div><d=
iv>In particular, I&#39;m surprised to see Jacob&#39;s arguments that key c=
omparison is a threat because of hash collisions [0]. It seems like if we a=
re computing fingerprints using hash functions with collision attacks, we&#=
39;ve got bigger problems than this.<br><div><br></div><div>-Ekr</div><div>=
<br></div></div><div>[0] Nit: it seems like most useful attacks would be be=
cause of pre-images.</div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Sun, Oct 2, 2016 at 8:40 AM, Richard Barnes <span dir=
=3D"ltr">&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">rlb@ipv.sx</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>=
I can live with this, but I&#39;m not enthusiastic.<br><br></div><div>tl;dr=
: Makes things more complicated, security benefit debatable.<br></div><div>=
<br>It makes me sad to lose the clean layering between cryptographic verifi=
cation and verification of identity.=C2=A0 Before, the need to provide a va=
lid signature provided some minimal validation of the request that could be=
 performed totally statelessly by the server.=C2=A0 Now, the request valida=
tion logic needs access to the account DB.=C2=A0 I guess whether you see th=
is as a loss depends on whether you regard signature verification or DB acc=
ess as more expensive; I am far more wary of DB access, and state coupling =
in general. <br><br></div><div>I also don&#39;t think the attribution gains=
 here are quite as big as are being suggested.=C2=A0 For all requests where=
 the account tied to the key matters, the account is identified by the key.=
=C2=A0 So the error case here isn&#39;t like an HTTPS client that doesn&#39=
;t check the server&#39;s cert and proceeds with the connection anyway; an =
ACME server that doesn&#39;t look up the account for a key is unable to pro=
ceed.<br><br></div><div>I&#39;ll grant that the &quot;kid&quot; approach is=
 somewhat harder to attack than the &quot;jwk&quot; approach.=C2=A0 In orde=
r to get the server to recognize a bad key pair, the attacker needs to get =
a confusable account URI, and account URIs are issued by the server.=C2=A0 =
So you basically need two bugs instead of one (URI allocation + comparison,=
 vs. key comparison).=C2=A0 Nonetheless, key comparison does not seem that =
risky to me -- it&#39;s what undergirds every TLS and SSH session you&#39;v=
e ever engaged in, after all, and I don&#39;t recall ever hearing about a m=
ajor vuln in an implementation of these protocols due to a key comparison f=
law.=C2=A0 I don&#39;t have the same confidence in URL allocation and compa=
rison routines, which will have much more variability.<br></div><div><br></=
div><br></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Tue, Sep 27, 2016 at 9:24 AM, Danie=
l McCarney <span dir=3D"ltr">&lt;<a href=3D"mailto:cpu@letsencrypt.org" tar=
get=3D"_blank">cpu@letsencrypt.org</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><div dir=3D"ltr"><div>I&#39;m also strongly in favour of th=
is change. I think the minimal increase in client<br></div><div><div>state/=
complexity is offset by the gain of knowing that the category of potential<=
/div><div>bugs that Jacob mentions are avoided.</div></div><div><br></div><=
/div><div><div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On=
 Tue, Sep 27, 2016 at 1:01 AM, Martin Thomson <span dir=3D"ltr">&lt;<a href=
=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am inclined =
to think that this is a good change, on the basis that<br>
it means that the server is minting the identifiers that the client<br>
uses.=C2=A0 I think that Jacob is probably understating the potential for<b=
r>
bugs here.=C2=A0 And key canonicalization is a bad smell.<br>
<div><div><br>
On 27 September 2016 at 14:51, Jacob Hoffman-Andrews &lt;<a href=3D"mailto:=
jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt; wrote:<br>
&gt; I understand the concern, but I think that clients already have to sto=
re<br>
&gt; a significant amount of state: the ACME directory URL, the private key=
,<br>
&gt; and the domain names, certificates, and private keys of existing<br>
&gt; certificates. I think that one more item, the account URL, is not a<br=
>
&gt; heavy burden, especially when weighed against a real flaw in the<br>
&gt; protocol. You could consider it akin to storing a username and passwor=
d<br>
&gt; for a more traditional login.<br>
&gt;<br>
&gt; All that said, for clients that find it to be a big savings, there is<=
br>
&gt; always the method of finding the account URL by POSTing again to new-r=
eg<br>
&gt; with the same key.<br>
&gt;<br>
&gt; On 09/24/2016 06:16 PM, Hugo Landau wrote:<br>
&gt;&gt; I&#39;m somewhat against this on the grounds that it introduces un=
necessary<br>
&gt;&gt; state into clients (the registration URI), increasing their comple=
xity.<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; Acme mailing list<br>
&gt;&gt; <a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</=
a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"nore=
ferrer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</=
a><br>
&gt;&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Acme mailing list<br>
&gt; <a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><b=
r>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferr=
er" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><b=
r>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div>

--001a11427026ace9a5053de3bc9b--


From nobody Sun Oct  2 08:49:52 2016
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 D7268126D74 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:49:50 -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 19D207-jVd5I for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 08:49:49 -0700 (PDT)
Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::22f]) (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 3C115127071 for <acme@ietf.org>; Sun,  2 Oct 2016 08:49:49 -0700 (PDT)
Received: by mail-ua0-x22f.google.com with SMTP id n13so131880355uaa.3 for <acme@ietf.org>; Sun, 02 Oct 2016 08:49:49 -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=DYfTveCaBpQXti6jh7ukm5i7HGXzDDWSr+FYLL2EA44=; b=Rp+xQK8lSslis/sDhOwyIHt2OmCGqZf9lpyXTH3BjX6kAg72aBejhpnCZ6swxzFaqz 2hrFIQY1VFYXTuX16Ab5J4a8wq7/r0bM+gt4SxB8GGh2IhqyBSRyV9YRlChFePuwED10 5f887pQS+URWhYYbWPszUKbzjiiSDZFk0PRP9ELO0IjBX/RLx2woIZEZRH3VcmRUCjDo YlVRihoeWbImsbjkWks739sx0cej3OO9Sqa2S/Po2dOSxq7h15pxsiXgkf4svtLUMTr3 lgmUcQvs0CzNiU4Buwul0YlddPpFX1+NhRMekOVRAG/3tPw9Py2mj53oFaDF/tEuejqR NTfQ==
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=DYfTveCaBpQXti6jh7ukm5i7HGXzDDWSr+FYLL2EA44=; b=Vd+PQGidiE2kjCMHU8Wcf/tq9rvyIduA0l3xy8l7X7VKcOfCjNSIAXTABSUWfue4KC iv8SQ81O121ISTrS31g0RST53dkm9DoLkN2KVFQbLs9ziKem9ehyEZsSnftMykxZclNs Ul3TIf1XYwY1v41YLrNIwhVVtcbmwy/e07c5J2+CDYbAeofVDMXF8DRPn+xcIV4tS7Nn MlEpH9L6oMgjWdMObZTNDwullOVsR47MighL/5KE2C5YryhELv4bh7oJHve2usH5Rdhi yIrah52X+Y5QrHHxcZeYZHIsSocxtRV7qlUYJ8XwYUj2mm9HSMr6Q60X2BoCaXJniwIW CdPQ==
X-Gm-Message-State: AA6/9RlW3po5l4W+9nMRQCss5ZqKgDNbHC1LLuQC/zgOouEUhZy2GrgSMj1YSHA0iXKfwYtRTLxL3rSnIOzoaA==
X-Received: by 10.176.84.72 with SMTP id o8mr10822620uaa.128.1475423388324; Sun, 02 Oct 2016 08:49:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Sun, 2 Oct 2016 08:49:47 -0700 (PDT)
In-Reply-To: <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org>
References: <2118fd66-a775-3345-4aa7-2d849da2a82e@eff.org> <20160927051453.GB14922@andover.lhh.devever.net> <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Sun, 2 Oct 2016 11:49:47 -0400
Message-ID: <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=94eb2c1b0972f46639053de3c65e
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/jXAYJauy47LORvO1ptUIdGw8x-4>
Cc: "acme@ietf.org" <acme@ietf.org>, Hugo Landau <hlandau@devever.net>
Subject: Re: [Acme] Default to PEM with chain for certificates
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: Sun, 02 Oct 2016 15:49:51 -0000

--94eb2c1b0972f46639053de3c65e
Content-Type: text/plain; charset=UTF-8

This change seems to suppose that there is One True Cert Chain, and the CA
is the one to provide it.  Clearly neither of these is true.

On Tue, Sep 27, 2016 at 1:27 AM, Jacob Hoffman-Andrews <jsha@eff.org> wrote:

> On 09/26/2016 10:14 PM, Hugo Landau wrote:
> >> One of the most common ACME deployment failures observed in practice is
> >> for servers to be configured to serve only the end-entity certificate,
> >> without the intermediate certificates. This is a particularly pernicious
> >> problem because some browsers will still trust the resulting
> >> one-certificate chain, due to caching or fetching of URLs from Authority
> >> Information Access. But other browsers will not, resulting in a "works
> >> on my computer" problem.
> >>
> >> Arguably this configuration is the result of incorrect clients, but we
> >> should expect that most clients will do the easiest thing. This change
> >> aligns the easiest thing with the most correct thing.
> > - What happens to Link rel=up? You've left it in.
> Good question. I left it in mainly for the DER form, since DER can only
> contain a single certificate.
>
> A couple of options:
>  - Link rel=up exists only when requesting DER
>  - Keep Link rel=up for PEM, and specify that each href is an issuer
> certificate for the end-entity certificate. There would be some
> potential redundancy here but it offers a lot of expressive power.
>  - Specify a new Link rel=alternate, that would provide alternate fully
> built PEM chains. This would address your question about expressing a
> reverse tree of signers, below.
>
> > - What about certificates signed by an intermediate with multiple
> >   signers, and thus multiple actual intermediate certificates for the
> >   same intermediate Subject/public key? I'm not sure but I think there
> >   was some discussion on the list about using multiple Link rel=up
> >   headers to express a reverse tree
> >   (end entity -> { intermediate-signer1 -> signer1
> >                  | intermediate-signer2 -> signer2 }.)
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

--94eb2c1b0972f46639053de3c65e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This change seems to suppose that there is One True Cert C=
hain, and the CA is the one to provide it.=C2=A0 Clearly neither of these i=
s true.<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Tue, Sep 27, 2016 at 1:27 AM, Jacob Hoffman-Andrews <span dir=3D"ltr">&l=
t;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 09/26/201=
6 10:14 PM, Hugo Landau wrote:<br>
&gt;&gt; One of the most common ACME deployment failures observed in practi=
ce is<br>
&gt;&gt; for servers to be configured to serve only the end-entity certific=
ate,<br>
&gt;&gt; without the intermediate certificates. This is a particularly pern=
icious<br>
&gt;&gt; problem because some browsers will still trust the resulting<br>
&gt;&gt; one-certificate chain, due to caching or fetching of URLs from Aut=
hority<br>
&gt;&gt; Information Access. But other browsers will not, resulting in a &q=
uot;works<br>
&gt;&gt; on my computer&quot; problem.<br>
&gt;&gt;<br>
&gt;&gt; Arguably this configuration is the result of incorrect clients, bu=
t we<br>
&gt;&gt; should expect that most clients will do the easiest thing. This ch=
ange<br>
&gt;&gt; aligns the easiest thing with the most correct thing.<br>
&gt; - What happens to Link rel=3Dup? You&#39;ve left it in.<br>
</span>Good question. I left it in mainly for the DER form, since DER can o=
nly<br>
contain a single certificate.<br>
<br>
A couple of options:<br>
=C2=A0- Link rel=3Dup exists only when requesting DER<br>
=C2=A0- Keep Link rel=3Dup for PEM, and specify that each href is an issuer=
<br>
certificate for the end-entity certificate. There would be some<br>
potential redundancy here but it offers a lot of expressive power.<br>
=C2=A0- Specify a new Link rel=3Dalternate, that would provide alternate fu=
lly<br>
built PEM chains. This would address your question about expressing a<br>
reverse tree of signers, below.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; - What about certificates signed by an intermediate with multiple<br>
&gt;=C2=A0 =C2=A0signers, and thus multiple actual intermediate certificate=
s for the<br>
&gt;=C2=A0 =C2=A0same intermediate Subject/public key? I&#39;m not sure but=
 I think there<br>
&gt;=C2=A0 =C2=A0was some discussion on the list about using multiple Link =
rel=3Dup<br>
&gt;=C2=A0 =C2=A0headers to express a reverse tree<br>
&gt;=C2=A0 =C2=A0(end entity -&gt; { intermediate-signer1 -&gt; signer1<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | interm=
ediate-signer2 -&gt; signer2 }.)<br>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
</div></div></blockquote></div><br></div>

--94eb2c1b0972f46639053de3c65e--


From nobody Sun Oct  2 17:29:24 2016
Return-Path: <hlandau@devever.net>
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 8B59B12B038 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 17:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.997
X-Spam-Level: 
X-Spam-Status: No, score=-4.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 Jq3BOZs3AQLO for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 17:29:21 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF131127076 for <acme@ietf.org>; Sun,  2 Oct 2016 17:29:20 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 045AB1CC4A; Mon,  3 Oct 2016 02:29:19 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:content-type:mime-version :references:message-id:subject:subject:from:from:date:date :received:received; s=mimas; t=1475454558; x=1493643919; bh=9DQP S+2T/npfoOV6lj5iW1Y6Y9UkWebeggju3sELhls=; b=qIhI9PHgCdeSfH63a9ke +DrMfZbbZoBxApC76f8+iSNZeWBMJjJgMIEKmtRp9nqwhOcZ8IXxmCRiv+OI0JDq pMAXHamzTBLfsl5/3ey3G6PMQYZzXcZAa6BWcjDtLmOL23FLI8WPR7MH5ynZdAJO fv/3i8A2AvP0V5RXyzki2JYETXPClBf3Ds2FTvHgPCG+B8wddEbrp7nUFn50oTlk MU2uHRe+h7vRbn2aCFX2HMvxj30tS5dkMu4U1HmnZ5QEpHYqAtr7kub6J5HVicKE mhzBUymzueJefDDWg18ZKeGIPO5h8TwkYqJE/3teZ5HVn8xgwhAdHJtN8a6qXHUM KQ==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id umj9mgZH3Oyd; Mon,  3 Oct 2016 02:29:18 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id C449B1CC3F; Mon,  3 Oct 2016 02:29:18 +0200 (CEST)
Date: Mon, 3 Oct 2016 01:29:18 +0100
From: Hugo Landau <hlandau@devever.net>
To: Richard Barnes <rlb@ipv.sx>
Message-ID: <20161003002918.GA5323@andover.lhh.devever.net>
References: <20160925030907.GA13654@andover.lhh.devever.net> <CAL02cgTXOcHD0DhCsJ6RzfdzcLgkT8ufqrGwd5CK=qJQpXPxKw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAL02cgTXOcHD0DhCsJ6RzfdzcLgkT8ufqrGwd5CK=qJQpXPxKw@mail.gmail.com>
User-Agent: Mutt/1.7.0 (2016-08-17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/wbP7C6WMbGqTrD2E0Mffalkc_AY>
Cc: acme@ietf.org
Subject: Re: [Acme] URI-based CAA account binding
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: Mon, 03 Oct 2016 00:29:22 -0000

>    Thanks for the draft, Hugo.  In general, the idea of making CAA more
>    precise seems like a good vein to explore, and to the dimensions of
>    precision overlap with ACME semantics, it makes sense to do it here.
> 
>    The other case (besides account URI) that I've heard folks talk about is
>    allowing the domain holder to restrict what validation methods the CA
>    should be allowed to use.  For example, you might allow DNS validation and
>    forbid HTTP validation.  Between ACME and the new, stricter Baseline
>    Requirements, it seems like we should be able to come up with a pretty
>    comprehensive list of validation methods.  Is this something that would
>    make sense to fold into this document?

Alright, so here's some ideas:

-  An ACME-specific 'acme-methods' parameter taking a comma-separated
   list of methods (e.g. "acme-methods=dns-01,http-01").

-  A generic "method-uri" parameter which accepts a URI representing a
   method. For ACME this would be urn:ietf:acme:method:METHOD-NAME.
   Multiple methods would probably be specified via multiple CAA
   records; this would be slightly more obtuse for implementations
   to process than the above, but nothing unreasonable.

There's also the question of whether this should be in the same I-D or a
separate one. I'm fine with putting it in, but if anyone thinks it
should be a separate I-D, let me know.


From nobody Sun Oct  2 17:34:55 2016
Return-Path: <hlandau@devever.net>
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 6AABC12B038 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 17:34:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.997
X-Spam-Level: 
X-Spam-Status: No, score=-4.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 du_RW-P0HPfm for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 17:34:51 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FF1F128874 for <acme@ietf.org>; Sun,  2 Oct 2016 17:34:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id D15091CC4A; Mon,  3 Oct 2016 02:34:49 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:content-type:mime-version :references:message-id:subject:subject:from:from:date:date :received:received; s=mimas; t=1475454889; x=1493644250; bh=uy4k pBwv7V2sLpya+dMBqbEq6kaPSz8V/9CfWOsVBHk=; b=EJzrC9VWqooEP01TRWXf sY7Zz5XTAb4XBswrBpboGsdV9DrbGC2CBO+lWXKrTmytxc8sz1c3W/JN9ayay8Dz iyUlP+HQWTJdkcKGLlioWMqgxlaVvazyQsqWf4eLFRTg1Kb5qcOERf/xZJymhAOq Qua3R8IDAqBqIXPiPjBx5I1Go885SXaod28RPlQIjzdhHDZZFbyvWJuuWuyIQSUI gAg+XDe/aM1ZYT/I8827J8TcZdHQxRj7J6vKXkybp+brVuNbXnAo4d68Y/ipPtB+ qsU0Yfoau1qKllNA9wNi6OQ9sC9uHlOUtNmGVXtFXauMxdEjN7UqFFcTjUZahWfc jw==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id 6tJ9XiBancq5; Mon,  3 Oct 2016 02:34:49 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id A04271CC3F; Mon,  3 Oct 2016 02:34:49 +0200 (CEST)
Date: Mon, 3 Oct 2016 01:34:49 +0100
From: Hugo Landau <hlandau@devever.net>
To: Richard Barnes <rlb@ipv.sx>
Message-ID: <20161003003449.GB5323@andover.lhh.devever.net>
References: <e832b9f4-1c17-7d16-7897-ff655352d359@eff.org> <20160925011652.GA8618@andover.lhh.devever.net> <4dd340fa-5a55-cb70-ddd2-b7c400f068e8@eff.org> <CABkgnnUpDm1KKm67jtLw3V9DMep7YTudgz-51GDhxohW+D4PSQ@mail.gmail.com> <CAKnbcLj5=3Bp8tPHQmt=L4Xo=jAZXHGhUxs3Zm_SD7rBWKVdnQ@mail.gmail.com> <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
User-Agent: Mutt/1.7.0 (2016-08-17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/i_701vqesTcGQAImC4LxteX3LyE>
Cc: acme@ietf.org
Subject: Re: [Acme] Specify account by kid (reg URL) rather than key. #193
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: Mon, 03 Oct 2016 00:34:53 -0000

>    I can live with this, but I'm not enthusiastic.
> 
>    tl;dr: Makes things more complicated, security benefit debatable.
>    It makes me sad to lose the clean layering between cryptographic
>    verification and verification of identity.  Before, the need to provide a
>    valid signature provided some minimal validation of the request that could
>    be performed totally statelessly by the server.  Now, the request
>    validation logic needs access to the account DB.  I guess whether you see
>    this as a loss depends on whether you regard signature verification or DB
>    access as more expensive; I am far more wary of DB access, and state
>    coupling in general.
> 
>    I also don't think the attribution gains here are quite as big as are
>    being suggested.  For all requests where the account tied to the key
>    matters, the account is identified by the key.  So the error case here
>    isn't like an HTTPS client that doesn't check the server's cert and
>    proceeds with the connection anyway; an ACME server that doesn't look up
>    the account for a key is unable to proceed.
> 
>    I'll grant that the "kid" approach is somewhat harder to attack than the
>    "jwk" approach.  In order to get the server to recognize a bad key pair,
>    the attacker needs to get a confusable account URI, and account URIs are
>    issued by the server.  So you basically need two bugs instead of one (URI
>    allocation + comparison, vs. key comparison).  Nonetheless, key comparison
>    does not seem that risky to me -- it's what undergirds every TLS and SSH
>    session you've ever engaged in, after all, and I don't recall ever hearing
>    about a major vuln in an implementation of these protocols due to a key
>    comparison flaw.  I don't have the same confidence in URL allocation and
>    comparison routines, which will have much more variability.
I've already come out against this, but I'd like to echo Barnes's point
about URL comparison being a bit messy. There are multiple possible URLs
which represent a resource - "https://example.com/acme/reg/123",
"https://example.com/acme/reg/123?",
"https://example.com/acme/reg/123#",
"https://example.COM./acme/reg/123", maybe even
"http://example.com/acme/reg/123". Specifying the "right" URL isn't as
simple as it seems. What if an implementation considers only the path
and ignores the hostname, etc. Clarifying this would probably be a
decent-sized paragraph to add to the spec.

Avoiding key comparison also seems like crypto-superstition more than a
problem demonstrated in practice. Can we point to any historical
vulnerabilities caused by an implementation error of this kind?


From nobody Sun Oct  2 18:21:49 2016
Return-Path: <agwa@andrewayer.name>
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 B064612B004 for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 18:21:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=andrewayer.name
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 NVSBgbRatbzt for <acme@ietfa.amsl.com>; Sun,  2 Oct 2016 18:21:48 -0700 (PDT)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [IPv6:2600:3c00:e000:6c::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB0F1127078 for <acme@ietf.org>; Sun,  2 Oct 2016 18:15:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=beanwood20160511; t=1475457332; bh=KS6iC1V8WiVJHfnpHP5KsyHBWajA8dY/CkHGK21ajzg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=G+M7arC4U2tj0KNAkyA2rcFwKl/mB7v6A0Z6dlr6QZ7cxPt+tN9zL2aDD2qZxwkjB cKnVfz98c4ArtiVCd63bU/auUBL8LbxywVcpERpeVeu+42Cr7x/LMHRHwBw0TQqevs k6+YWHctI07FNU/ojWkk3kLZAfQ5y4pZGkr6euZNMZ1YLkgLfKYELc/8qFzbsyBqy5 eosIS0jBFxqMz/GrT4G7TMhJ5tAu6tiFf/bW9SCqnkSsrl8QYf+mtORIIORxMoQzcz queJkgyZ6ewytJIlTazenSOVpwWJwy6Xzc+kYn6D1VMpy4J7lsHRvEBR+zFW1XYU2v sp78utVan1C9g==
Date: Sun, 2 Oct 2016 18:15:31 -0700
From: Andrew Ayer <agwa@andrewayer.name>
To: Richard Barnes <rlb@ipv.sx>
Message-Id: <20161002181531.9c1a894a59a936e54cbeb706@andrewayer.name>
In-Reply-To: <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com>
References: <2118fd66-a775-3345-4aa7-2d849da2a82e@eff.org> <20160927051453.GB14922@andover.lhh.devever.net> <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org> <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/EMfjVCmMVG7AUgC5W1gik207y1s>
Cc: "acme@ietf.org" <acme@ietf.org>, Hugo Landau <hlandau@devever.net>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Default to PEM with chain for certificates
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: Mon, 03 Oct 2016 01:21:49 -0000

On Sun, 2 Oct 2016 11:49:47 -0400
Richard Barnes <rlb@ipv.sx> wrote:

> This change seems to suppose that there is One True Cert Chain, and
> the CA is the one to provide it.  Clearly neither of these is true.

I disagree.  The One True Cert Chain is the shortest chain that will be
trusted by the most platforms, weighted by the platforms' market
shares.  Building this certificate chain is complicated and requires
knowledge of PKI and access to every platform's trust store.  Clients
and their implementers shouldn't be expected to have either, but the CA
certainly has both.

A small minority of people may require a different chain (e.g. they're
willing to forgo some platforms to get a smaller TLS handshake, or they
need a different cross-sign so they can support a platform that didn't
make the cut for the default chain).  Those users can request the DER
version and use rel=up to construct their own chain.  I think it's
reasonable to use multiple rel=up links if there is more than one issuer
certificate.

A CA-provided default chain will save clients a lot of work and prevent
a lot of errors.  +1 for Jacob's change.

Regards,
Andrew


From nobody Mon Oct  3 05:00:45 2016
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 6EDD112B016 for <acme@ietfa.amsl.com>; Mon,  3 Oct 2016 05:00:44 -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 iJSDeY9FBxxH for <acme@ietfa.amsl.com>; Mon,  3 Oct 2016 05:00:39 -0700 (PDT)
Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::230]) (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 944D912B00B for <acme@ietf.org>; Mon,  3 Oct 2016 05:00:39 -0700 (PDT)
Received: by mail-ua0-x230.google.com with SMTP id n13so147777671uaa.3 for <acme@ietf.org>; Mon, 03 Oct 2016 05:00:39 -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=pbyWmRI5OKn0QSqsHy3rDeguSi8KoXHBTTiZ3KgMDcI=; b=E3dx7DHa3Rs+15sdkP2IEm9msg/vUxEaIeB7c/GyYHo4iWsacxJR2AfANevxhnQsLY m5kMF8KzM4Bm1dTz/KuwpJF9UfPEitGSoogTq0JVjUCoIiyw6P2npyzLJQu9KEEI5n2V YodfxAHE1RAFMe7c6yD86BVJjrKhKMKTB1W/2wtmqxOonhAeHfAWsdoiDk62KAAoOu1m 83QuLMgFv8sCYMzJBlOgpqaJeC43qHMoJslDRjD5Z6onKXzuaeAPRe+0b2pfg6BFTcgs 4EzhRBKPMc8Lupv9xfvvkuKCTZw6jbSOg/MPfh9u7TbTk95egNJfpfMQAKnzrkJ/WY7j 8xYw==
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=pbyWmRI5OKn0QSqsHy3rDeguSi8KoXHBTTiZ3KgMDcI=; b=T4XxMueE2+qKxyA4aEDgyMrAIcJfokAMCJHGu7PL/yb1FaK0lPWvYkhs7nPrnHPQk5 1PqznHywsxuBESPo/SmARwT/QYnekMeDsoK4u4QYjxDuTkKbkIon2eza96/R+ruaQgcg o0fPSsbSOd7O644v9GnUQfDLg2a5Gc35vyUCrB8o8BnwWe7IwQjjUqu+0y+GkWgR2nCU 9WS2Y4l0yFBzqIEZs9NXWc4DzsLtnHX0wWjtMAcF5ABEFEtCET/YNvK1wV9LYBM62OEk Un7FI7sNm0a2WpYh5lC2N+AF8Z7UF+IpWlu2mI9Oc02gPcBLpXL9ves/ie8ZmQbDYQ+M FsHQ==
X-Gm-Message-State: AA6/9Rn0DuM5XNj/qkNVVsyPxJ2uPXzIUjvGRdai16Pplk0oe4U3E9Gyj0lF08FxpZ0E+5yZPb6FX0xPos/nHQ==
X-Received: by 10.176.84.72 with SMTP id o8mr12876548uaa.128.1475496038720; Mon, 03 Oct 2016 05:00:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Mon, 3 Oct 2016 05:00:38 -0700 (PDT)
In-Reply-To: <20161002181531.9c1a894a59a936e54cbeb706@andrewayer.name>
References: <2118fd66-a775-3345-4aa7-2d849da2a82e@eff.org> <20160927051453.GB14922@andover.lhh.devever.net> <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org> <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com> <20161002181531.9c1a894a59a936e54cbeb706@andrewayer.name>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 3 Oct 2016 08:00:38 -0400
Message-ID: <CAL02cgTP+N-OU3kmxdKNE9bM+MWF_gnK629SuQo-Vv2PFUrddA@mail.gmail.com>
To: Andrew Ayer <agwa@andrewayer.name>
Content-Type: multipart/alternative; boundary=94eb2c1b0972418251053df4b131
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/lZezs03wVZTdI1ugyN6erWt-dzI>
Cc: "acme@ietf.org" <acme@ietf.org>, Hugo Landau <hlandau@devever.net>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Default to PEM with chain for certificates
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: Mon, 03 Oct 2016 12:00:44 -0000

--94eb2c1b0972418251053df4b131
Content-Type: text/plain; charset=UTF-8

I appreciate the sentiment.  It seems morally right that the PKI should be
that simple.  But in practice, it's not.  That's why the world needs tools
like Ubiquity that have full scoring algorithms:

https://godoc.org/github.com/cloudflare/cfssl/ubiquity



On Sun, Oct 2, 2016 at 9:15 PM, Andrew Ayer <agwa@andrewayer.name> wrote:

> On Sun, 2 Oct 2016 11:49:47 -0400
> Richard Barnes <rlb@ipv.sx> wrote:
>
> > This change seems to suppose that there is One True Cert Chain, and
> > the CA is the one to provide it.  Clearly neither of these is true.
>
> I disagree.  The One True Cert Chain is the shortest chain that will be
> trusted by the most platforms, weighted by the platforms' market
> shares.  Building this certificate chain is complicated and requires
> knowledge of PKI and access to every platform's trust store.  Clients
> and their implementers shouldn't be expected to have either, but the CA
> certainly has both.
>
> A small minority of people may require a different chain (e.g. they're
> willing to forgo some platforms to get a smaller TLS handshake, or they
> need a different cross-sign so they can support a platform that didn't
> make the cut for the default chain).  Those users can request the DER
> version and use rel=up to construct their own chain.  I think it's
> reasonable to use multiple rel=up links if there is more than one issuer
> certificate.
>
> A CA-provided default chain will save clients a lot of work and prevent
> a lot of errors.  +1 for Jacob's change.
>
> Regards,
> Andrew
>

--94eb2c1b0972418251053df4b131
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I appreciate the sentiment.=C2=A0 It seems morally ri=
ght that the PKI should be that simple.=C2=A0 But in practice, it&#39;s not=
.=C2=A0 That&#39;s why the world needs tools like Ubiquity that have full s=
coring algorithms:<br><br><a href=3D"https://godoc.org/github.com/cloudflar=
e/cfssl/ubiquity">https://godoc.org/github.com/cloudflare/cfssl/ubiquity</a=
><br><br></div><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Sun, Oct 2, 2016 at 9:15 PM, Andrew Ayer <span dir=3D"ltr">&lt;<=
a href=3D"mailto:agwa@andrewayer.name" target=3D"_blank">agwa@andrewayer.na=
me</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
>On Sun, 2 Oct 2016 11:49:47 -0400<br>
Richard Barnes &lt;rlb@ipv.sx&gt; wrote:<br>
<br>
&gt; This change seems to suppose that there is One True Cert Chain, and<br=
>
&gt; the CA is the one to provide it.=C2=A0 Clearly neither of these is tru=
e.<br>
<br>
</span>I disagree.=C2=A0 The One True Cert Chain is the shortest chain that=
 will be<br>
trusted by the most platforms, weighted by the platforms&#39; market<br>
shares.=C2=A0 Building this certificate chain is complicated and requires<b=
r>
knowledge of PKI and access to every platform&#39;s trust store.=C2=A0 Clie=
nts<br>
and their implementers shouldn&#39;t be expected to have either, but the CA=
<br>
certainly has both.<br>
<br>
A small minority of people may require a different chain (e.g. they&#39;re<=
br>
willing to forgo some platforms to get a smaller TLS handshake, or they<br>
need a different cross-sign so they can support a platform that didn&#39;t<=
br>
make the cut for the default chain).=C2=A0 Those users can request the DER<=
br>
version and use rel=3Dup to construct their own chain.=C2=A0 I think it&#39=
;s<br>
reasonable to use multiple rel=3Dup links if there is more than one issuer<=
br>
certificate.<br>
<br>
A CA-provided default chain will save clients a lot of work and prevent<br>
a lot of errors.=C2=A0 +1 for Jacob&#39;s change.<br>
<br>
Regards,<br>
Andrew<br>
</blockquote></div><br></div>

--94eb2c1b0972418251053df4b131--


From nobody Mon Oct  3 07:47:36 2016
Return-Path: <agwa@andrewayer.name>
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 95E6D12B314 for <acme@ietfa.amsl.com>; Mon,  3 Oct 2016 07:47:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=andrewayer.name
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 WHwUO2Svnzzo for <acme@ietfa.amsl.com>; Mon,  3 Oct 2016 07:47:33 -0700 (PDT)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [70.85.129.230]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6279312B2FC for <acme@ietf.org>; Mon,  3 Oct 2016 07:47:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=beanwood20160511; t=1475506052; bh=OcWcUevlSLIta2mL6Wi590+2rKT84iwCQs0wxbh5VP0=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=YOzzyUAQ0jaDMvRDozmCSj2wO7WFZxAjchmqOUuyFdMUTK/azYa/hX02suHs8nQzg MbtwcWmQGoipVLsTs7HNw3OBLJpzGLc21pL8q4gNgWnNAq0uxj3AZshIu1KJ/RbVT7 7vhyOPRuSkLWLfp2jb3CkmxDq3RvkajmP0w90BcuIgrckN7apLCnG76e4p7odjq0UL Wd70N3WJLnEdYvacglhAt5csnfIsv765Bi/0iw8mjB2mHwAtxCVpZnHj2A1AGwwaC3 Ft7L1Bpzxfh4WgZ9h5RfjUdl7gjqLT/pxT5KZjK6gUcsB847vzd6KEGe4NWBEpVzzv eg6UHZfpI8Dqw==
Date: Mon, 3 Oct 2016 07:47:32 -0700
From: Andrew Ayer <agwa@andrewayer.name>
To: Richard Barnes <rlb@ipv.sx>
Message-Id: <20161003074732.e728e8f8701a08939ca5d456@andrewayer.name>
In-Reply-To: <CAL02cgTP+N-OU3kmxdKNE9bM+MWF_gnK629SuQo-Vv2PFUrddA@mail.gmail.com>
References: <2118fd66-a775-3345-4aa7-2d849da2a82e@eff.org> <20160927051453.GB14922@andover.lhh.devever.net> <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org> <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com> <20161002181531.9c1a894a59a936e54cbeb706@andrewayer.name> <CAL02cgTP+N-OU3kmxdKNE9bM+MWF_gnK629SuQo-Vv2PFUrddA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/4T5uwaPMpL-D98N-qiHmJNnkeOw>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Default to PEM with chain for certificates
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: Mon, 03 Oct 2016 14:47:35 -0000

On Mon, 3 Oct 2016 08:00:38 -0400
Richard Barnes <rlb@ipv.sx> wrote:

> I appreciate the sentiment.  It seems morally right that the PKI
> should be that simple.  But in practice, it's not.  That's why the
> world needs tools like Ubiquity that have full scoring algorithms:
> 
> https://godoc.org/github.com/cloudflare/cfssl/ubiquity

Right, and it's the CA that should be integrating something like
Ubiquity in order to determine the default chain.  The CLI tool for
Ubiquity supports an option called "ubiquitous", which according to the
documentation generates "a bundle of most widely acceptance across
different browsers and OS platforms."[1]  How often do you think clients
would not want "ubiquitous"?  Enough to make every single client depend
on Ubiquity or a library of similar complexity?

Regards,
Andrew

[1] https://github.com/cloudflare/cfssl/blob/master/README.md


From nobody Tue Oct  4 01:30:37 2016
Return-Path: <yaronf.ietf@gmail.com>
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 C5D69129665 for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 01:30:36 -0700 (PDT)
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 nelcDxymRbNR for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 01:30:34 -0700 (PDT)
Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 B6A9012962C for <acme@ietf.org>; Tue,  4 Oct 2016 01:30:33 -0700 (PDT)
Received: by mail-lf0-x22b.google.com with SMTP id l131so175986892lfl.2 for <acme@ietf.org>; Tue, 04 Oct 2016 01:30:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=mTQktfIsdgRqcAgExEfNG8Mc++Tvp9O1Sd8jYYPDHw4=; b=OCNxr2WCs9JeIwwE0yCJmsGr4CmdRAKWuFJaJsRtT481VHpMvbH8kQds5dOu/PUiTU aGsiS0V1oLAh5CJS2Glp20fsDPQRtmH6QY+kgPIfHjnVYF7Mw/wg4uMxI2zES8Ch6vjF zXr9BpQv0JDc27GcfQGB6W+SVHZMlgwMf3hwnt9O/0Sc5i2ezn+vceLR+4gFKJC0JA4i xDgv/kmg7e57jRV6xM99kS9ETQCJMoznhIVR9czPsvuiREGwmOJHY6dcpqM1Y6BaEyp6 jVtqhHToIxJbuKeTPmISDsy/om6ZSjXS7p7qv1Mlyt+QpypHswLJfWmhSMrhx2NcNA0K sJeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=mTQktfIsdgRqcAgExEfNG8Mc++Tvp9O1Sd8jYYPDHw4=; b=F6NsL2mNZD8rdNvhA42xckCZdsBKmKfewgPsn/ZEeRaQ4BllDWUQ5Hb4R27mYwklZZ wdnzWpjBA03JKoLwcqTMMzKc1m5cJQB5czB+Ny6Zyk8okNseskqPLVSxA9CCmOzNZdg3 3Aa2aBdaNxyJfD2lYdGi9RQTOfGR73UNRp5AOFNPdSaN/ae1vpOQW3mwe7NNA7ZcCXKP skCOx1aX79asZjrj6ho09oWl4ocLAOpzb5jPzmjeW/s7uZRszxdrLuJ1PmHT0YcnxOVi DdeuWbozNARlB0OOOCKzoddG9KuYaHmqTxfzQD67b9Fan0dT8J20nSzDHfOWaM+oIjvE 4NNA==
X-Gm-Message-State: AA6/9RnYnB/qBUxjpIELh0aq2HMzDfJ8HjYAOaIqOJeY++TVK+39ZWolPb94Fv44E0ZOXw==
X-Received: by 10.46.32.37 with SMTP id g37mr828272ljg.70.1475569831682; Tue, 04 Oct 2016 01:30:31 -0700 (PDT)
Received: from [10.0.0.10] (bzq-109-67-151-176.red.bezeqint.net. [109.67.151.176]) by smtp.gmail.com with ESMTPSA id u68sm487110lfg.31.2016.10.04.01.30.29 for <acme@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 01:30:30 -0700 (PDT)
To: acme@ietf.org
References: <mailman.47.1475521208.5709.acme@ietf.org>
From: Yaron Sheffer <yaronf.ietf@gmail.com>
Message-ID: <bd606551-d690-833c-e2f2-648d35f8a4d2@gmail.com>
Date: Tue, 4 Oct 2016 11:30:28 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <mailman.47.1475521208.5709.acme@ietf.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/3IfsBSt7W1NVD2xCKXpad-MvyWE>
Subject: Re: [Acme] URI-based CAA account binding
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: Tue, 04 Oct 2016 08:30:37 -0000

> From: Hugo Landau <hlandau@devever.net>
> To: Richard Barnes <rlb@ipv.sx>
> Cc: acme@ietf.org
> Subject: Re: [Acme] URI-based CAA account binding
> Message-ID: <20161003002918.GA5323@andover.lhh.devever.net>
> Content-Type: text/plain; charset=iso-8859-1
>
>>    Thanks for the draft, Hugo.? In general, the idea of making CAA more
>>    precise seems like a good vein to explore, and to the dimensions of
>>    precision overlap with ACME semantics, it makes sense to do it here.
>>
>>    The other case (besides account URI) that I've heard folks talk about is
>>    allowing the domain holder to restrict what validation methods the CA
>>    should be allowed to use.? For example, you might allow DNS validation and
>>    forbid HTTP validation.? Between ACME and the new, stricter Baseline
>>    Requirements, it seems like we should be able to come up with a pretty
>>    comprehensive list of validation methods.? Is this something that would
>>    make sense to fold into this document?
>
> Alright, so here's some ideas:
>
> -  An ACME-specific 'acme-methods' parameter taking a comma-separated
>    list of methods (e.g. "acme-methods=dns-01,http-01").
>
> -  A generic "method-uri" parameter which accepts a URI representing a
>    method. For ACME this would be urn:ietf:acme:method:METHOD-NAME.
>    Multiple methods would probably be specified via multiple CAA
>    records; this would be slightly more obtuse for implementations
>    to process than the above, but nothing unreasonable.
>
> There's also the question of whether this should be in the same I-D or a
> separate one. I'm fine with putting it in, but if anyone thinks it
> should be a separate I-D, let me know.
>

I support this idea for the reasons listed here: 
https://tools.ietf.org/html/draft-sheffer-lurk-cert-delegation-00#section-4.3.

I think the first option (ACME-specific parameter) is preferred, because 
it is much better defined. I would suggest to include it in the current 
document, and with strict semantics: an ACME implementation that 
supports CAA MUST understand this parameter and MUST NOT use any method 
not listed here.

Thanks,
	Yaron


From nobody Tue Oct  4 06:11:57 2016
Return-Path: <Ray.Cheng@entrust.com>
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 DAEF412984E for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 06:11:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 KVz9_-vXwBsE for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 06:11:51 -0700 (PDT)
Received: from mx2.entrustdatacard.com (mx2.entrustdatacard.com [204.124.80.222]) by ietfa.amsl.com (Postfix) with ESMTP id 91063129848 for <acme@ietf.org>; Tue,  4 Oct 2016 06:11:51 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.31,295,1473138000";  d="scan'208";a="3050789"
Received: from pmspex04.corporate.datacard.com (HELO owa.datacard.com) ([192.168.211.51]) by pmspesa04inside.corporate.datacard.com with ESMTP/TLS/AES256-SHA; 04 Oct 2016 08:11:50 -0500
Received: from PMSPEX04.corporate.datacard.com (192.168.211.51) by PMSPEX04.corporate.datacard.com (192.168.211.51) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 4 Oct 2016 08:11:50 -0500
Received: from PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3]) by PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3%15]) with mapi id 15.00.1210.000; Tue, 4 Oct 2016 08:11:50 -0500
From: Ray Cheng <Ray.Cheng@entrust.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: Proposal for adding arbitrary CA-specific name-value pairs to registration object
Thread-Index: AdIeP7an8iLT4ky2TH+14edOnahvFw==
Date: Tue, 4 Oct 2016 13:11:50 +0000
Message-ID: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.160.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/4Fe9Wzmp32um27fP9SspoEGTlIc>
Subject: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Tue, 04 Oct 2016 13:11:56 -0000

Hello all,

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I would like to begin with a bit of background to put some context around h=
ow this ACME change proposal originated.

Entrust has released a beta ACME server to our customers that works with th=
e current certbot client. We have also began developing some knowledge of t=
he certbot code base and we intend to contribute to the certbot project in =
the future.

One of the implementation challenges we had was that we wanted to pass addi=
tional information from the certbot client to our ACME server that would be=
 associated with the registration object. Examples of this may include:
a. account number
b. name of operator running certbot

This proposal has some similarities to ACME pull request #172 (https://gith=
ub.com/ietf-wg-acme/acme/pull/172) but is intended to be generic. The hope =
is that these arbitrary name-value pairs would work with any CA in general =
without introducing very CA-specific tokens into the protocol.

What it may look like
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

One way to accomplish this in the protocol is to simply add a "ca-extension=
" object to the registration object, where the "ca-extension" object is an =
array of name-value pairs of strings. For example:

{
  "protected": base64url({
   "alg": "ES256",
   "jwk": {...},
   "nonce": "6S8IqOGY7eL2lsGoTZYifg",
   "url": "https://example.com/acme/new-reg"
  })
  "payload": base64url({
   "contact": [
     "mailto:cert-admin@example.com",
     "tel:+12025551212"
   ],
   "ca-extension": [
     "<ca-ext-name-1>": "<ca-ext-value-1>",
     "<ca-ext-name-2>": "<ca-ext-value-2>"
   ]
  }),
  "signature": "RZPOnYoPs1PhjszF...-nh6X1qtOFPB519I"
}

CA's should ignore any <ca-ext-name> in the ca-extension that it does not u=
nderstand.


Regards,


Ray Cheng
Entrust Datacard


From nobody Tue Oct  4 07:44:31 2016
Return-Path: <hlandau@devever.net>
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 DB5831298A3 for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 07:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.997
X-Spam-Level: 
X-Spam-Status: No, score=-4.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 rNeh3FKJ_R6F for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 07:44:29 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 102C4129555 for <acme@ietf.org>; Tue,  4 Oct 2016 07:44:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id A16901CFAF; Tue,  4 Oct 2016 16:44:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mimas; t=1475592266; x=1493781627; bh=dxz1XODPpOWU79EtXRFyavUmc1yek+SyJmFb73QEQ4Q=; b= kSTi6Hng1KEWW/k35Wgvei62Rtl0ZrAOTfHTjkxKEB8Q4IOvKkJm0SYAj4PUPeWK oVemN8wLzIJcNyKWZxnpz8XsuKvB2kHY/FzkQQumEohnMLoNrlNcWIdA0yBEygyn Jk1rZ6v3vxkY25kXUwRNEwmTf1rmgT94+ijIfOPlBMd1KhT+wNETDknj024Bg25t vjkynDdEowUuna+unMjKZ5mPqm4wO8tdioDWuKInvXPgw3NF+mW25Gx/2f1ld624 MXpzpFt4Pj/Hb+Z3V7QJj3ue/aIzsPU1lVsqTcDpujmdE/6r1nGnF7DERvhTaUO3 2hztZUm4KceUOfofr300TA==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id qjSR-D6-apc6; Tue,  4 Oct 2016 16:44:26 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 660E81CFAD; Tue,  4 Oct 2016 16:44:26 +0200 (CEST)
Date: Tue, 4 Oct 2016 15:44:26 +0100
From: Hugo Landau <hlandau@devever.net>
To: Ray Cheng <Ray.Cheng@entrust.com>
Message-ID: <20161004144426.GA21527@andover.lhh.devever.net>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
User-Agent: Mutt/1.7.0 (2016-08-17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/gwUWynFa_Hv7rkedG9QfuOBMU6g>
Cc: acme@ietf.org
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Tue, 04 Oct 2016 14:44:31 -0000

> One way to accomplish this in the protocol is to simply add a "ca-extension" object to the registration object, where the "ca-extension" object is an array of name-value pairs of strings. For example:
> 
> {
>   "protected": base64url({
>    "alg": "ES256",
>    "jwk": {...},
>    "nonce": "6S8IqOGY7eL2lsGoTZYifg",
>    "url": "https://example.com/acme/new-reg"
>   })
>   "payload": base64url({
>    "contact": [
>      "mailto:cert-admin@example.com",
>      "tel:+12025551212"
>    ],
>    "ca-extension": [
>      "<ca-ext-name-1>": "<ca-ext-value-1>",
>      "<ca-ext-name-2>": "<ca-ext-value-2>"
>    ]
>   }),
>   "signature": "RZPOnYoPs1PhjszF...-nh6X1qtOFPB519I"
> }
Surely vendorized keys would be better:

    {
      "com.example.blorpNo": "BLORP122946"
    }


From nobody Tue Oct  4 10:46:53 2016
Return-Path: <Ray.Cheng@entrust.com>
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 4985A1293F4 for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 10:46:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 SNnHVJ_FZefT for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 10:46:50 -0700 (PDT)
Received: from mx2.entrustdatacard.com (mx2.entrustdatacard.com [204.124.80.222]) by ietfa.amsl.com (Postfix) with ESMTP id 51FA6129418 for <acme@ietf.org>; Tue,  4 Oct 2016 10:46:41 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.31,444,1473138000";  d="scan'208";a="3066701"
Received: from pmspex02.corporate.datacard.com (HELO owa.datacard.com) ([192.168.211.30]) by pmspesa04inside.corporate.datacard.com with ESMTP/TLS/AES256-GCM-SHA384; 04 Oct 2016 12:46:25 -0500
Received: from PMSPEX04.corporate.datacard.com (192.168.211.51) by pmspex02.corporate.datacard.com (192.168.211.30) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 4 Oct 2016 12:44:56 -0500
Received: from PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3]) by PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3%15]) with mapi id 15.00.1210.000; Tue, 4 Oct 2016 12:44:56 -0500
From: Ray Cheng <Ray.Cheng@entrust.com>
To: Hugo Landau <hlandau@devever.net>
Thread-Topic: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
Thread-Index: AdIeP7an8iLT4ky2TH+14edOnahvFwAN//oAAARZVRA=
Date: Tue, 4 Oct 2016 17:44:56 +0000
Message-ID: <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <20161004144426.GA21527@andover.lhh.devever.net>
In-Reply-To: <20161004144426.GA21527@andover.lhh.devever.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.160.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/_LY8SDbbO434NgennXE0VpxbpYU>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Tue, 04 Oct 2016 17:46:52 -0000

> Surely vendorized keys would be better:
>=20
>     {
>       "com.example.blorpNo": "BLORP122946"
>     }

Can you provide a bit more details on what you mean by "vendorized keys" an=
d how it differs from the arbitrary name-value pairs in the proposal?

It seems the above can be represented as:
   "ca-extension": [
       "com.example.blorpNo": "BLORP122946"
   ]


From nobody Tue Oct  4 17:04:39 2016
Return-Path: <roland@letsencrypt.org>
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 66F09129457 for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 17:04:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=letsencrypt.org
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 xaFzsIZC_Lun for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 17:04:36 -0700 (PDT)
Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (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 44441129413 for <acme@ietf.org>; Tue,  4 Oct 2016 17:04:36 -0700 (PDT)
Received: by mail-pa0-x236.google.com with SMTP id ik13so24717124pac.2 for <acme@ietf.org>; Tue, 04 Oct 2016 17:04:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=letsencrypt.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=1q6ME3zbnuN+Dj3dkf8taGbxwN0DLJSr0o3DbbE6yMQ=; b=BX3nmIaCOcYJSiZN6O4lVfZWYsU+oOVwwNjgPV7kVEQo6VrviGERIBrxuIkN2nvWla hBBRQS75CElkkDa/FPRDmG/3cs7te7uj3DeJ+lwGxQUOzqs81O7tLzpvTtSgYgiYajW/ k6aSoAWqZUpzF7foeCkxyYCGA8sYesofo6OxQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1q6ME3zbnuN+Dj3dkf8taGbxwN0DLJSr0o3DbbE6yMQ=; b=EnJbzwA8zuH7onDe02tb15vuRzZo/8JlnrNjXumiwYL1JnOoPCWZMGtSeXfUTf+tnP Hjgv6aSAXvtl4BFFBb2Xw1vc8MjoPV2J/Bq2h+WreNMPKvT1wLXy4TXA4YnP5TSLF2fN XdnmBSrNh50EtJl1xD54s3rsmnmd9IJXJ21d4EdnUszZ9cbGitdeoDVyjenZPrZxCoke knmduF5hmYzAJBZ0inw1Ql8wMnCsSsJL6vK8qu0/oGQJX6tfF0VVJoGqKoUSmJJK/XnL oczEXVN74ticpeNkbBmVzrEIEiDMBpQJ8vEnYH7TB0XEwpnsGuWcNaF6g8lD+5kAIhmC b6fw==
X-Gm-Message-State: AA6/9Rkqd9hsY/T4jij6M30xkz+GbNYwegbkBQmLHJSMFlDcYGLcBerPkR9gQBHyfa6A2SgY
X-Received: by 10.66.160.41 with SMTP id xh9mr9039120pab.92.1475625875321; Tue, 04 Oct 2016 17:04:35 -0700 (PDT)
Received: from [192.168.1.74] (50-0-146-254.dsl.dynamic.fusionbroadband.com. [50.0.146.254]) by smtp.gmail.com with ESMTPSA id s82sm57867950pfg.42.2016.10.04.17.04.33 for <acme@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 17:04:34 -0700 (PDT)
To: acme@ietf.org
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
From: Roland Bracewell Shoemaker <roland@letsencrypt.org>
Message-ID: <4f4b30bc-104e-207d-1658-0f2378d6213c@letsencrypt.org>
Date: Tue, 4 Oct 2016 17:04:32 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/_sbwgJpBTrrNgTtJYqe4dhSEo7s>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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, 05 Oct 2016 00:04:38 -0000

Do people think there is a need for some concept of extension
criticality? Allowing servers to happily ignore certain extensions feels
like it'll lead to some not great client implementations in the long term.

On 10/04/2016 06:11 AM, Ray Cheng wrote:
> Hello all,
> 
> Background
> ==========
> 
> I would like to begin with a bit of background to put some context around how this ACME change proposal originated.
> 
> Entrust has released a beta ACME server to our customers that works with the current certbot client. We have also began developing some knowledge of the certbot code base and we intend to contribute to the certbot project in the future.
> 
> One of the implementation challenges we had was that we wanted to pass additional information from the certbot client to our ACME server that would be associated with the registration object. Examples of this may include:
> a. account number
> b. name of operator running certbot
> 
> This proposal has some similarities to ACME pull request #172 (https://github.com/ietf-wg-acme/acme/pull/172) but is intended to be generic. The hope is that these arbitrary name-value pairs would work with any CA in general without introducing very CA-specific tokens into the protocol.
> 
> What it may look like
> =====================
> 
> One way to accomplish this in the protocol is to simply add a "ca-extension" object to the registration object, where the "ca-extension" object is an array of name-value pairs of strings. For example:
> 
> {
>   "protected": base64url({
>    "alg": "ES256",
>    "jwk": {...},
>    "nonce": "6S8IqOGY7eL2lsGoTZYifg",
>    "url": "https://example.com/acme/new-reg"
>   })
>   "payload": base64url({
>    "contact": [
>      "mailto:cert-admin@example.com",
>      "tel:+12025551212"
>    ],
>    "ca-extension": [
>      "<ca-ext-name-1>": "<ca-ext-value-1>",
>      "<ca-ext-name-2>": "<ca-ext-value-2>"
>    ]
>   }),
>   "signature": "RZPOnYoPs1PhjszF...-nh6X1qtOFPB519I"
> }
> 
> CA's should ignore any <ca-ext-name> in the ca-extension that it does not understand.
> 
> 
> Regards,
> 
> 
> Ray Cheng
> Entrust Datacard
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
> 


From nobody Tue Oct  4 18:22:50 2016
Return-Path: <martin.thomson@gmail.com>
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 7F16F129421 for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 18:22:49 -0700 (PDT)
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 kIW8xagci3ng for <acme@ietfa.amsl.com>; Tue,  4 Oct 2016 18:22:48 -0700 (PDT)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::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 BE3FD129444 for <acme@ietf.org>; Tue,  4 Oct 2016 18:22:47 -0700 (PDT)
Received: by mail-qk0-x234.google.com with SMTP id j129so199235457qkd.1 for <acme@ietf.org>; Tue, 04 Oct 2016 18:22:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6d+sPyjdRfJkFlDYh6L0+yMXJRyMxP/EO7xDmojRy9o=; b=ZBdfZIJt7nLH0DP0/o51MgAitX7cRHrr0JnwEfq/bn3ZyuKjJQRQOUBKrt2k4FMV/9 Il1/8XhCUk1DqZEfTaq/twnPUHa3JahuynXF7I+tp3gd6sou8+82HIG0r8w9EvjJA4Oa OLu2B5191J5D3TyUEdGHOiKmW6F5+MYW73o9Zn1RoNBOHtX95XRJZmTx6Po/bNef+cDa kY85mt8PcDnwzLzm/j4KzA4vlIn+OxtEPZAAhJbvtV09NVpKPjYNxmMZa0HrbU2Zv+qZ H4AQERaNf75dA/tj6v2xUnk0jkBxUfTuNThw1t4vIi+ECiuQgC6gFCyz0BQpZuGgka6/ 096w==
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=6d+sPyjdRfJkFlDYh6L0+yMXJRyMxP/EO7xDmojRy9o=; b=RNZhJN8WuXdAxfq6BtDJPJxH0mS2cofjzO4tGpl0XzYBfF2TtcS2Im5SA6/QgCZsFT OyzKD9e1OIKKwO9YTf+pHKj/vX2ZNO8oamad7QkQI2pOpE3KDVEL92x6YYB+k1t+hPAc JA1RydPyJkThqvtTiXZTF3kG+dKsb/JXihNWDVb2H+qzl25eQ3ni0sfDO177zEDOKzJV NQ6QEv7LsHpfvJGbyYuowNs5oOyT3GBbcWWHykx8dBEDmNP6sD1wpt1U5tX/bdXRe7Eb kzpzXOpn1yelLnjroq407Yd3ZzqzE6IMaOXotOOzh+vkjfYUEPPfKcoAhwOeRGt9Nlbl Ti7A==
X-Gm-Message-State: AA6/9RmYWiq4MQee5QoRRcdNqo26s44juU8rWGvk5BRjTj91PeNgq5Snb4PYIC1MsMgIaJXlse+EOzyYhTEJww==
X-Received: by 10.55.64.21 with SMTP id n21mr5920940qka.137.1475630566962; Tue, 04 Oct 2016 18:22:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.146 with HTTP; Tue, 4 Oct 2016 18:22:46 -0700 (PDT)
In-Reply-To: <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <20161004144426.GA21527@andover.lhh.devever.net> <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 5 Oct 2016 12:22:46 +1100
Message-ID: <CABkgnnVNo_Uuvfcxbr4H5_AoVao73rdVqG+xpbnCwMXxVjQXVw@mail.gmail.com>
To: Ray Cheng <Ray.Cheng@entrust.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/rmRaoEzb4eJNTzVeTQP7jTpYVLY>
Cc: "acme@ietf.org" <acme@ietf.org>, Hugo Landau <hlandau@devever.net>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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, 05 Oct 2016 01:22:49 -0000

Now is probably a good time to acknowledge RFC 6648.  In short, if
entrust see value in having an account number, then you should just
add a field "account" and be done with it, otherwise you end up with
prefix-regret.  As for operator, maybe "operator": { "name": "Me",
"email": "dont@email.me" }.

On 5 October 2016 at 04:44, Ray Cheng <Ray.Cheng@entrust.com> wrote:
>> Surely vendorized keys would be better:
>>
>>     {
>>       "com.example.blorpNo": "BLORP122946"
>>     }
>
> Can you provide a bit more details on what you mean by "vendorized keys" and how it differs from the arbitrary name-value pairs in the proposal?
>
> It seems the above can be represented as:
>    "ca-extension": [
>        "com.example.blorpNo": "BLORP122946"
>    ]
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme


From nobody Thu Oct  6 12:26:25 2016
Return-Path: <Ray.Cheng@entrust.com>
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 3E7C712941C for <acme@ietfa.amsl.com>; Thu,  6 Oct 2016 12:26:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 2b8gHZkHUpG7 for <acme@ietfa.amsl.com>; Thu,  6 Oct 2016 12:26:22 -0700 (PDT)
Received: from mx2.entrustdatacard.com (mx2.entrustdatacard.com [204.124.80.222]) by ietfa.amsl.com (Postfix) with ESMTP id 8441612940F for <acme@ietf.org>; Thu,  6 Oct 2016 12:26:22 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.31,454,1473138000";  d="scan'208";a="3151580"
Received: from pmspex03.corporate.datacard.com (HELO owa.datacard.com) ([192.168.211.50]) by pmspesa04inside.corporate.datacard.com with ESMTP/TLS/AES256-SHA; 06 Oct 2016 14:26:21 -0500
Received: from PMSPEX04.corporate.datacard.com (192.168.211.51) by PMSPEX03.corporate.datacard.com (192.168.211.50) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 6 Oct 2016 14:26:21 -0500
Received: from PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3]) by PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3%15]) with mapi id 15.00.1210.000; Thu, 6 Oct 2016 14:26:21 -0500
From: Ray Cheng <Ray.Cheng@entrust.com>
To: Martin Thomson <martin.thomson@gmail.com>
Thread-Topic: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
Thread-Index: AdIeP7an8iLT4ky2TH+14edOnahvFwAN//oAAARZVRAAEfHQAABMBWUg
Date: Thu, 6 Oct 2016 19:26:21 +0000
Message-ID: <0a7dd253f9eb4771b09e5fd0f03386dc@PMSPEX04.corporate.datacard.com>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <20161004144426.GA21527@andover.lhh.devever.net> <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com> <CABkgnnVNo_Uuvfcxbr4H5_AoVao73rdVqG+xpbnCwMXxVjQXVw@mail.gmail.com>
In-Reply-To: <CABkgnnVNo_Uuvfcxbr4H5_AoVao73rdVqG+xpbnCwMXxVjQXVw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.160.10]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/dDwDsJCwsnvKNK44SAc0ifFa-X0>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Thu, 06 Oct 2016 19:26:24 -0000

UkZDIDY2NDggZG9lcyBicmluZyB1cCBzb21lIGludGVyZXN0aW5nIHBvaW50cy4gSSBjYW4gYXBw
cmVjaWF0ZSBob3cgcHJvYmxlbXMgZXZvbHZlZCB3aXRoIHRoZSBIVFRQIGFuZCBtYWlsICJYLSIg
aGVhZGVycyB0aGF0IG1heSBwYXNzIHRocm91Z2ggbXVsdGlwbGUgdmVuZG9yIHByb2R1Y3RzIChi
b3RoIGNsaWVudCBhbmQgc2VydmVyKS4NCg0KSSBzZWUgdGhlIHByb3Bvc2VkICJjYS1leHRlbnNp
b24iIGluIHRoZSByZWdpc3RyYXRpb24gb2JqZWN0IG1vcmUgYXMgYSBwbGFjZSB0byBob2xkIGNv
bnRlbnQgdGhhdCBhIHBhcnRpY3VsYXIgQ0EgcmVxdWlyZXMgZm9yIGl0cyB3b3JrZmxvdy4gSXQg
aXMgdXAgdG8gdGhlIENBIHRvIGRpc3RyaWJ1dGUgdG8gYSBjbGllbnQgd2hhdCBleHRyYSBpbmZv
IGlzIHJlcXVpcmVkLg0KDQpJZiBhIGNsaWVudCBkb2VzIG5vdCBzZW5kIHRoZSBsaXN0IG9mIGtl
eS12YWx1ZSBwYWlycyB0aGF0IGEgQ0EgcmVxdWlyZXMsIGl0IGRvZXMgbm90IG1lYW4gdGhhdCB0
aGUgQUNNRSBjbGllbnQgZG9lcyBub3QgaW50ZXJvcGVyYXRlIHdpdGggdGhhdCBBQ01FIHNlcnZl
ciBhdCBhIHByb3RvY29sIGxldmVsLiBJdCBqdXN0IG1lYW5zIHRoYXQgdGhlIGNsaWVudCBuZWVk
cyB0byAiZmlsbCBvdXQgdGhlIGZvcm0iIHRoYXQgdGhlIENBIHJlcXVpcmVzLg0KDQpVc2luZyBj
ZXJ0Ym90IGFzIGFuIGV4YW1wbGUsIHBvc3NpYmxlIGltcGxlbWVudGF0aW9ucyBtYXkgaW5jbHVk
ZToNCg0KMS4gQSBuZXcgIi0tcmVnLWNhLWV4dCA8a2V5Pj08dmFsdWU+IiBwYXJhbWV0ZXINClRo
aXMgcGFyYW1ldGVyIHdvdWxkIHRha2UgdGhlIDxrZXk+IGFuZCA8dmFsdWU+IHB1dCBpbiBpbnRv
IHRoZSAiY2EtZXh0ZW5zaW9uIiBvYmplY3QuIFlvdSBjYW4gc3BlY2lmeSBtdWx0aXBsZSBrZXkt
dmFsdWUgcGFpcnMgYnkgc3BlY2lmeWluZyBtdWx0aXBsZSAiLS1yZWctY2EtZXh0IDxrZXk+PTx2
YWx1ZT4iIHBhcmFtZXRlcnMNCjIuIEEgbmV3ICLigJMtcmVnLWNhLWV4dC1maWxlIiA8cHJvcGVy
dHktc3R5bGUgZmlsZSB3aXRoIGEgbGlzdCBvZiBhdHRyaWJ1dGVzPiBwYXJhbWV0ZXINCg0KQWRk
aW5nIGV4cGxpY2l0IGVsZW1lbnRzIGxpa2UgImFjY291bnQiIGFuZCAib3BlcmF0b3IiIGNhbiBh
bHNvIHNvbHZlIHRoZSBwcm9ibGVtIGZvciBub3cuIENBJ3Mgbm90IHJlcXVpcmluZyB0aGVzZSBl
bGVtZW50cyB3b3VsZCBzaW1wbHkgaWdub3JlIHRoZW0uIEhvd2V2ZXIsIGxldCdzIHN1cHBvc2Ug
NiBtb250aHMgZnJvbSBub3cgdGhhdCB3ZSwgb3IgYW5vdGhlciBDQSwgZGlzY292ZXJzIHdlIG5l
ZWQgdG8gY29sbGVjdCBhbm90aGVyIGFkZGl0aW9uYWwgcGllY2Ugb2YgcmVnaXN0cmF0aW9uIGRh
dGEuIFRoZSAiY2EtZXh0ZW5zaW9uIiBvYmplY3Qgd291bGQgYWxsb3cgdXMgdG8gZG8gdGhpcyB3
aXRob3V0IGNoYW5naW5nIHRoZSBjbGllbnQgb3IgdGhlIHByb3RvY29sLg0KDQoNCj4gLS0tLS1P
cmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWFydGluIFRob21zb24gW21haWx0bzptYXJ0
aW4udGhvbXNvbkBnbWFpbC5jb21dDQo+IFNlbnQ6IFR1ZXNkYXksIE9jdG9iZXIgMDQsIDIwMTYg
OToyMyBQTQ0KPiBUbzogUmF5IENoZW5nIDxSYXkuQ2hlbmdAZW50cnVzdC5jb20+DQo+IENjOiBI
dWdvIExhbmRhdSA8aGxhbmRhdUBkZXZldmVyLm5ldD47IGFjbWVAaWV0Zi5vcmcNCj4gU3ViamVj
dDogUmU6IFtBY21lXSBQcm9wb3NhbCBmb3IgYWRkaW5nIGFyYml0cmFyeSBDQS1zcGVjaWZpYyBu
YW1lLXZhbHVlDQo+IHBhaXJzIHRvIHJlZ2lzdHJhdGlvbiBvYmplY3QNCj4gDQo+IE5vdyBpcyBw
cm9iYWJseSBhIGdvb2QgdGltZSB0byBhY2tub3dsZWRnZSBSRkMgNjY0OC4gIEluIHNob3J0LCBp
ZiBlbnRydXN0DQo+IHNlZSB2YWx1ZSBpbiBoYXZpbmcgYW4gYWNjb3VudCBudW1iZXIsIHRoZW4g
eW91IHNob3VsZCBqdXN0IGFkZCBhIGZpZWxkDQo+ICJhY2NvdW50IiBhbmQgYmUgZG9uZSB3aXRo
IGl0LCBvdGhlcndpc2UgeW91IGVuZCB1cCB3aXRoIHByZWZpeC1yZWdyZXQuDQo+IEFzIGZvciBv
cGVyYXRvciwgbWF5YmUgIm9wZXJhdG9yIjogeyAibmFtZSI6ICJNZSIsDQo+ICJlbWFpbCI6ICJk
b250QGVtYWlsLm1lIiB9Lg0KPiANCj4gT24gNSBPY3RvYmVyIDIwMTYgYXQgMDQ6NDQsIFJheSBD
aGVuZyA8UmF5LkNoZW5nQGVudHJ1c3QuY29tPiB3cm90ZToNCj4gPj4gU3VyZWx5IHZlbmRvcml6
ZWQga2V5cyB3b3VsZCBiZSBiZXR0ZXI6DQo+ID4+DQo+ID4+ICAgICB7DQo+ID4+ICAgICAgICJj
b20uZXhhbXBsZS5ibG9ycE5vIjogIkJMT1JQMTIyOTQ2Ig0KPiA+PiAgICAgfQ0KPiA+DQo+ID4g
Q2FuIHlvdSBwcm92aWRlIGEgYml0IG1vcmUgZGV0YWlscyBvbiB3aGF0IHlvdSBtZWFuIGJ5ICJ2
ZW5kb3JpemVkIGtleXMiDQo+IGFuZCBob3cgaXQgZGlmZmVycyBmcm9tIHRoZSBhcmJpdHJhcnkg
bmFtZS12YWx1ZSBwYWlycyBpbiB0aGUgcHJvcG9zYWw/DQo+ID4NCj4gPiBJdCBzZWVtcyB0aGUg
YWJvdmUgY2FuIGJlIHJlcHJlc2VudGVkIGFzOg0KPiA+ICAgICJjYS1leHRlbnNpb24iOiBbDQo+
ID4gICAgICAgICJjb20uZXhhbXBsZS5ibG9ycE5vIjogIkJMT1JQMTIyOTQ2Ig0KPiA+ICAgIF0N
Cj4gPg0KPiA+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
DQo+ID4gQWNtZSBtYWlsaW5nIGxpc3QNCj4gPiBBY21lQGlldGYub3JnDQo+ID4gaHR0cHM6Ly93
d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9hY21lDQo=


From nobody Sun Oct  9 19:43:12 2016
Return-Path: <ron@debian.org>
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 0082312945E for <acme@ietfa.amsl.com>; Sun,  9 Oct 2016 19:43:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level: 
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
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 YeJrYcXa8BRN for <acme@ietfa.amsl.com>; Sun,  9 Oct 2016 19:43:08 -0700 (PDT)
Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by ietfa.amsl.com (Postfix) with ESMTP id 289D6126D74 for <acme@ietf.org>; Sun,  9 Oct 2016 19:43:07 -0700 (PDT)
Received: from ppp118-210-96-210.lns20.adl2.internode.on.net (HELO mailservice.shelbyville.oz) ([118.210.96.210]) by ipmail04.adl6.internode.on.net with ESMTP; 10 Oct 2016 13:13:06 +1030
Received: from localhost (localhost [127.0.0.1]) by mailservice.shelbyville.oz (Postfix) with ESMTP id 39C54FFD45; Mon, 10 Oct 2016 13:13:05 +1030 (ACDT)
X-Virus-Scanned: Debian amavisd-new at mailservice.shelbyville.oz
Received: from mailservice.shelbyville.oz ([127.0.0.1]) by localhost (mailservice.shelbyville.oz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zWSnuF5MguNA; Mon, 10 Oct 2016 13:13:04 +1030 (ACDT)
Received: from hex.shelbyville.oz (hex.shelbyville.oz [192.168.1.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailservice.shelbyville.oz (Postfix) with ESMTPS id AE2DFFF9B5; Mon, 10 Oct 2016 13:13:04 +1030 (ACDT)
Received: by hex.shelbyville.oz (Postfix, from userid 1000) id 9D1A980473; Mon, 10 Oct 2016 13:13:04 +1030 (ACDT)
Date: Mon, 10 Oct 2016 13:13:04 +1030
From: Ron <ron@debian.org>
To: Ray Cheng <Ray.Cheng@entrust.com>
Message-ID: <20161010024304.GG3269@hex.shelbyville.oz>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <20161004144426.GA21527@andover.lhh.devever.net> <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com> <CABkgnnVNo_Uuvfcxbr4H5_AoVao73rdVqG+xpbnCwMXxVjQXVw@mail.gmail.com> <0a7dd253f9eb4771b09e5fd0f03386dc@PMSPEX04.corporate.datacard.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0a7dd253f9eb4771b09e5fd0f03386dc@PMSPEX04.corporate.datacard.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/zzXf-nM4xQkXkiK1GS8GQqqugOk>
Cc: "acme@ietf.org" <acme@ietf.org>, Martin Thomson <martin.thomson@gmail.com>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Mon, 10 Oct 2016 02:43:11 -0000

On Thu, Oct 06, 2016 at 07:26:21PM +0000, Ray Cheng wrote:
> RFC 6648 does bring up some interesting points. I can appreciate how
> problems evolved with the HTTP and mail "X-" headers that may pass
> through multiple vendor products (both client and server).
> 
> I see the proposed "ca-extension" in the registration object more as a
> place to hold content that a particular CA requires for its workflow.
> It is up to the CA to distribute to a client what extra info is
> required.

Isn't the whole point of going through this work here (as opposed to
just having each CA invent its own thing), to provide a way for all
of the interested stakeholders to come up with a single interoperable
standard which they think will work for all of them?

So that other people can implement clients to the documented spec,
which will work with any CA that implements that spec.

I think that if your due diligence on this has shown that you'll need
things which aren't already in the spec, then we should talk about
those and add them in an organised and openly thought through way.

If you don't know what they are yet, I think the right answer is that
you should go away and think about that until you do know - not that
we should add a way to create random incompatible extensions that
still call themselves "compatible" with this protocol.


> If a client does not send the list of key-value pairs that a CA
> requires, it does not mean that the ACME client does not interoperate
> with that ACME server at a protocol level.

That's kind of exactly what that means.  Sort of by definition.

> It just means that the client needs to "fill out the form" that the
> CA requires.

Which means they are only "compatible" in the sense that "They both
use JSON".  That's not a very useful definition of "interoperable".


> Adding explicit elements like "account" and "operator" can also solve
> the problem for now. CA's not requiring these elements would simply
> ignore them. However, let's suppose 6 months from now that we, or
> another CA, discovers we need to collect another additional piece of
> registration data. The "ca-extension" object would allow us to do this
> without changing the client or the protocol.

How can you do this without changing the client, if existing clients
won't send the extra fields you've decided to require?

And if you do that, then you *have* changed the protocol.  You've just
done it without having to consult with anyone else, or without even
having to document the incompatible change you made to it.  Which is
like the opposite of interoperable.

I don't think that's a good plan.  If you want to implement proprietary
extensions that only your own client knows or supports, nothing is
stopping you from doing that.  But I think it's harmful to the idea of
ACME as an interoperable spec for you to pretend that is ACME.


If you do later realise there is something missing that is critical
to proper operation (or necessary because of some rule change at the
CABF etc.), then there's no reason people can't bring that back here
and propose that we need a revision to ACME to handle that case.

If that discourages people from adding them on a whim, with very
little thought or peer review, that's probably a Good Thing too.


If you have a real need now for extra fields, we should talk about
those explicitly, and not about adding a way for you to add them
at any time, for any reason, without ever talking to anyone else
about them.

I think your feedback here as a potential server implementor is
potentially very valuable - but that will be wasted if we just 
turn this spec into "anyone can implement their own random list
of required JSON key value pairs and call that ACME compatible",
and you don't talk openly about what extra things you think really
are necessary to make this work achieve its chartered goals.

  Ron



From nobody Mon Oct 10 18:44:16 2016
Return-Path: <stpeter@stpeter.im>
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 5A8801297C2 for <acme@ietfa.amsl.com>; Mon, 10 Oct 2016 18:44:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.898
X-Spam-Level: 
X-Spam-Status: No, score=-4.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 q-n-KOADqi18 for <acme@ietfa.amsl.com>; Mon, 10 Oct 2016 18:44:14 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id 2A3EE12943F for <acme@ietf.org>; Mon, 10 Oct 2016 18:44:14 -0700 (PDT)
Received: from aither.local (unknown [76.25.4.24]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 6405E40325; Mon, 10 Oct 2016 19:46:52 -0600 (MDT)
To: acme@ietf.org
From: Peter Saint-Andre <stpeter@stpeter.im>
Message-ID: <93f0fb34-6429-2a35-e461-d145fd6c81d3@stpeter.im>
Date: Mon, 10 Oct 2016 19:44:12 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/P1tFC0iEYUQ6YOiFqXKuXYYPc_Q>
Subject: [Acme] issuance to eTLDs
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: Tue, 11 Oct 2016 01:44:15 -0000

Section 9.5 of draft-ietf-acme-acme-03 suggests that a CA might check 
whether an identifier is an eTLD (i.e., is on the Public Suffix List). 
What is the intended outcome of the checks described in this section? Is 
it that the CA not issue a certificate to the applicant, or do so only 
after completing additional and perhaps manual (albeit currently 
unspecified) verification steps?

Peter


From nobody Mon Oct 10 18:54:34 2016
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 A90E31297BA for <acme@ietfa.amsl.com>; Mon, 10 Oct 2016 18:54:32 -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] 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 kV2Ci0MZkns0 for <acme@ietfa.amsl.com>; Mon, 10 Oct 2016 18:54:30 -0700 (PDT)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 ABE4F129408 for <acme@ietf.org>; Mon, 10 Oct 2016 18:54:30 -0700 (PDT)
Received: by mail-vk0-x229.google.com with SMTP id 192so6424506vkl.2 for <acme@ietf.org>; Mon, 10 Oct 2016 18:54:30 -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=fflUSEF7+sIqW+J26oBOwSCX6TZ2b6jh9MzNvWZuB6I=; b=r/P/wEifXqu2o61TXWHgpG1qwsQE7FiQduzqBgmwds9XH216DXoGFJ190Y18eAYEtB 200mZ6FbUw56igTbOLZ7avs6K2+FjCuzFHMqQDwsMHpBfVzkAOzSu2tyvZrX6enBRqSO Sy1lxBTSFa6bQgQhA8qruMBnCGzpUughS9T2IH5OUfavJ6S4TLOgDPvHxTx+u044a2JF ap1MbRqsEe+GyDnm0T6/Q/QR/Ey+hMIjH5WP0//d3sJ+LRmNKkAlZcBIBMyCIUOyKXTG 11GuPh4/Yp7D590IARN5G3TU2fvxWz5Tv6+YW8hVcigEQ0YuQERmn7LwAkWLGnaqhese fSqA==
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=fflUSEF7+sIqW+J26oBOwSCX6TZ2b6jh9MzNvWZuB6I=; b=SZzqvWMFSDCSmUnQBlBjxMV3mbGd7cvjst9O84MqJMzRcPwvdSlie0mXAmkacrH0Co gH24ALZdBxu8C6flzRhGSda28Tq/Oc0NQHKNigsHgt4+nBV9qyviaPuCIuZ60z1c6mDg LAe3G1QelPAylvWm2LdbpcgX3wl/UM6zJW98NxQboxBokAcmjMFn6Nz5hBb/Hb50F5t+ PCqa9bA5Ga/ChRTgigjImaR+pjCDMujJJ8Q4vU60RRPmDJYVo+RvU40cy9FEy3m02p5o byPjSHFHHQkID8JUkoMVJTVpIYDjrWCW7qRZpFo7/GA6fT12JsIdlhqaw9NK5icA08BE EpVw==
X-Gm-Message-State: AA6/9RmKmrZpdZKc+MFxnaTAdLkLkbJ3AfEYZikk8/+oFLHrfJjFNxAzGA/RKJ6uA4g7o2Qxucb9BUmAMTcSRQ==
X-Received: by 10.31.181.142 with SMTP id e136mr1028924vkf.45.1476150869585; Mon, 10 Oct 2016 18:54:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.53.133 with HTTP; Mon, 10 Oct 2016 18:54:29 -0700 (PDT)
In-Reply-To: <93f0fb34-6429-2a35-e461-d145fd6c81d3@stpeter.im>
References: <93f0fb34-6429-2a35-e461-d145fd6c81d3@stpeter.im>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 10 Oct 2016 21:54:29 -0400
Message-ID: <CAL02cgR6D04vnRPKM2=WQZDaNosa3OAquAU5YO6nJyV2_PwO2w@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: multipart/alternative; boundary=001a11439d683784fc053e8d288b
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/k6XMlnJaUNdzi-UXAID9IMkYvpc>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] issuance to eTLDs
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: Tue, 11 Oct 2016 01:54:33 -0000

--001a11439d683784fc053e8d288b
Content-Type: text/plain; charset=UTF-8

Ultimately, it's up to the CA to decide what names it's willing to issue
for.  (There are other controls on those decisions, such as the CABF
Baseline Requirements [1].)  Typically, CAs refuse to issue for names on
the PSL, or at least have big procedural fences around such issuance.  But
if a CA clears all the policy gates to issue for an eTLD (say one of those
ccTLDs with an A record), then they can do so.

In any case, this is not something about which the spec can be normative.
The only reason it's in there at all is that it's one of the common checks
that CAs do, so it made sense to have as an example.

--Richard

[1] See the definition of Base Domain Name in
https://github.com/cabforum/documents/blob/master/docs/BR.md

On Mon, Oct 10, 2016 at 9:44 PM, Peter Saint-Andre <stpeter@stpeter.im>
wrote:

> Section 9.5 of draft-ietf-acme-acme-03 suggests that a CA might check
> whether an identifier is an eTLD (i.e., is on the Public Suffix List). What
> is the intended outcome of the checks described in this section? Is it that
> the CA not issue a certificate to the applicant, or do so only after
> completing additional and perhaps manual (albeit currently unspecified)
> verification steps?
>
> Peter
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

--001a11439d683784fc053e8d288b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Ultimately, it&#39;s up to the CA to decide=
 what names it&#39;s willing to issue for.=C2=A0 (There are other controls =
on those decisions, such as the CABF Baseline Requirements [1].)=C2=A0 Typi=
cally, CAs refuse to issue for names on the PSL, or at least have big proce=
dural fences around such issuance.=C2=A0 But if a CA clears all the policy =
gates to issue for an eTLD (say one of those ccTLDs with an A record), then=
 they can do so.<br><br></div>In any case, this is not something about whic=
h the spec can be normative.=C2=A0 The only reason it&#39;s in there at all=
 is that it&#39;s one of the common checks that CAs do, so it made sense to=
 have as an example.<br><br></div>--Richard<br><br></div>[1] See the defini=
tion of Base Domain Name in <a href=3D"https://github.com/cabforum/document=
s/blob/master/docs/BR.md">https://github.com/cabforum/documents/blob/master=
/docs/BR.md</a><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Mon, Oct 10, 2016 at 9:44 PM, Peter Saint-Andre <span dir=3D"ltr=
">&lt;<a href=3D"mailto:stpeter@stpeter.im" target=3D"_blank">stpeter@stpet=
er.im</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Section 9.5 o=
f draft-ietf-acme-acme-03 suggests that a CA might check whether an identif=
ier is an eTLD (i.e., is on the Public Suffix List). What is the intended o=
utcome of the checks described in this section? Is it that the CA not issue=
 a certificate to the applicant, or do so only after completing additional =
and perhaps manual (albeit currently unspecified) verification steps?<br>
<br>
Peter<br>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org" target=3D"_blank">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/acme</a><br>
</blockquote></div><br></div>

--001a11439d683784fc053e8d288b--


From nobody Mon Oct 10 20:21:19 2016
Return-Path: <stpeter@stpeter.im>
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 19269129458 for <acme@ietfa.amsl.com>; Mon, 10 Oct 2016 20:21:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.898
X-Spam-Level: 
X-Spam-Status: No, score=-4.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Su6UX5WIR1wz for <acme@ietfa.amsl.com>; Mon, 10 Oct 2016 20:21:15 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id 416FA128B37 for <acme@ietf.org>; Mon, 10 Oct 2016 20:21:15 -0700 (PDT)
Received: from aither.local (unknown [76.25.4.24]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8A11B40325; Mon, 10 Oct 2016 21:23:53 -0600 (MDT)
To: Richard Barnes <rlb@ipv.sx>
References: <93f0fb34-6429-2a35-e461-d145fd6c81d3@stpeter.im> <CAL02cgR6D04vnRPKM2=WQZDaNosa3OAquAU5YO6nJyV2_PwO2w@mail.gmail.com>
From: Peter Saint-Andre <stpeter@stpeter.im>
Message-ID: <91144a1f-2805-665f-e4f5-a74e23020ee9@stpeter.im>
Date: Mon, 10 Oct 2016 21:21:13 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgR6D04vnRPKM2=WQZDaNosa3OAquAU5YO6nJyV2_PwO2w@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/CicIPJ_1BQdRiP-i_BYkSLrBYCI>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] issuance to eTLDs
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: Tue, 11 Oct 2016 03:21:17 -0000

On 10/10/16 7:54 PM, Richard Barnes wrote:
> Ultimately, it's up to the CA to decide what names it's willing to issue
> for.

Agreed.

> (There are other controls on those decisions, such as the CABF
> Baseline Requirements [1].)  Typically, CAs refuse to issue for names on
> the PSL, or at least have big procedural fences around such issuance.

Sure. the CABF spec currently says:

   Determination of what is â€œregistryâ€�controlledâ€� versus the
   registerable portion of a Country Code Topâ€�Level Domain Namespace is
   not standardized at the time of writing and is not a property of the
   DNS itself. Current best practice is to consult a â€œpublic suffix
   listâ€� such as http://publicsuffix.org/ (PSL), and to retrieve a fresh
   copy regularly. If using the PSL, a CA SHOULD consult the "ICANN
   DOMAINS" section only, not the "PRIVATE DOMAINS" section.

So it's not necessarily the PSL per se. But CABF is merely one example 
of a potential policy, I suppose.

> But if a CA clears all the policy gates to issue for an eTLD (say one of
> those ccTLDs with an A record), then they can do so.
>
> In any case, this is not something about which the spec can be
> normative.  The only reason it's in there at all is that it's one of the
> common checks that CAs do, so it made sense to have as an example.

Fair enough. Thanks for the reply.

Peter

>
> --Richard
>
> [1] See the definition of Base Domain Name in
> https://github.com/cabforum/documents/blob/master/docs/BR.md
>
> On Mon, Oct 10, 2016 at 9:44 PM, Peter Saint-Andre <stpeter@stpeter.im
> <mailto:stpeter@stpeter.im>> wrote:
>
>     Section 9.5 of draft-ietf-acme-acme-03 suggests that a CA might
>     check whether an identifier is an eTLD (i.e., is on the Public
>     Suffix List). What is the intended outcome of the checks described
>     in this section? Is it that the CA not issue a certificate to the
>     applicant, or do so only after completing additional and perhaps
>     manual (albeit currently unspecified) verification steps?
>
>     Peter
>
>     _______________________________________________
>     Acme mailing list
>     Acme@ietf.org <mailto:Acme@ietf.org>
>     https://www.ietf.org/mailman/listinfo/acme
>     <https://www.ietf.org/mailman/listinfo/acme>
>
>


From nobody Tue Oct 11 22:39:58 2016
Return-Path: <dkg@fifthhorseman.net>
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 CEF741296D2 for <acme@ietfa.amsl.com>; Tue, 11 Oct 2016 22:39:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 D6N165xgFnvg for <acme@ietfa.amsl.com>; Tue, 11 Oct 2016 22:39:56 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by ietfa.amsl.com (Postfix) with ESMTP id 1AED81296D0 for <acme@ietf.org>; Tue, 11 Oct 2016 22:39:55 -0700 (PDT)
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 8FE98F98C; Wed, 12 Oct 2016 01:39:54 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 4A415200CC; Tue, 11 Oct 2016 22:39:37 -0700 (PDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, Richard Barnes <rlb@ipv.sx>
In-Reply-To: <91144a1f-2805-665f-e4f5-a74e23020ee9@stpeter.im>
References: <93f0fb34-6429-2a35-e461-d145fd6c81d3@stpeter.im> <CAL02cgR6D04vnRPKM2=WQZDaNosa3OAquAU5YO6nJyV2_PwO2w@mail.gmail.com> <91144a1f-2805-665f-e4f5-a74e23020ee9@stpeter.im>
Date: Wed, 12 Oct 2016 01:39:33 -0400
Message-ID: <87insyw2ga.fsf@alice.fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/G-3VO9o2UErRjizhfHd55x7Rhe4>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] issuance to eTLDs
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, 12 Oct 2016 05:39:58 -0000

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon 2016-10-10 23:21:13 -0400, Peter Saint-Andre wrote:
> So it's not necessarily the PSL per se. But CABF is merely one example=20
> of a potential policy, I suppose.

making matters more confusing, the PSL itself these days contains two
different values -- one of them related to PSL for the purposes of
cookie-setting, and the other one for X.509 certificate issuance.

As it says in the Divisions section of https://publicsuffix.org/list/ :

>> While some applications, such as browsers when considering
>> cookie-setting, treat all entries the same, other applications may
>> wish to treat ICANN domains and PRIVATE domains differently. For
>> example, Certification Authorities checking for wildcard misissuance
>> would not issue a "*.com" wildcard cert ("com" is in the ICANN
>> domains list) but could legitimately issue a "*.appspot.com" wildcard
>> cert to the domain owner, in this case Google ("appspot.com" is in
>> the PRIVATE domains list).

if only we'd managed to get DBOUND better focused we might have
something properly scalable to plug in here, alas :/=20

   --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJX/cyWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy
NEVDRkY1QUZGNjgzNzBBAAoJECTs/1r/aDcKMZgP/1j2FGuLWxqyubpGSev1f/0B
O2CIi4QFc8lUNk3Z/KJakVKArWk6TpDSy/j1ArHsIFDo8WDKi4+W/PuvoAIHtJt8
wDV5YrPdFOZx5bC9/kdezXQK1w1yfz1TcyhU0qhQMCOMcF7uzoAZjApuOK23ecnK
Wa4u4CA0pXm6dz+CpwDKQrshfGJ0Z7J9Kc55qcCCzAgHc/TAjDD0u3xsQdB2Jl1Q
THtXAct01QGGimU7jWLLjFXUYBAp7gmFcV8FcR1JY+4RTgN/zZFU4T/XJ9ehEzh+
BkJFsTJIdN/X4SHrjdLBSfsUksV7aRB5ugxG71URyD98POyURqOcWJk82r6c8t54
JLE2dZAA3xlwTzO+SDHd8nstzhJ5C791XO0Xtg1bLRQSIUGdOq6ryOQT8wLmLwfJ
Ewc09gte6SZWOaxOHvPI6XLN022qRuXzkbnjz6n7FJfEyWx2SG6USpnKBdAJReJ+
2STbSUSQC8KD3aDg57FDtyLUu4Ktesz8ZeMMj4L7POeosTj57+2DmnWPqEjrwyBK
0uVRwSHrgy9wWpU9KdYwGb1M1NoV2lz2rElXs75+oCoZBlx78xwp56Q7Ee4kJ5NE
16YVEgYBr2fH65GnUX33J1a4DqMHPWixSp6d3wunaGqaJnlSAx+RpkLIY7QL4517
i+fX2OkvuWvm4lpz4KZV
=sUHt
-----END PGP SIGNATURE-----
--=-=-=--


From tim@seoss.co.uk  Wed Oct 12 03:45:20 2016
Return-Path: <tim@seoss.co.uk>
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 1D0161296F9 for <acme@ietfa.amsl.com>; Wed, 12 Oct 2016 03:45:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 MeRxvQWTV-5P for <acme@ietfa.amsl.com>; Wed, 12 Oct 2016 03:45:17 -0700 (PDT)
Received: from relay1.allsecuredomains.com (relay1.allsecuredomains.com [78.47.251.4]) (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 824E01294CA for <acme@ietf.org>; Wed, 12 Oct 2016 03:45:15 -0700 (PDT)
Received: from [81.174.144.187] (helo=[172.19.198.5]) by relay1.allsecuredomains.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <tim@seoss.co.uk>) id 1buH29-000373-Kl for acme@ietf.org; Wed, 12 Oct 2016 12:45:13 +0200
To: acme@ietf.org
From: Tim Small <tim@seoss.co.uk>
Message-ID: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk>
Date: Wed, 12 Oct 2016 11:45:13 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/ckMBxZAM5QA6TWMs_b58ySyyIgs>
X-Mailman-Approved-At: Wed, 12 Oct 2016 08:00:34 -0700
Subject: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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, 12 Oct 2016 14:13:53 -0000

Hello,

Having read draft-ietf-acme-acme-02, and made a number of early
deployments using the tls-sni-01 mechanism, I thought I'd highlight what
I perceive to be a possible shortcoming with the tls-sni-02 draft.

It's becoming more wide-spread (as a result of IPv4 exhaustion) to
deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
managed web servers.

The typical deployment pattern is that a web server is assigned a
publicly accessible IPv6 address only - this can be used for direct
management and direct IPv6 https requests etc.  The TLS request are
terminated on the web server itself.

The customer is also informed of an IPv4 addresses to be used for web
access by IPv4-only clients, and asked to provide a list of FQDNs which
they will serve.  IPv4 https requests are answered by proxy software,
which direct the IPv4 https request to the correct web server's IPv6
address (or an RFC-1918 IPv4 address etc.) based on SNI.

e.g. this haproxy example configuration fragment:

use-server customer1-staging if { req.ssl_sni -m beg
staging.customer1-example.com }
use-server customer2-live if { req.ssl_sni -m beg
staging.customer2-example.com }


I believe this will become increasingly common-place during the
transition to IPv6, and the current form of tls-sni-02 makes it hard to
use in this sort of environment.

The problem comes when using tls-sni-02 ACME challenges:

"The client MUST ensure that the certificate is served to TLS
connections specifying a Server Name Indication (SNI) value of SAN A."

i.e. the SNI string which the proxy sees during the challenge is always
"SAN A" (x.y.token.acme.invalid), for any server for which it acts as
the "https switch" for.

... so the proxy has no way of knowing which server the challenge
request should be directed to.  Some mechanism by which the proxy can
direct the request would be useful.

One which may provide an easy route for the service providers offering
this sort of setup (many would require no changes to their existing
configuration at all) would be to append the FQDN in the TLS SNI value
e.g. x.y.token.acme.client2-example.com

The client in question may have limited or no influence on the
configuration of the SNI proxy, so the more straight-forward the proxy
configuration, the-better.

For another example of a similar use-case with the same issue:

https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/

HTH,

Tim.


From nobody Wed Oct 12 15:22:32 2016
Return-Path: <jsha@eff.org>
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 C340C1293FE for <acme@ietfa.amsl.com>; Wed, 12 Oct 2016 15:22:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 LCp6VTpcrIDn for <acme@ietfa.amsl.com>; Wed, 12 Oct 2016 15:22:28 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1CD9128B44 for <acme@ietf.org>; Wed, 12 Oct 2016 15:22:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=ry3Tz0c3JkYT4lPYzti9OHTJwV2vtg21ig0zUPaIbM0=;  b=FV8vi1HtueY38M4ce/Ns+K8tiIE7OVGCmtCZDYADRtEayoLvKo6OTNN8ZwZV3jI7hZ4zS90oQ7hy5bciYPSnA+RVPt22HGWJueI+nH5FKkKnEM7NRGEbFfliEypdhIQ+pmu7tstTYIhTR3L6mrymqJ9OLMWt5t/QaUGtvUejFw4=;
Received: ; Wed, 12 Oct 2016 15:22:27 -0700
To: acme@ietf.org
References: <2118fd66-a775-3345-4aa7-2d849da2a82e@eff.org> <20160927051453.GB14922@andover.lhh.devever.net> <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org> <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <4f6e2b68-8e08-3933-d66b-1bfb81c1565d@eff.org>
Date: Wed, 12 Oct 2016 15:22:27 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/RKdUIG-CbgnXloYLg-4WYpgCCUA>
Subject: Re: [Acme] Default to PEM with chain for certificates
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, 12 Oct 2016 22:22:31 -0000

On 10/02/2016 08:49 AM, Richard Barnes wrote:
> This change seems to suppose that there is One True Cert Chain

It does not suppose that. It supposes most CAs will offer One
Recommended Cert Chain that is "best" for most of their customers. And
in fact that is the best common practice today.

Alternate chains can be offered with the Link rel=alternate that I
mentioned on-list (but haven't yet incorporated into the PR). What do
you think of that approach?


From nobody Thu Oct 13 08:00:26 2016
Return-Path: <dmccarney@letsencrypt.org>
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 AABA412946E for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 08:00:24 -0700 (PDT)
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, HTML_MESSAGE=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 (1024-bit key) header.d=letsencrypt.org
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 p14jDm9K_M1b for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 08:00:17 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 3DB69129902 for <acme@ietf.org>; Thu, 13 Oct 2016 08:00:17 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id b81so137995489lfe.1 for <acme@ietf.org>; Thu, 13 Oct 2016 08:00:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=letsencrypt.org; s=google; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dQo7Y+gQ9B+STQxtphdV1DiwzSX1x+J/K1ChYUmuhFM=; b=ZgZbVhlHSCj8dB8Qk+ZtfQcSv3ChGxxnLZCqTxf29rRDtat0d77DYoOQLjn2yMJmJO 07n3yFXagc2VyXOt00rkgb/0Z5xBvK2DyolcMLw6GRRBDGmET0EfM8IoEvVhC/oANqDv cSlAkeuPgl9mEK9q4eQhAxTIME2AOvC6SGtuY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=dQo7Y+gQ9B+STQxtphdV1DiwzSX1x+J/K1ChYUmuhFM=; b=FejFqkwWv2ULiiULQza2M8Pjzg/x7U5l+Syricbcal4amS9/nf+KHg0ILBTTKpo/gL 7ZVi7JIJsPwXWJ6xfJxaljLfNFHFEiZ/DpizTKTafmCk362rNyeepa/VicdgVWldYvcK Wg+dNoO7DYS43XgZD1ZGEfr+ZpdP4iHZbsM6QVDJsY92gNcN02fd0i2lSJLYy/99kpRZ T9uARW+PKr8aR7h/MaDWFmzYCvwspUTHHPMIjpEevxCa1CFdCVd/oFKky/+hjtbXa3ho u7D5gMLFRVA8pvozXJWP4kK8TLu/hi7K/9qbMfnvhlB3T43wXUbGYhBi/iYjfQJo+6hv Hedg==
X-Gm-Message-State: AA6/9RkkqHO0hYbQlEZzUxvUXV+Vl+ZfHB+uC7VO8/szifsgXOUctiZD5nzuFt7iAnGyK+HN1nScLz3vxi/OB924
X-Received: by 10.25.163.132 with SMTP id m126mr2215668lfe.9.1476370812839; Thu, 13 Oct 2016 08:00:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.92.153 with HTTP; Thu, 13 Oct 2016 08:00:12 -0700 (PDT)
In-Reply-To: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk>
From: Daniel McCarney <cpu@letsencrypt.org>
Date: Thu, 13 Oct 2016 11:00:12 -0400
Message-ID: <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com>
To: Tim Small <tim@seoss.co.uk>
Content-Type: multipart/alternative; boundary=001a11411b1cdb6158053ec05dd8
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/TINvSaIbUD6-2lPNbVsMTEVBks4>
Cc: acme@ietf.org
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: cpu@letsencrypt.org
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: Thu, 13 Oct 2016 15:00:25 -0000

--001a11411b1cdb6158053ec05dd8
Content-Type: text/plain; charset=UTF-8

Hi Tim,

Thanks for sharing your thoughts. This was the first time I've heard about
this
sort of SNI multiplexing middleware in the context of IPv6 hosting.

I'm newer to the list/draft process but I suspect your idea of using
"x.y.token.acme.client2-example.com" to support the SNI multiplexing
decision
will run counter to the intent behind using the ".acme.invalid" suffix as
described in the current draft. Perhaps someone with more historical
context can
help clarify why that particular suffix strategy was selected.

It would help me understand your feedback better if you could speak to why
it
doesn't make more sense for users of this sort of middleware to favour the
HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking that
using a more appropriate challenge type is preferred to trying to address
TLS
middleware in the context of the TLS-SNI-02 challenge design. This class of
middleware can introduce all sorts of complication that might end up
significantly complicating the challenge design.

- Daniel/cpu


On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <tim@seoss.co.uk> wrote:

> Hello,
>
> Having read draft-ietf-acme-acme-02, and made a number of early
> deployments using the tls-sni-01 mechanism, I thought I'd highlight what
> I perceive to be a possible shortcoming with the tls-sni-02 draft.
>
> It's becoming more wide-spread (as a result of IPv4 exhaustion) to
> deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
> managed web servers.
>
> The typical deployment pattern is that a web server is assigned a
> publicly accessible IPv6 address only - this can be used for direct
> management and direct IPv6 https requests etc.  The TLS request are
> terminated on the web server itself.
>
> The customer is also informed of an IPv4 addresses to be used for web
> access by IPv4-only clients, and asked to provide a list of FQDNs which
> they will serve.  IPv4 https requests are answered by proxy software,
> which direct the IPv4 https request to the correct web server's IPv6
> address (or an RFC-1918 IPv4 address etc.) based on SNI.
>
> e.g. this haproxy example configuration fragment:
>
> use-server customer1-staging if { req.ssl_sni -m beg
> staging.customer1-example.com }
> use-server customer2-live if { req.ssl_sni -m beg
> staging.customer2-example.com }
>
>
> I believe this will become increasingly common-place during the
> transition to IPv6, and the current form of tls-sni-02 makes it hard to
> use in this sort of environment.
>
> The problem comes when using tls-sni-02 ACME challenges:
>
> "The client MUST ensure that the certificate is served to TLS
> connections specifying a Server Name Indication (SNI) value of SAN A."
>
> i.e. the SNI string which the proxy sees during the challenge is always
> "SAN A" (x.y.token.acme.invalid), for any server for which it acts as
> the "https switch" for.
>
> ... so the proxy has no way of knowing which server the challenge
> request should be directed to.  Some mechanism by which the proxy can
> direct the request would be useful.
>
> One which may provide an easy route for the service providers offering
> this sort of setup (many would require no changes to their existing
> configuration at all) would be to append the FQDN in the TLS SNI value
> e.g. x.y.token.acme.client2-example.com
>
> The client in question may have limited or no influence on the
> configuration of the SNI proxy, so the more straight-forward the proxy
> configuration, the-better.
>
> For another example of a similar use-case with the same issue:
>
> https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
>
> HTH,
>
> Tim.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

--001a11411b1cdb6158053ec05dd8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Tim,</div><div><br></div><div>Thanks for sharing y=
our thoughts. This was the first time I&#39;ve heard about this</div><div>s=
ort of SNI multiplexing middleware in the context of IPv6 hosting.</div><di=
v><br></div><div>I&#39;m newer to the list/draft process but I suspect your=
 idea of using</div><div>&quot;<a href=3D"http://x.y.token.acme.client2-exa=
mple.com">x.y.token.acme.client2-example.com</a>&quot; to support the SNI m=
ultiplexing decision</div><div>will run counter to the intent behind using =
the &quot;.acme.invalid&quot; suffix as</div><div>described in the current =
draft. Perhaps someone with more historical context can</div><div>help clar=
ify why that particular suffix strategy was selected.</div><div><br></div><=
div>It would help me understand your feedback better if you could speak to =
why it</div><div>doesn&#39;t make more sense for users of this sort of midd=
leware to favour the</div><div>HTTP-01 or DNS-01 challenge type. My own opi=
nion leans towards thinking that</div><div>using a more appropriate challen=
ge type is preferred to trying to address TLS</div><div>middleware in the c=
ontext of the TLS-SNI-02 challenge design. This class of</div><div>middlewa=
re can introduce all sorts of complication that might end up</div><div>sign=
ificantly complicating the challenge design.</div><div><br></div><div>- Dan=
iel/cpu</div><div><br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <span dir=3D"lt=
r">&lt;<a href=3D"mailto:tim@seoss.co.uk" target=3D"_blank">tim@seoss.co.uk=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Having read draft-ietf-acme-acme-02, and made a number of early<br>
deployments using the tls-sni-01 mechanism, I thought I&#39;d highlight wha=
t<br>
I perceive to be a possible shortcoming with the tls-sni-02 draft.<br>
<br>
It&#39;s becoming more wide-spread (as a result of IPv4 exhaustion) to<br>
deploy TLS SNI &quot;switches&quot; to provide IPv4 connectivity to autonom=
ously<br>
managed web servers.<br>
<br>
The typical deployment pattern is that a web server is assigned a<br>
publicly accessible IPv6 address only - this can be used for direct<br>
management and direct IPv6 https requests etc.=C2=A0 The TLS request are<br=
>
terminated on the web server itself.<br>
<br>
The customer is also informed of an IPv4 addresses to be used for web<br>
access by IPv4-only clients, and asked to provide a list of FQDNs which<br>
they will serve.=C2=A0 IPv4 https requests are answered by proxy software,<=
br>
which direct the IPv4 https request to the correct web server&#39;s IPv6<br=
>
address (or an RFC-1918 IPv4 address etc.) based on SNI.<br>
<br>
e.g. this haproxy example configuration fragment:<br>
<br>
use-server customer1-staging if { req.ssl_sni -m beg<br>
<a href=3D"http://staging.customer1-example.com" rel=3D"noreferrer" target=
=3D"_blank">staging.customer1-example.com</a> }<br>
use-server customer2-live if { req.ssl_sni -m beg<br>
<a href=3D"http://staging.customer2-example.com" rel=3D"noreferrer" target=
=3D"_blank">staging.customer2-example.com</a> }<br>
<br>
<br>
I believe this will become increasingly common-place during the<br>
transition to IPv6, and the current form of tls-sni-02 makes it hard to<br>
use in this sort of environment.<br>
<br>
The problem comes when using tls-sni-02 ACME challenges:<br>
<br>
&quot;The client MUST ensure that the certificate is served to TLS<br>
connections specifying a Server Name Indication (SNI) value of SAN A.&quot;=
<br>
<br>
i.e. the SNI string which the proxy sees during the challenge is always<br>
&quot;SAN A&quot; (x.y.token.acme.invalid), for any server for which it act=
s as<br>
the &quot;https switch&quot; for.<br>
<br>
... so the proxy has no way of knowing which server the challenge<br>
request should be directed to.=C2=A0 Some mechanism by which the proxy can<=
br>
direct the request would be useful.<br>
<br>
One which may provide an easy route for the service providers offering<br>
this sort of setup (many would require no changes to their existing<br>
configuration at all) would be to append the FQDN in the TLS SNI value<br>
e.g. <a href=3D"http://x.y.token.acme.client2-example.com" rel=3D"noreferre=
r" target=3D"_blank">x.y.token.acme.client2-<wbr>example.com</a><br>
<br>
The client in question may have limited or no influence on the<br>
configuration of the SNI proxy, so the more straight-forward the proxy<br>
configuration, the-better.<br>
<br>
For another example of a similar use-case with the same issue:<br>
<br>
<a href=3D"https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/"=
 rel=3D"noreferrer" target=3D"_blank">https://scriptthe.net/2015/02/<wbr>08=
/pass-through-ssl-with-<wbr>haproxy/</a><br>
<br>
HTH,<br>
<br>
Tim.<br>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
</blockquote></div><br></div>

--001a11411b1cdb6158053ec05dd8--


From nobody Thu Oct 13 09:29:13 2016
Return-Path: <Ray.Cheng@entrust.com>
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 D734212955C for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 09:29:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 QcMesIsS6aoq for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 09:29:09 -0700 (PDT)
Received: from mx2.entrustdatacard.com (mx2.entrustdatacard.com [204.124.80.222]) by ietfa.amsl.com (Postfix) with ESMTP id 249671293E8 for <acme@ietf.org>; Thu, 13 Oct 2016 09:29:08 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.31,340,1473138000";  d="scan'208";a="3366457"
Received: from pmspex02.corporate.datacard.com (HELO owa.datacard.com) ([192.168.211.30]) by pmspesa04inside.corporate.datacard.com with ESMTP/TLS/AES256-GCM-SHA384; 13 Oct 2016 11:29:08 -0500
Received: from PMSPEX04.corporate.datacard.com (192.168.211.51) by pmspex02.corporate.datacard.com (192.168.211.30) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 13 Oct 2016 11:29:08 -0500
Received: from PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3]) by PMSPEX04.corporate.datacard.com ([fe80::782b:362f:9f75:80a3%15]) with mapi id 15.00.1210.000; Thu, 13 Oct 2016 11:29:08 -0500
From: Ray Cheng <Ray.Cheng@entrust.com>
To: Ron <ron@debian.org>
Thread-Topic: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
Thread-Index: AdIeP7an8iLT4ky2TH+14edOnahvF6ClFQ+g
Date: Thu, 13 Oct 2016 16:29:08 +0000
Message-ID: <b8abdaeb5fcb4e8385da40995666e4a7@PMSPEX04.corporate.datacard.com>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <20161004144426.GA21527@andover.lhh.devever.net> <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com> <CABkgnnVNo_Uuvfcxbr4H5_AoVao73rdVqG+xpbnCwMXxVjQXVw@mail.gmail.com> <0a7dd253f9eb4771b09e5fd0f03386dc@PMSPEX04.corporate.datacard.com> <20161010024304.GG3269@hex.shelbyville.oz>
In-Reply-To: <20161010024304.GG3269@hex.shelbyville.oz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.160.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/SQrohl-H86hGDpGG-jemVVw9X3I>
Cc: "acme@ietf.org" <acme@ietf.org>, Martin Thomson <martin.thomson@gmail.com>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Thu, 13 Oct 2016 16:29:12 -0000

> From: Ron [mailto:ron@debian.org]
> Sent: Sunday, October 09, 2016 10:43 PM
> To: Ray Cheng <Ray.Cheng@entrust.com>
> Cc: acme@ietf.org; Martin Thomson <martin.thomson@gmail.com>
> Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value
> pairs to registration object
>=20
> On Thu, Oct 06, 2016 at 07:26:21PM +0000, Ray Cheng wrote:
> > RFC 6648 does bring up some interesting points. I can appreciate how
> > problems evolved with the HTTP and mail "X-" headers that may pass
> > through multiple vendor products (both client and server).
> >
> > I see the proposed "ca-extension" in the registration object more as a
> > place to hold content that a particular CA requires for its workflow.
> > It is up to the CA to distribute to a client what extra info is
> > required.
>=20
> Isn't the whole point of going through this work here (as opposed to just
> having each CA invent its own thing), to provide a way for all of the
> interested stakeholders to come up with a single interoperable standard
> which they think will work for all of them?
>=20
> So that other people can implement clients to the documented spec, which
> will work with any CA that implements that spec.

I don't see the proposed "ca-extension" as being incompatible with this goa=
l. If clients implement this extension, they simply have to supply some run=
time parameters to work with CA's which have particular parameter requireme=
nts.

With respect to client-server interop, this "ca-extension" has some similar=
ities to the "contact" field. For example, a "mailto" URI is optional in th=
e eyes of ACME and certbot. However, a server is entitled to have a policy =
that say a valid "mailto" URI must be present. If someone using certbot cho=
se not to send the "mailto" URI, the server can legitimately reject the req=
uest. The server will accept the request if someone using certbot "fills-in=
" the email.

>=20
> I think that if your due diligence on this has shown that you'll need
> things which aren't already in the spec, then we should talk about those
> and add them in an organised and openly thought through way.

We do know that we have a requirement for a "ca-account" field. This can be=
 added as an optional explicit field, or as a key-value pair in the "ca-ext=
ension". Client-server interop is similar in either scenario.

>=20
> If you don't know what they are yet, I think the right answer is that you
> should go away and think about that until you do know - not that we shoul=
d
> add a way to create random incompatible extensions that still call
> themselves "compatible" with this protocol.

I would characterize these extensions as application-specific. X.509 extens=
ions would be an appropriate analogy. Defining a new application-specific X=
.509 non-critical extension does not break X.509 clients and servers. Intro=
ducing new application features (e.g. Certificate Transparency) would be di=
fficult if X.509 did not have extensions and required updates to its specif=
ication.=20

I am not suggesting that the proposed "ca-extension" as being at the same l=
evel of importance to ACME as extensions are to X.509. I just want to point=
 out that an extension mechanism is not necessarily bad for interop.

>=20
>=20
> > If a client does not send the list of key-value pairs that a CA
> > requires, it does not mean that the ACME client does not interoperate
> > with that ACME server at a protocol level.
>=20
> That's kind of exactly what that means.  Sort of by definition.
>=20
> > It just means that the client needs to "fill out the form" that the CA
> > requires.
>=20
> Which means they are only "compatible" in the sense that "They both use
> JSON".  That's not a very useful definition of "interoperable".

ACME is much more than the JSON that is in the registration object. It prov=
ides a lot of useful standardized cert management flow that is crucial to i=
nterop.

>=20
>=20
> > Adding explicit elements like "account" and "operator" can also solve
> > the problem for now. CA's not requiring these elements would simply
> > ignore them. However, let's suppose 6 months from now that we, or
> > another CA, discovers we need to collect another additional piece of
> > registration data. The "ca-extension" object would allow us to do this
> > without changing the client or the protocol.
>=20
> How can you do this without changing the client, if existing clients won'=
t
> send the extra fields you've decided to require?

A compliant client does not need to change because it can send any new name=
-value pair.
It is just a matter of an extra command-line parameter or a config file add=
ition.

>=20
> And if you do that, then you *have* changed the protocol.  You've just
> done it without having to consult with anyone else, or without even havin=
g
> to document the incompatible change you made to it.  Which is like the
> opposite of interoperable.
>=20
> I don't think that's a good plan.  If you want to implement proprietary
> extensions that only your own client knows or supports, nothing is
> stopping you from doing that.  But I think it's harmful to the idea of
> ACME as an interoperable spec for you to pretend that is ACME.
>=20
>=20
> If you do later realise there is something missing that is critical to
> proper operation (or necessary because of some rule change at the CABF
> etc.), then there's no reason people can't bring that back here and
> propose that we need a revision to ACME to handle that case.
>=20
> If that discourages people from adding them on a whim, with very little
> thought or peer review, that's probably a Good Thing too.
>=20
>=20
> If you have a real need now for extra fields, we should talk about those
> explicitly, and not about adding a way for you to add them at any time,
> for any reason, without ever talking to anyone else about them.
>=20
> I think your feedback here as a potential server implementor is
> potentially very valuable - but that will be wasted if we just turn this
> spec into "anyone can implement their own random list of required JSON ke=
y
> value pairs and call that ACME compatible", and you don't talk openly
> about what extra things you think really are necessary to make this work
> achieve its chartered goals.
>=20

As I have cited as examples, we have two known items that we would add to t=
he registration object through the "ca-extension": "ca-account" and "reques=
tor-name". I assume that a CA like Boulder would have no use for these as i=
t does not have the concept of accounts and it has no intention of ever con=
tacting a live person. Whether we add "ca-account" and "requestor-name" as =
extensions or as explicitly named fields should have no impact on Boulder o=
r other CA's because they are likely to ignore them.

One advantage of explicitly named fields is that usability is improved slig=
htly when running clients like certbot - at least for CA's that cared about=
 them. The reasons are that it can be prompted for in the UI flow and you c=
an have explicitly named command-line parameters. The down-side is that you=
 are adding slightly more complexity for CAs that don't care about them (e.=
g. prompting for not applicable values and having extra documented paramete=
rs that are not needed).


From nobody Thu Oct 13 09:40:07 2016
Return-Path: <jammin.irving@gmail.com>
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 E50A412955C for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 09:40:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=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 kL56_0Q2GF0C for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 09:39:59 -0700 (PDT)
Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 237DA12943C for <acme@ietf.org>; Thu, 13 Oct 2016 09:39:51 -0700 (PDT)
Received: by mail-io0-x22a.google.com with SMTP id r30so91794254ioi.1 for <acme@ietf.org>; Thu, 13 Oct 2016 09:39:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uD9MdxpmlorLszq593JTA05tP6utmyjk0Jl6znfWea8=; b=OY5gpRmB67S88b4oxBgbK6eGY5yycKrjyVUq08wQG1VCnqFqSh1SoB70uhn657uSOc qEX3dytRSIZ6mL9+Unbt2sWr8V2/Ice5NDR2dIj4NwpM3GlgCZAX90wCmFnopM20ecQM Lu0vJphadRl3XJWB3uige8yrbwxNu3BozgjszFPpWQZ9w+gH1JL3qz/BYpPFKmjp3Irc QMFVpApIZWsdXpq+UApOyLY0XD4al/P9h8e2J/hvZqv+VLzZEXBJ8nVafwd50oxz4oYf HPHGF38Wg/DMxwHSU0Ad6ozfAaWtgnIBfBB4wQKQ/hWcpYZkTqFMPOn39DBgzRX6xy6c 39iw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uD9MdxpmlorLszq593JTA05tP6utmyjk0Jl6znfWea8=; b=KdKldLIeR+Mgbg5BZ62bp3X+kXf1HrcS53Mv+nplk8nDQN3j5UM+FdJ0aZqOAYMEsm r5nBYx065NSVjYytswpXi0TMA/Naw8eif9kJUYDZPJJA28kR+FPcovp/KlQA3ttOVZgo bhj3BElZZsqZMOAZUQoRsRFyQmRtOAWVZCvU523rJVfHKgq+1bv+9nCAmfQPfQ30XlyV 9/zTbC5j7j3MuuTTfx88zpnCWCW8rlUUOf/nbT8vQJQm0OttpOGDCkL2U54h7Lsy/Ot7 ONH4z0Zq5lB8HnnrnLAo5jA8EE1t3qF81ky7HnJgK08p5h+6jtel/xmDlI/LkOvoBcgh 7+mw==
X-Gm-Message-State: AA6/9RnMScdX0sV3DhV8s9cc0iz3cWViGgp+0BnSMKJ2qqEuLi6tFwt1wqZSpx9fG/o1e8wK8VWzL4ZRIt2jGQ==
X-Received: by 10.107.22.196 with SMTP id 187mr7665307iow.193.1476376790401; Thu, 13 Oct 2016 09:39:50 -0700 (PDT)
MIME-Version: 1.0
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com>
In-Reply-To: <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com>
From: Ben Irving <jammin.irving@gmail.com>
Date: Thu, 13 Oct 2016 16:39:39 +0000
Message-ID: <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com>
To: cpu@letsencrypt.org, Tim Small <tim@seoss.co.uk>
Content-Type: multipart/alternative; boundary=94eb2c05a7382588f5053ec1c27e
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/N89-9P0_uqlaQv1VNWaksl1-wdY>
Cc: acme@ietf.org
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Thu, 13 Oct 2016 16:40:05 -0000

--94eb2c05a7382588f5053ec1c27e
Content-Type: text/plain; charset=UTF-8

Hello,

I have ran into a very similar use case. In my case I'm using Haproxy to
route tcp requests based on the server name indication to upstream web
servers where the TLS request is terminated. The ACME client is also
running on these upstream web servers. I'm forced to use HTTP-01 challenges
and am forced to open up port 80 as well on these upstream servers, which I
don't want to do. I don't expect the protocol to solve my particular use
case, but I'm also curious as to why acme.invalid was used as the suffix
for all TLS-SNI based challenges?

- Ben


On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney <cpu@letsencrypt.org> wrote:

> Hi Tim,
>
> Thanks for sharing your thoughts. This was the first time I've heard about
> this
> sort of SNI multiplexing middleware in the context of IPv6 hosting.
>
> I'm newer to the list/draft process but I suspect your idea of using
> "x.y.token.acme.client2-example.com" to support the SNI multiplexing
> decision
> will run counter to the intent behind using the ".acme.invalid" suffix as
> described in the current draft. Perhaps someone with more historical
> context can
> help clarify why that particular suffix strategy was selected.
>
> It would help me understand your feedback better if you could speak to why
> it
> doesn't make more sense for users of this sort of middleware to favour the
> HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking
> that
> using a more appropriate challenge type is preferred to trying to address
> TLS
> middleware in the context of the TLS-SNI-02 challenge design. This class of
> middleware can introduce all sorts of complication that might end up
> significantly complicating the challenge design.
>
> - Daniel/cpu
>
>
> On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <tim@seoss.co.uk> wrote:
>
> Hello,
>
> Having read draft-ietf-acme-acme-02, and made a number of early
> deployments using the tls-sni-01 mechanism, I thought I'd highlight what
> I perceive to be a possible shortcoming with the tls-sni-02 draft.
>
> It's becoming more wide-spread (as a result of IPv4 exhaustion) to
> deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
> managed web servers.
>
> The typical deployment pattern is that a web server is assigned a
> publicly accessible IPv6 address only - this can be used for direct
> management and direct IPv6 https requests etc.  The TLS request are
> terminated on the web server itself.
>
> The customer is also informed of an IPv4 addresses to be used for web
> access by IPv4-only clients, and asked to provide a list of FQDNs which
> they will serve.  IPv4 https requests are answered by proxy software,
> which direct the IPv4 https request to the correct web server's IPv6
> address (or an RFC-1918 IPv4 address etc.) based on SNI.
>
> e.g. this haproxy example configuration fragment:
>
> use-server customer1-staging if { req.ssl_sni -m beg
> staging.customer1-example.com }
> use-server customer2-live if { req.ssl_sni -m beg
> staging.customer2-example.com }
>
>
> I believe this will become increasingly common-place during the
> transition to IPv6, and the current form of tls-sni-02 makes it hard to
> use in this sort of environment.
>
> The problem comes when using tls-sni-02 ACME challenges:
>
> "The client MUST ensure that the certificate is served to TLS
> connections specifying a Server Name Indication (SNI) value of SAN A."
>
> i.e. the SNI string which the proxy sees during the challenge is always
> "SAN A" (x.y.token.acme.invalid), for any server for which it acts as
> the "https switch" for.
>
> ... so the proxy has no way of knowing which server the challenge
> request should be directed to.  Some mechanism by which the proxy can
> direct the request would be useful.
>
> One which may provide an easy route for the service providers offering
> this sort of setup (many would require no changes to their existing
> configuration at all) would be to append the FQDN in the TLS SNI value
> e.g. x.y.token.acme.client2-example.com
>
> The client in question may have limited or no influence on the
> configuration of the SNI proxy, so the more straight-forward the proxy
> configuration, the-better.
>
> For another example of a similar use-case with the same issue:
>
> https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
>
> HTH,
>
> Tim.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

--94eb2c05a7382588f5053ec1c27e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I have ran into a very similar u=
se case. In my case I&#39;m using Haproxy to route tcp requests based on th=
e server name indication to upstream web servers where the TLS request is t=
erminated. The ACME client is also running on these upstream web servers. I=
&#39;m forced to use HTTP-01 challenges and am forced to open up port 80 as=
 well on these upstream servers, which I don&#39;t want to do. I don&#39;t =
expect the protocol to solve my particular use case, but I&#39;m also curio=
us as to why acme.invalid was used as the suffix for all TLS-SNI based chal=
lenges?</div><div><br></div><div>- Ben=C2=A0</div><div><br></div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr">On Thu, Oct 13, 2016 at 8:00 AM=
 Daniel McCarney &lt;<a href=3D"mailto:cpu@letsencrypt.org">cpu@letsencrypt=
.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr=
" class=3D"gmail_msg"><div class=3D"gmail_msg">Hi Tim,</div><div class=3D"g=
mail_msg"><br class=3D"gmail_msg"></div><div class=3D"gmail_msg">Thanks for=
 sharing your thoughts. This was the first time I&#39;ve heard about this</=
div><div class=3D"gmail_msg">sort of SNI multiplexing middleware in the con=
text of IPv6 hosting.</div><div class=3D"gmail_msg"><br class=3D"gmail_msg"=
></div><div class=3D"gmail_msg">I&#39;m newer to the list/draft process but=
 I suspect your idea of using</div><div class=3D"gmail_msg">&quot;<a href=
=3D"http://x.y.token.acme.client2-example.com" class=3D"gmail_msg" target=
=3D"_blank">x.y.token.acme.client2-example.com</a>&quot; to support the SNI=
 multiplexing decision</div><div class=3D"gmail_msg">will run counter to th=
e intent behind using the &quot;.acme.invalid&quot; suffix as</div><div cla=
ss=3D"gmail_msg">described in the current draft. Perhaps someone with more =
historical context can</div><div class=3D"gmail_msg">help clarify why that =
particular suffix strategy was selected.</div><div class=3D"gmail_msg"><br =
class=3D"gmail_msg"></div><div class=3D"gmail_msg">It would help me underst=
and your feedback better if you could speak to why it</div><div class=3D"gm=
ail_msg">doesn&#39;t make more sense for users of this sort of middleware t=
o favour the</div><div class=3D"gmail_msg">HTTP-01 or DNS-01 challenge type=
. My own opinion leans towards thinking that</div><div class=3D"gmail_msg">=
using a more appropriate challenge type is preferred to trying to address T=
LS</div><div class=3D"gmail_msg">middleware in the context of the TLS-SNI-0=
2 challenge design. This class of</div><div class=3D"gmail_msg">middleware =
can introduce all sorts of complication that might end up</div><div class=
=3D"gmail_msg">significantly complicating the challenge design.</div><div c=
lass=3D"gmail_msg"><br class=3D"gmail_msg"></div><div class=3D"gmail_msg">-=
 Daniel/cpu</div><div class=3D"gmail_msg"><br class=3D"gmail_msg"></div></d=
iv><div class=3D"gmail_extra gmail_msg"><br class=3D"gmail_msg"><div class=
=3D"gmail_quote gmail_msg">On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <span=
 dir=3D"ltr" class=3D"gmail_msg">&lt;<a href=3D"mailto:tim@seoss.co.uk" cla=
ss=3D"gmail_msg" target=3D"_blank">tim@seoss.co.uk</a>&gt;</span> wrote:<br=
 class=3D"gmail_msg"><blockquote class=3D"gmail_quote gmail_msg" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br cla=
ss=3D"gmail_msg">
<br class=3D"gmail_msg">
Having read draft-ietf-acme-acme-02, and made a number of early<br class=3D=
"gmail_msg">
deployments using the tls-sni-01 mechanism, I thought I&#39;d highlight wha=
t<br class=3D"gmail_msg">
I perceive to be a possible shortcoming with the tls-sni-02 draft.<br class=
=3D"gmail_msg">
<br class=3D"gmail_msg">
It&#39;s becoming more wide-spread (as a result of IPv4 exhaustion) to<br c=
lass=3D"gmail_msg">
deploy TLS SNI &quot;switches&quot; to provide IPv4 connectivity to autonom=
ously<br class=3D"gmail_msg">
managed web servers.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
The typical deployment pattern is that a web server is assigned a<br class=
=3D"gmail_msg">
publicly accessible IPv6 address only - this can be used for direct<br clas=
s=3D"gmail_msg">
management and direct IPv6 https requests etc.=C2=A0 The TLS request are<br=
 class=3D"gmail_msg">
terminated on the web server itself.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
The customer is also informed of an IPv4 addresses to be used for web<br cl=
ass=3D"gmail_msg">
access by IPv4-only clients, and asked to provide a list of FQDNs which<br =
class=3D"gmail_msg">
they will serve.=C2=A0 IPv4 https requests are answered by proxy software,<=
br class=3D"gmail_msg">
which direct the IPv4 https request to the correct web server&#39;s IPv6<br=
 class=3D"gmail_msg">
address (or an RFC-1918 IPv4 address etc.) based on SNI.<br class=3D"gmail_=
msg">
<br class=3D"gmail_msg">
e.g. this haproxy example configuration fragment:<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
use-server customer1-staging if { req.ssl_sni -m beg<br class=3D"gmail_msg"=
>
<a href=3D"http://staging.customer1-example.com" rel=3D"noreferrer" class=
=3D"gmail_msg" target=3D"_blank">staging.customer1-example.com</a> }<br cla=
ss=3D"gmail_msg">
use-server customer2-live if { req.ssl_sni -m beg<br class=3D"gmail_msg">
<a href=3D"http://staging.customer2-example.com" rel=3D"noreferrer" class=
=3D"gmail_msg" target=3D"_blank">staging.customer2-example.com</a> }<br cla=
ss=3D"gmail_msg">
<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
I believe this will become increasingly common-place during the<br class=3D=
"gmail_msg">
transition to IPv6, and the current form of tls-sni-02 makes it hard to<br =
class=3D"gmail_msg">
use in this sort of environment.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
The problem comes when using tls-sni-02 ACME challenges:<br class=3D"gmail_=
msg">
<br class=3D"gmail_msg">
&quot;The client MUST ensure that the certificate is served to TLS<br class=
=3D"gmail_msg">
connections specifying a Server Name Indication (SNI) value of SAN A.&quot;=
<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
i.e. the SNI string which the proxy sees during the challenge is always<br =
class=3D"gmail_msg">
&quot;SAN A&quot; (x.y.token.acme.invalid), for any server for which it act=
s as<br class=3D"gmail_msg">
the &quot;https switch&quot; for.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
... so the proxy has no way of knowing which server the challenge<br class=
=3D"gmail_msg">
request should be directed to.=C2=A0 Some mechanism by which the proxy can<=
br class=3D"gmail_msg">
direct the request would be useful.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
One which may provide an easy route for the service providers offering<br c=
lass=3D"gmail_msg">
this sort of setup (many would require no changes to their existing<br clas=
s=3D"gmail_msg">
configuration at all) would be to append the FQDN in the TLS SNI value<br c=
lass=3D"gmail_msg">
e.g. <a href=3D"http://x.y.token.acme.client2-example.com" rel=3D"noreferre=
r" class=3D"gmail_msg" target=3D"_blank">x.y.token.acme.client2-example.com=
</a><br class=3D"gmail_msg">
<br class=3D"gmail_msg">
The client in question may have limited or no influence on the<br class=3D"=
gmail_msg">
configuration of the SNI proxy, so the more straight-forward the proxy<br c=
lass=3D"gmail_msg">
configuration, the-better.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
For another example of a similar use-case with the same issue:<br class=3D"=
gmail_msg">
<br class=3D"gmail_msg">
<a href=3D"https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/"=
 rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">https://scriptthe=
.net/2015/02/08/pass-through-ssl-with-haproxy/</a><br class=3D"gmail_msg">
<br class=3D"gmail_msg">
HTH,<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
Tim.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
_______________________________________________<br class=3D"gmail_msg">
Acme mailing list<br class=3D"gmail_msg">
<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" target=3D"_blank">Acme=
@ietf.org</a><br class=3D"gmail_msg">
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" c=
lass=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/listinfo/=
acme</a><br class=3D"gmail_msg">
</blockquote></div><br class=3D"gmail_msg"></div>
_______________________________________________<br class=3D"gmail_msg">
Acme mailing list<br class=3D"gmail_msg">
<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" target=3D"_blank">Acme=
@ietf.org</a><br class=3D"gmail_msg">
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" c=
lass=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/listinfo/=
acme</a><br class=3D"gmail_msg">
</blockquote></div>

--94eb2c05a7382588f5053ec1c27e--


From nobody Thu Oct 13 11:21:30 2016
Return-Path: <jdkasten@umich.edu>
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 E69C312961B for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 11:21:28 -0700 (PDT)
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, HTML_MESSAGE=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=umich.edu
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 GrZcF_TBcRFE for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 11:21:25 -0700 (PDT)
Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (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 3E5E91294E0 for <acme@ietf.org>; Thu, 13 Oct 2016 11:21:25 -0700 (PDT)
Received: by mail-oi0-x236.google.com with SMTP id m72so108678404oik.3 for <acme@ietf.org>; Thu, 13 Oct 2016 11:21:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kFaBonac6vThAgiBXskfuom55VANK/M/10u5TUj05tQ=; b=XjHqD1/J80dD5tEmINRPLDLe8zpc7U4Jo3/l7XqLS8O1ySy8ygQ+p86s5Jywa3l97E GYOHV58G1+tqVJMiO6GLeHjtM9UTL/FQbS04zM3bM17jAltTgG1oJx1QU+ATy95T48hI p+iA5upC/gwe4+YxutEZ9jZGglzUPpoNTtBp76yL7h45c/XpYHwHsbzktEmbgp+6YHt7 cP+RMDgwVyx2AhpjwluIGuR/A99KrD3IIZ8sJi+MVMTAU6et39ouihg7eOWK4+Lc5HNm JtKI2m+N5d52farTFelzojLvCKdndnn+5C4DQc0CCLTRXz6obZY9ofQJC/uSOPw0U4QD IIQQ==
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=kFaBonac6vThAgiBXskfuom55VANK/M/10u5TUj05tQ=; b=aV495EguxE9+yckPjugr7Luz7ETp/+SJ5kdCN9xmt943wAxFWzGEWeq1QMTlDYEsVi vLp0UfcGx7h6b6LS9JI5PHR5USdKEVmNNYp2vlQ3USyDRxUpPa4LnMVhEl6Cy2US0JwE 95UKcFzXUnfOYGLF1E/5E4YUFUPDBz3tzcxEm8iD7ihaJfX7ZNwEvAvxVIQhlEnwMNyX vmZNqGmT9VLeDYpiXG4NEaHGyS0QIG5TTHHorxaO+NdppZYxkLrZ8vQi4CgZb6oxdf4+ OYrn/nqbXUKMNqGExu1p78aQ2cd/vr4MvNYeN4+Dj2tt1XmX7vCpcVPg412ZSs24WxSL tt1Q==
X-Gm-Message-State: AA6/9RnU7Z3NlOTHrfB1QGke9An9zxL2MXyoUjr75huAylyg4ZbDGmWNFTabWnBZEn9Z0wxwRtZRUYqQ9wHeJdEY
X-Received: by 10.157.41.235 with SMTP id g40mr4248234otd.158.1476382884339; Thu, 13 Oct 2016 11:21:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.147.66 with HTTP; Thu, 13 Oct 2016 11:21:23 -0700 (PDT)
In-Reply-To: <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com>
From: James Kasten <jdkasten@umich.edu>
Date: Thu, 13 Oct 2016 11:21:23 -0700
Message-ID: <CAAEpsx8etiam-ADfh631UOCj-F2WtVGYdsjw6qWO9CceD-BVEw@mail.gmail.com>
To: Ben Irving <jammin.irving@gmail.com>
Content-Type: multipart/alternative; boundary=001a1141b4e05fb3e7053ec32d95
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/3X25B1c3IHGbWemQpQVMDFnqPHU>
Cc: Tim Small <tim@seoss.co.uk>, "acme@ietf.org" <acme@ietf.org>, cpu@letsencrypt.org
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Thu, 13 Oct 2016 18:21:29 -0000

--001a1141b4e05fb3e7053ec32d95
Content-Type: text/plain; charset=UTF-8

There are a few attack scenarios that "acme.invalid" attempts to account
for.  It protects sites like blogs that may allow users to select
subdomains and upload certificates (x.y.token.blog.com would be potentially
vulnerable).

Multiple virtual hosts on shared hosting environments are also a concern.
Using "acme.invalid" gives a clear indicator to the provider that the
certificate is intended for a challenge. "invalid" is a reserved TLD.
https://tools.ietf.org/html/rfc2606#section-2

In response to Tim.

I agree that including the domain within the challenge would be beneficial
for many deployments. The format of "x.y.token.domain.acme.invalid" has
come up in the past.

The idea was raised to the group at IETF 94, but was rejected for concern
of enterprise deployments going over the DNS byte limit. (DNS names are
restricted to a length of 253)
*https://github.com/ietf-wg-acme/acme/issues/23
<https://github.com/ietf-wg-acme/acme/issues/23>*
http://ietf.org/proceedings/94/minutes/minutes-94-acme

To be fair, the DNS challenge suffers from the same problem with the length
of the DNS entry, though to a lesser degree.

One of my colleagues, Nick Felt, recently ran a censys.io query to see how
many of the existing domains contained within certificates would be unable
to solve SNI challenges formatted like "x.y.token.domain.acme.invalid". He
found that the length restriction would have virtually no impact on the
existing publicly visible ecosystem.  There were only 10 domains over 170
characters long.

Perhaps including the domain should be reconsidered.

Best,
James


On Thu, Oct 13, 2016 at 9:39 AM, Ben Irving <jammin.irving@gmail.com> wrote:

> Hello,
>
> I have ran into a very similar use case. In my case I'm using Haproxy to
> route tcp requests based on the server name indication to upstream web
> servers where the TLS request is terminated. The ACME client is also
> running on these upstream web servers. I'm forced to use HTTP-01 challenges
> and am forced to open up port 80 as well on these upstream servers, which I
> don't want to do. I don't expect the protocol to solve my particular use
> case, but I'm also curious as to why acme.invalid was used as the suffix
> for all TLS-SNI based challenges?
>
> - Ben
>
>
> On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney <cpu@letsencrypt.org>
> wrote:
>
>> Hi Tim,
>>
>> Thanks for sharing your thoughts. This was the first time I've heard
>> about this
>> sort of SNI multiplexing middleware in the context of IPv6 hosting.
>>
>> I'm newer to the list/draft process but I suspect your idea of using
>> "x.y.token.acme.client2-example.com" to support the SNI multiplexing
>> decision
>> will run counter to the intent behind using the ".acme.invalid" suffix as
>> described in the current draft. Perhaps someone with more historical
>> context can
>> help clarify why that particular suffix strategy was selected.
>>
>> It would help me understand your feedback better if you could speak to
>> why it
>> doesn't make more sense for users of this sort of middleware to favour the
>> HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking
>> that
>> using a more appropriate challenge type is preferred to trying to address
>> TLS
>> middleware in the context of the TLS-SNI-02 challenge design. This class
>> of
>> middleware can introduce all sorts of complication that might end up
>> significantly complicating the challenge design.
>>
>> - Daniel/cpu
>>
>>
>> On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <tim@seoss.co.uk> wrote:
>>
>> Hello,
>>
>> Having read draft-ietf-acme-acme-02, and made a number of early
>> deployments using the tls-sni-01 mechanism, I thought I'd highlight what
>> I perceive to be a possible shortcoming with the tls-sni-02 draft.
>>
>> It's becoming more wide-spread (as a result of IPv4 exhaustion) to
>> deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
>> managed web servers.
>>
>> The typical deployment pattern is that a web server is assigned a
>> publicly accessible IPv6 address only - this can be used for direct
>> management and direct IPv6 https requests etc.  The TLS request are
>> terminated on the web server itself.
>>
>> The customer is also informed of an IPv4 addresses to be used for web
>> access by IPv4-only clients, and asked to provide a list of FQDNs which
>> they will serve.  IPv4 https requests are answered by proxy software,
>> which direct the IPv4 https request to the correct web server's IPv6
>> address (or an RFC-1918 IPv4 address etc.) based on SNI.
>>
>> e.g. this haproxy example configuration fragment:
>>
>> use-server customer1-staging if { req.ssl_sni -m beg
>> staging.customer1-example.com }
>> use-server customer2-live if { req.ssl_sni -m beg
>> staging.customer2-example.com }
>>
>>
>> I believe this will become increasingly common-place during the
>> transition to IPv6, and the current form of tls-sni-02 makes it hard to
>> use in this sort of environment.
>>
>> The problem comes when using tls-sni-02 ACME challenges:
>>
>> "The client MUST ensure that the certificate is served to TLS
>> connections specifying a Server Name Indication (SNI) value of SAN A."
>>
>> i.e. the SNI string which the proxy sees during the challenge is always
>> "SAN A" (x.y.token.acme.invalid), for any server for which it acts as
>> the "https switch" for.
>>
>> ... so the proxy has no way of knowing which server the challenge
>> request should be directed to.  Some mechanism by which the proxy can
>> direct the request would be useful.
>>
>> One which may provide an easy route for the service providers offering
>> this sort of setup (many would require no changes to their existing
>> configuration at all) would be to append the FQDN in the TLS SNI value
>> e.g. x.y.token.acme.client2-example.com
>>
>> The client in question may have limited or no influence on the
>> configuration of the SNI proxy, so the more straight-forward the proxy
>> configuration, the-better.
>>
>> For another example of a similar use-case with the same issue:
>>
>> https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
>>
>> HTH,
>>
>> Tim.
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--001a1141b4e05fb3e7053ec32d95
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">There are a few attack scenarios that &quot;acme.invalid&q=
uot; attempts to account for.=C2=A0 It protects sites like blogs that may a=
llow users to select subdomains and upload certificates (<a href=3D"http://=
x.y.token.blog.com">x.y.token.blog.com</a> would be potentially vulnerable)=
.<div><br></div><div>Multiple virtual hosts on shared hosting environments =
are also a concern.=C2=A0 Using &quot;acme.invalid&quot; gives a clear indi=
cator to the provider that the certificate is intended for a challenge.=C2=
=A0&quot;invalid&quot; is a reserved TLD. <a href=3D"https://tools.ietf.org=
/html/rfc2606#section-2">https://tools.ietf.org/html/rfc2606#section-2</a><=
div><br></div></div><div>In response to Tim.=C2=A0</div><div><br></div><div=
>I agree that including the domain within the challenge would be beneficial=
 for many deployments.=C2=A0The format of &quot;x.y.token.domain.acme.inval=
id&quot; has come up in the past.</div><div><br></div><div>The idea was rai=
sed to the group at IETF 94, but was rejected for=C2=A0<font color=3D"#0000=
00"><span style=3D"white-space:pre-wrap">concern of enterprise deployments =
going over the DNS byte limit. (</span></font><span style=3D"color:rgb(33,3=
3,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;fon=
t-size:13px">DNS names are restricted to a length of 253)</span></div><div>=
<u style=3D"color:rgb(126,87,194);font-family:&quot;helvetica neue&quot;,he=
lvetica,arial,sans-serif"><a href=3D"https://github.com/ietf-wg-acme/acme/i=
ssues/23">https://github.com/ietf-wg-acme/acme/issues/23</a></u><span style=
=3D"color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,ar=
ial,sans-serif;font-size:13px"><br></span></div><div><a href=3D"http://ietf=
.org/proceedings/94/minutes/minutes-94-acme" class=3D"gmail_msg" target=3D"=
_blank" style=3D"color:rgb(126,87,194);font-family:&quot;helvetica neue&quo=
t;,helvetica,arial,sans-serif;font-size:13px">http://ietf.org/proceedings/<=
wbr>94/minutes/minutes-94-acme</a><br class=3D"gmail_msg" style=3D"color:rg=
b(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-ser=
if;font-size:13px"></div><div><br></div><div>To be fair, the DNS challenge =
suffers from the same problem with the length of the DNS entry, though to a=
 lesser degree.=C2=A0</div><div><br></div><div>One of my colleagues, Nick F=
elt, recently ran a <a href=3D"http://censys.io">censys.io</a> query to see=
 how many of the existing domains contained within certificates would be un=
able to solve SNI challenges formatted like &quot;x.y.token.domain.acme.inv=
alid&quot;. He found that the length restriction would have virtually no im=
pact on the existing publicly visible ecosystem.=C2=A0 There were only 10 d=
omains over 170 characters long.</div><div><br></div><div>Perhaps including=
 the domain should be reconsidered.</div><div><br></div><div>Best,</div><di=
v>James</div><div><br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Thu, Oct 13, 2016 at 9:39 AM, Ben Irving <span dir=3D"l=
tr">&lt;<a href=3D"mailto:jammin.irving@gmail.com" target=3D"_blank">jammin=
.irving@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><=
div dir=3D"ltr">Hello,<div><br></div><div>I have ran into a very similar us=
e case. In my case I&#39;m using Haproxy to route tcp requests based on the=
 server name indication to upstream web servers where the TLS request is te=
rminated. The ACME client is also running on these upstream web servers. I&=
#39;m forced to use HTTP-01 challenges and am forced to open up port 80 as =
well on these upstream servers, which I don&#39;t want to do. I don&#39;t e=
xpect the protocol to solve my particular use case, but I&#39;m also curiou=
s as to why acme.invalid was used as the suffix for all TLS-SNI based chall=
enges?</div><span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><=
div>- Ben=C2=A0</div><div><br></div></font></span></div><div class=3D"HOEnZ=
b"><div class=3D"h5"><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Thu=
, Oct 13, 2016 at 8:00 AM Daniel McCarney &lt;<a href=3D"mailto:cpu@letsenc=
rypt.org" target=3D"_blank">cpu@letsencrypt.org</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><div dir=3D"ltr" class=3D"m_15502426909435770gm=
ail_msg"><div class=3D"m_15502426909435770gmail_msg">Hi Tim,</div><div clas=
s=3D"m_15502426909435770gmail_msg"><br class=3D"m_15502426909435770gmail_ms=
g"></div><div class=3D"m_15502426909435770gmail_msg">Thanks for sharing you=
r thoughts. This was the first time I&#39;ve heard about this</div><div cla=
ss=3D"m_15502426909435770gmail_msg">sort of SNI multiplexing middleware in =
the context of IPv6 hosting.</div><div class=3D"m_15502426909435770gmail_ms=
g"><br class=3D"m_15502426909435770gmail_msg"></div><div class=3D"m_1550242=
6909435770gmail_msg">I&#39;m newer to the list/draft process but I suspect =
your idea of using</div><div class=3D"m_15502426909435770gmail_msg">&quot;<=
a href=3D"http://x.y.token.acme.client2-example.com" class=3D"m_15502426909=
435770gmail_msg" target=3D"_blank">x.y.token.acme.client2-<wbr>example.com<=
/a>&quot; to support the SNI multiplexing decision</div><div class=3D"m_155=
02426909435770gmail_msg">will run counter to the intent behind using the &q=
uot;.acme.invalid&quot; suffix as</div><div class=3D"m_15502426909435770gma=
il_msg">described in the current draft. Perhaps someone with more historica=
l context can</div><div class=3D"m_15502426909435770gmail_msg">help clarify=
 why that particular suffix strategy was selected.</div><div class=3D"m_155=
02426909435770gmail_msg"><br class=3D"m_15502426909435770gmail_msg"></div><=
div class=3D"m_15502426909435770gmail_msg">It would help me understand your=
 feedback better if you could speak to why it</div><div class=3D"m_15502426=
909435770gmail_msg">doesn&#39;t make more sense for users of this sort of m=
iddleware to favour the</div><div class=3D"m_15502426909435770gmail_msg">HT=
TP-01 or DNS-01 challenge type. My own opinion leans towards thinking that<=
/div><div class=3D"m_15502426909435770gmail_msg">using a more appropriate c=
hallenge type is preferred to trying to address TLS</div><div class=3D"m_15=
502426909435770gmail_msg">middleware in the context of the TLS-SNI-02 chall=
enge design. This class of</div><div class=3D"m_15502426909435770gmail_msg"=
>middleware can introduce all sorts of complication that might end up</div>=
<div class=3D"m_15502426909435770gmail_msg">significantly complicating the =
challenge design.</div><div class=3D"m_15502426909435770gmail_msg"><br clas=
s=3D"m_15502426909435770gmail_msg"></div><div class=3D"m_15502426909435770g=
mail_msg">- Daniel/cpu</div><div class=3D"m_15502426909435770gmail_msg"><br=
 class=3D"m_15502426909435770gmail_msg"></div></div><div class=3D"gmail_ext=
ra m_15502426909435770gmail_msg"><br class=3D"m_15502426909435770gmail_msg"=
><div class=3D"gmail_quote m_15502426909435770gmail_msg">On Wed, Oct 12, 20=
16 at 6:45 AM, Tim Small <span dir=3D"ltr" class=3D"m_15502426909435770gmai=
l_msg">&lt;<a href=3D"mailto:tim@seoss.co.uk" class=3D"m_15502426909435770g=
mail_msg" target=3D"_blank">tim@seoss.co.uk</a>&gt;</span> wrote:<br class=
=3D"m_15502426909435770gmail_msg"><blockquote class=3D"gmail_quote m_155024=
26909435770gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">Hello,<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
Having read draft-ietf-acme-acme-02, and made a number of early<br class=3D=
"m_15502426909435770gmail_msg">
deployments using the tls-sni-01 mechanism, I thought I&#39;d highlight wha=
t<br class=3D"m_15502426909435770gmail_msg">
I perceive to be a possible shortcoming with the tls-sni-02 draft.<br class=
=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
It&#39;s becoming more wide-spread (as a result of IPv4 exhaustion) to<br c=
lass=3D"m_15502426909435770gmail_msg">
deploy TLS SNI &quot;switches&quot; to provide IPv4 connectivity to autonom=
ously<br class=3D"m_15502426909435770gmail_msg">
managed web servers.<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
The typical deployment pattern is that a web server is assigned a<br class=
=3D"m_15502426909435770gmail_msg">
publicly accessible IPv6 address only - this can be used for direct<br clas=
s=3D"m_15502426909435770gmail_msg">
management and direct IPv6 https requests etc.=C2=A0 The TLS request are<br=
 class=3D"m_15502426909435770gmail_msg">
terminated on the web server itself.<br class=3D"m_15502426909435770gmail_m=
sg">
<br class=3D"m_15502426909435770gmail_msg">
The customer is also informed of an IPv4 addresses to be used for web<br cl=
ass=3D"m_15502426909435770gmail_msg">
access by IPv4-only clients, and asked to provide a list of FQDNs which<br =
class=3D"m_15502426909435770gmail_msg">
they will serve.=C2=A0 IPv4 https requests are answered by proxy software,<=
br class=3D"m_15502426909435770gmail_msg">
which direct the IPv4 https request to the correct web server&#39;s IPv6<br=
 class=3D"m_15502426909435770gmail_msg">
address (or an RFC-1918 IPv4 address etc.) based on SNI.<br class=3D"m_1550=
2426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
e.g. this haproxy example configuration fragment:<br class=3D"m_15502426909=
435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
use-server customer1-staging if { req.ssl_sni -m beg<br class=3D"m_15502426=
909435770gmail_msg">
<a href=3D"http://staging.customer1-example.com" rel=3D"noreferrer" class=
=3D"m_15502426909435770gmail_msg" target=3D"_blank">staging.customer1-examp=
le.com</a> }<br class=3D"m_15502426909435770gmail_msg">
use-server customer2-live if { req.ssl_sni -m beg<br class=3D"m_15502426909=
435770gmail_msg">
<a href=3D"http://staging.customer2-example.com" rel=3D"noreferrer" class=
=3D"m_15502426909435770gmail_msg" target=3D"_blank">staging.customer2-examp=
le.com</a> }<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
I believe this will become increasingly common-place during the<br class=3D=
"m_15502426909435770gmail_msg">
transition to IPv6, and the current form of tls-sni-02 makes it hard to<br =
class=3D"m_15502426909435770gmail_msg">
use in this sort of environment.<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
The problem comes when using tls-sni-02 ACME challenges:<br class=3D"m_1550=
2426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
&quot;The client MUST ensure that the certificate is served to TLS<br class=
=3D"m_15502426909435770gmail_msg">
connections specifying a Server Name Indication (SNI) value of SAN A.&quot;=
<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
i.e. the SNI string which the proxy sees during the challenge is always<br =
class=3D"m_15502426909435770gmail_msg">
&quot;SAN A&quot; (x.y.token.acme.invalid), for any server for which it act=
s as<br class=3D"m_15502426909435770gmail_msg">
the &quot;https switch&quot; for.<br class=3D"m_15502426909435770gmail_msg"=
>
<br class=3D"m_15502426909435770gmail_msg">
... so the proxy has no way of knowing which server the challenge<br class=
=3D"m_15502426909435770gmail_msg">
request should be directed to.=C2=A0 Some mechanism by which the proxy can<=
br class=3D"m_15502426909435770gmail_msg">
direct the request would be useful.<br class=3D"m_15502426909435770gmail_ms=
g">
<br class=3D"m_15502426909435770gmail_msg">
One which may provide an easy route for the service providers offering<br c=
lass=3D"m_15502426909435770gmail_msg">
this sort of setup (many would require no changes to their existing<br clas=
s=3D"m_15502426909435770gmail_msg">
configuration at all) would be to append the FQDN in the TLS SNI value<br c=
lass=3D"m_15502426909435770gmail_msg">
e.g. <a href=3D"http://x.y.token.acme.client2-example.com" rel=3D"noreferre=
r" class=3D"m_15502426909435770gmail_msg" target=3D"_blank">x.y.token.acme.=
client2-<wbr>example.com</a><br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
The client in question may have limited or no influence on the<br class=3D"=
m_15502426909435770gmail_msg">
configuration of the SNI proxy, so the more straight-forward the proxy<br c=
lass=3D"m_15502426909435770gmail_msg">
configuration, the-better.<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
For another example of a similar use-case with the same issue:<br class=3D"=
m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
<a href=3D"https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/"=
 rel=3D"noreferrer" class=3D"m_15502426909435770gmail_msg" target=3D"_blank=
">https://scriptthe.net/2015/02/<wbr>08/pass-through-ssl-with-<wbr>haproxy/=
</a><br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
HTH,<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
Tim.<br class=3D"m_15502426909435770gmail_msg">
<br class=3D"m_15502426909435770gmail_msg">
______________________________<wbr>_________________<br class=3D"m_15502426=
909435770gmail_msg">
Acme mailing list<br class=3D"m_15502426909435770gmail_msg">
<a href=3D"mailto:Acme@ietf.org" class=3D"m_15502426909435770gmail_msg" tar=
get=3D"_blank">Acme@ietf.org</a><br class=3D"m_15502426909435770gmail_msg">
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" c=
lass=3D"m_15502426909435770gmail_msg" target=3D"_blank">https://www.ietf.or=
g/mailman/<wbr>listinfo/acme</a><br class=3D"m_15502426909435770gmail_msg">
</blockquote></div><br class=3D"m_15502426909435770gmail_msg"></div>
______________________________<wbr>_________________<br class=3D"m_15502426=
909435770gmail_msg">
Acme mailing list<br class=3D"m_15502426909435770gmail_msg">
<a href=3D"mailto:Acme@ietf.org" class=3D"m_15502426909435770gmail_msg" tar=
get=3D"_blank">Acme@ietf.org</a><br class=3D"m_15502426909435770gmail_msg">
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" c=
lass=3D"m_15502426909435770gmail_msg" target=3D"_blank">https://www.ietf.or=
g/mailman/<wbr>listinfo/acme</a><br class=3D"m_15502426909435770gmail_msg">
</blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div>

--001a1141b4e05fb3e7053ec32d95--


From nobody Thu Oct 13 11:58:38 2016
Return-Path: <ilariliusvaara@welho.com>
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 870D912950C for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 11:58:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.896
X-Spam-Level: 
X-Spam-Status: No, score=-4.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.996] autolearn=ham autolearn_force=no
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 UmobnEV_rzMv for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 11:58:34 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 80516129502 for <acme@ietf.org>; Thu, 13 Oct 2016 11:58:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 9718F12F95; Thu, 13 Oct 2016 21:58:32 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id b934T8Hn6Z2L; Thu, 13 Oct 2016 21:58:32 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-237-87.bb.dnainternet.fi [87.100.237.87]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 5E93F2310; Thu, 13 Oct 2016 21:58:32 +0300 (EEST)
Date: Thu, 13 Oct 2016 21:58:25 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Ben Irving <jammin.irving@gmail.com>
Message-ID: <20161013185825.GA23685@LK-Perkele-V2.elisa-laajakaista.fi>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/phhZzsPU1nH1YI5iTSggupSNStA>
Cc: Tim Small <tim@seoss.co.uk>, acme@ietf.org, cpu@letsencrypt.org
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Thu, 13 Oct 2016 18:58:36 -0000

On Thu, Oct 13, 2016 at 04:39:39PM +0000, Ben Irving wrote:
> Hello,
> 
> I have ran into a very similar use case. In my case I'm using Haproxy to
> route tcp requests based on the server name indication to upstream web
> servers where the TLS request is terminated. The ACME client is also
> running on these upstream web servers. I'm forced to use HTTP-01 challenges
> and am forced to open up port 80 as well on these upstream servers, which I
> don't want to do. I don't expect the protocol to solve my particular use
> case, but I'm also curious as to why acme.invalid was used as the suffix
> for all TLS-SNI based challenges?

One possible way to work around these sort of issues would be allowing
programmatic runtime routing control for the TLS demuxer.

And then have proxy service that validates the submitted CSRs and then
tries to obtain certificates for those.

(Allowing webservers to directly set routes would allow them to obtain
certs for other domains hosted behind the same loadbalancer.)


-Ilari


From nobody Thu Oct 13 13:10:54 2016
Return-Path: <ietf@alandoherty.net>
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 1DBD91295E2 for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 13:10:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001] autolearn=no autolearn_force=no
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 nuB6oZHRxTmt for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 13:10:51 -0700 (PDT)
Received: from bigsvr.orionnetworks.ie (hosting.orionnetworks.ie [195.2.202.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DDAD129569 for <acme@ietf.org>; Thu, 13 Oct 2016 13:10:50 -0700 (PDT)
Received: from host249.freudenhaus.alandoherty.net ([193.120.128.249]:1591 helo=alans-p4.alandoherty.net) by bigsvr.orionnetworks.ie with esmtpsa(TLSv1:DHE-RSA-AES256-SHA:256) (auth-as tel1) (nexus 1.3.4.80.1) (envelope-from <ietf@alandoherty.net>) id 1bumIU-0002Fl-Kb ; Thu, 13 Oct 2016 20:08:17 +0000
X-AD-RPFS-HEAD: for info on below codes http://www.alandoherty.net/mailsystem/mail-tagging/
X-AD-RPFS-GOOD-0: AV-SCAN-PASS SA-SCORE--1.7 SA-BAR-(-)
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Thu, 13 Oct 2016 21:10:38 +0100
To: Ben Irving <jammin.irving@gmail.com>,cpu@letsencrypt.org, Tim Small <tim@seoss.co.uk>
From: Alan Doherty <ietf@alandoherty.net>
In-Reply-To: <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.g mail.com>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Message-Id: <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie>
X-VIRUS: NONE {no virus found, This is no guarentee}
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/Li_GjVVtuh8t5LiYKVmEPrBhzEs>
Cc: acme@ietf.org
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Thu, 13 Oct 2016 20:10:53 -0000

At 17:39 13/10/2016  Thursday, Ben Irving wrote:
>Hello,
>
>I have ran into a very similar use case. In my case I'm using Haproxy to route tcp requests based on the server name indication to upstream web servers where the TLS request is terminated. The ACME client is also running on these upstream web servers. I'm forced to use HTTP-01 challenges and am forced to open up port 80 as well on these upstream servers, which I don't want to do. I don't expect the protocol to solve my particular use case, but I'm also curious as to why acme.invalid was used as the suffix for all TLS-SNI based challenges?

you shouldnt have to open port 80 to upstreams
(assuming on the haproxy you do the normal http redirecting on port 80  aka requests for http://whatever get a 301 redirect to https://same-domain/same-path


as the http-01 challenge will happily follow redirects and thus find/connect to https://whatever-domain/acme-specific-url


>- BenÂ 
>
>
>On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney <<mailto:cpu@letsencrypt.org>cpu@letsencrypt.org> wrote:
>Hi Tim,
>
>Thanks for sharing your thoughts. This was the first time I've heard about this
>sort of SNI multiplexing middleware in the context of IPv6 hosting.
>
>I'm newer to the list/draft process but I suspect your idea of using
>"<http://x.y.token.acme.client2-example.com>x.y.token.acme.client2-example.com" to support the SNI multiplexing decision
>will run counter to the intent behind using the ".acme.invalid" suffix as
>described in the current draft. Perhaps someone with more historical context can
>help clarify why that particular suffix strategy was selected.
>
>It would help me understand your feedback better if you could speak to why it
>doesn't make more sense for users of this sort of middleware to favour the
>HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking that
>using a more appropriate challenge type is preferred to trying to address TLS
>middleware in the context of the TLS-SNI-02 challenge design. This class of
>middleware can introduce all sorts of complication that might end up
>significantly complicating the challenge design.
>
>- Daniel/cpu
>
>
>On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <<mailto:tim@seoss.co.uk>tim@seoss.co.uk> wrote:
>Hello,
>
>Having read draft-ietf-acme-acme-02, and made a number of early
>deployments using the tls-sni-01 mechanism, I thought I'd highlight what
>I perceive to be a possible shortcoming with the tls-sni-02 draft.
>
>It's becoming more wide-spread (as a result of IPv4 exhaustion) to
>deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
>managed web servers.
>
>The typical deployment pattern is that a web server is assigned a
>publicly accessible IPv6 address only - this can be used for direct
>management and direct IPv6 https requests etc.Â  The TLS request are
>terminated on the web server itself.
>
>The customer is also informed of an IPv4 addresses to be used for web
>access by IPv4-only clients, and asked to provide a list of FQDNs which
>they will serve.Â  IPv4 https requests are answered by proxy software,
>which direct the IPv4 https request to the correct web server's IPv6
>address (or an RFC-1918 IPv4 address etc.) based on SNI.
>
>e.g. this haproxy example configuration fragment:
>
>use-server customer1-staging if { req.ssl_sni -m beg
><http://staging.customer1-example.com>staging.customer1-example.com }
>use-server customer2-live if { req.ssl_sni -m beg
><http://staging.customer2-example.com>staging.customer2-example.com }
>
>
>I believe this will become increasingly common-place during the
>transition to IPv6, and the current form of tls-sni-02 makes it hard to
>use in this sort of environment.
>
>The problem comes when using tls-sni-02 ACME challenges:
>
>"The client MUST ensure that the certificate is served to TLS
>connections specifying a Server Name Indication (SNI) value of SAN A."
>
>i.e. the SNI string which the proxy sees during the challenge is always
>"SAN A" (x.y.token.acme.invalid), for any server for which it acts as
>the "https switch" for.
>
>... so the proxy has no way of knowing which server the challenge
>request should be directed to.Â  Some mechanism by which the proxy can
>direct the request would be useful.
>
>One which may provide an easy route for the service providers offering
>this sort of setup (many would require no changes to their existing
>configuration at all) would be to append the FQDN in the TLS SNI value
>e.g. <http://x.y.token.acme.client2-example.com>x.y.token.acme.client2-example.com
>
>The client in question may have limited or no influence on the
>configuration of the SNI proxy, so the more straight-forward the proxy
>configuration, the-better.
>
>For another example of a similar use-case with the same issue:
>
><https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/>https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
>
>HTH,
>
>Tim.
>
>_______________________________________________
>Acme mailing list
><mailto:Acme@ietf.org>Acme@ietf.org
>https://www.ietf.org/mailman/listinfo/acme
>
>
>_______________________________________________
>Acme mailing list
><mailto:Acme@ietf.org>Acme@ietf.org
>https://www.ietf.org/mailman/listinfo/acme
>
>_______________________________________________
>Acme mailing list
>Acme@ietf.org
>https://www.ietf.org/mailman/listinfo/acme


From nobody Thu Oct 13 21:07:16 2016
Return-Path: <hlandau@devever.net>
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 1FE451295FB for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 21:07:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.997
X-Spam-Level: 
X-Spam-Status: No, score=-4.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 Mmh3_st-EKH4 for <acme@ietfa.amsl.com>; Thu, 13 Oct 2016 21:07:13 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D19C12943F for <acme@ietf.org>; Thu, 13 Oct 2016 21:07:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 9F2611C5FF; Fri, 14 Oct 2016 06:07:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mimas; t=1476418031; x=1494607392; bh=vN35VIKMTQc2sIgBXt6CZjez7vkTj4G6QiZWfAjBNXM=; b= M9bqymeTor4NBCuLOOwYhD5nnBgzvvHMqDCZIHpOySp3zWkAr6/gv2wO3smPpfsU gj3gQFPbqG9bBIQMQAND7cMv21VMhxiXWIbpXyOrBcLpqP1yjTEGrQnfIpXlB8fG H3rMZdv1aiW2FkQp3o81MHN78cE24NRtPI3tGaOrScpSr3Jx+AL+XDZAFgFC5AU4 1OhBLWfYehnddmJqAbqJk7rKVzUhwWC1T6voN++YfBMSYGXXJsr1zl1uZgmOByAr J0IC4FWUZlZh/2W/lMc1hgyRco+eXQfsAxcSbh5a8bCPky0908a4B6s6mB4qap/j dQ7MRRJGNjaIygsfTbax5A==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id R5lEFr_esgNK; Fri, 14 Oct 2016 06:07:11 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 6BBCF1C5DB; Fri, 14 Oct 2016 06:07:11 +0200 (CEST)
Date: Fri, 14 Oct 2016 05:07:11 +0100
From: Hugo Landau <hlandau@devever.net>
To: James Kasten <jdkasten@umich.edu>
Message-ID: <20161014040711.GA28199@andover.lhh.devever.net>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com> <CAAEpsx8etiam-ADfh631UOCj-F2WtVGYdsjw6qWO9CceD-BVEw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAAEpsx8etiam-ADfh631UOCj-F2WtVGYdsjw6qWO9CceD-BVEw@mail.gmail.com>
User-Agent: Mutt/1.7.0 (2016-08-17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/lffT-OfciPCMrdyp7DFD0sq9yDM>
Cc: acme@ietf.org
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Fri, 14 Oct 2016 04:07:15 -0000

Perhaps clients should be allowed to specify a 'routing key' when
requesting that TLS-SNI validation be performed.

The name used would be:

  x.y.ROUTING-KEY.token.acme.invalid.

The routing key would be limited in length, up to say 16-32 bytes and
must be a single DNS label in [a-z0-9-]{1,63}.

If a routing key isn't specified, a routing key of "default" can be used.

Hugo Landau


From nobody Fri Oct 14 08:32:18 2016
Return-Path: <jammin.irving@gmail.com>
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 8148A129520 for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 08:32:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=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 wwdCy0rJJlGN for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 08:32:11 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 3CDF71294FD for <acme@ietf.org>; Fri, 14 Oct 2016 08:32:11 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id o19so14257606ito.1 for <acme@ietf.org>; Fri, 14 Oct 2016 08:32:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=omECC0qdzDqz2UUfva8zNF98LMYxK2j88yDVIpdG+k4=; b=McZ0wA3d5TKZts87JhevRjYHoTMRB8PHGuE9ixZL8czLD29XC68+Rv+AlC+2KtGG7+ sAr1Wp4JdpULozq92EC/6Q3EZm01XDUoqGerMn8g/AtEkDSVjJHW5T0azFm+lEDk6hjP skz1inBuCWNqEsUlu0FKoY9ZMSWhdISgNK0F7OWl4k2mu0oI+sheoLr2Eym/t7cw3U13 nPjCGqMYizHZJ2BNrDkAKrzSe9EQ3qSc6I25UNQ3yTDtrY2sEXPnxexjyNizKuE+9oEa ADWbjZg4aUgD88Mbey1jDvZXmPxmWlxB1mhBiE8u5ZCNvWz1NAf9Nw6a4nFm8rJHMvgK N1vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=omECC0qdzDqz2UUfva8zNF98LMYxK2j88yDVIpdG+k4=; b=Vuh0L9l0mpb/fHjXOsiUg4a7zvnCqNqyNLQMVyefI1XNoH0EHL3gejawjvzSONv7KV WFEsDkkNmuvC+849QKjuNycWIDYAzx+KZzsAlqbVyF9WwjuoLVazn7IbR5L+g1DiAEXi aOcbnN8NR22MjloX0WAK0/SntT+3R+k9VIBWe85snTq2rDMoYTu+USubLl0Klcae2Wo6 pnDMdJU3Ip6Z3T22e4cBPgF1duw1EJhMuvqt4/IBHGWm3IEE/k1EDDZ8ESGvYZP8FtIa m3cu40edR5M2w0d1lBOCWYd4dR5aKJqRXfZDMuwe6iT/e10EDotWXYrQhnRVjMeqI0Qj GC4A==
X-Gm-Message-State: AA6/9RkeDDPYraVLe7KndVzJOQ8jiM/a7+SYnqaGrF753J75kYG9qBwTfZizB8OWnKnOL70xEBaZfgfJTuq6SQ==
X-Received: by 10.36.127.20 with SMTP id r20mr14065774itc.16.1476459130426; Fri, 14 Oct 2016 08:32:10 -0700 (PDT)
MIME-Version: 1.0
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com> <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie>
In-Reply-To: <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie>
From: Ben Irving <jammin.irving@gmail.com>
Date: Fri, 14 Oct 2016 15:31:59 +0000
Message-ID: <CAAKia74ijuSxRSsZPu5Gwn2ZP9YAKwKmYvtdrtg3FoxaC-LEBA@mail.gmail.com>
To: Alan Doherty <ietf@alandoherty.net>, "acme@ietf.org" <acme@ietf.org>
Content-Type: multipart/alternative; boundary=001a1147c2f8fe98b9053ed4ed01
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/EwyASBlLPt2IR9SNjc8W9PwNOuw>
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Fri, 14 Oct 2016 15:32:16 -0000

--001a1147c2f8fe98b9053ed4ed01
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 13, 2016 at 1:10 PM Alan Doherty <ietf@alandoherty.net> wrote:

> At 17:39 13/10/2016  Thursday, Ben Irving wrote:
> >Hello,
> >
> >I have ran into a very similar use case. In my case I'm using Haproxy to
> route tcp requests based on the server name indication to upstream web
> servers where the TLS request is terminated. The ACME client is also
> running on these upstream web servers. I'm forced to use HTTP-01 challeng=
es
> and am forced to open up port 80 as well on these upstream servers, which=
 I
> don't want to do. I don't expect the protocol to solve my particular use
> case, but I'm also curious as to why acme.invalid was used as the suffix
> for all TLS-SNI based challenges?
>
> you shouldnt have to open port 80 to upstreams
> (assuming on the haproxy you do the normal http redirecting on port 80
> aka requests for http://whatever get a 301 redirect to
> https://same-domain/same-path

Maybe I'm misunderstanding, but I don't think there is an ACME client that
runs on port 443 for challenge type http-01. The major hurdle here is that
I'm running the ACME client upstream. However, since I'm not able to route
the TLS-SNI challenges to the correct upstream client, I'm forced to use
HTTP-01 and open up port 80.

>


>
>
> as the http-01 challenge will happily follow redirects and thus
> find/connect to https://whatever-domain/acme-specific-url
>
>
> >- Ben=C3=82
> >
> >
> >On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney <<mailto:
> cpu@letsencrypt.org>cpu@letsencrypt.org> wrote:
> >Hi Tim,
> >
> >Thanks for sharing your thoughts. This was the first time I've heard
> about this
> >sort of SNI multiplexing middleware in the context of IPv6 hosting.
> >
> >I'm newer to the list/draft process but I suspect your idea of using
> >"<http://x.y.token.acme.client2-example.com>
> x.y.token.acme.client2-example.com" to support the SNI multiplexing
> decision
> >will run counter to the intent behind using the ".acme.invalid" suffix a=
s
> >described in the current draft. Perhaps someone with more historical
> context can
> >help clarify why that particular suffix strategy was selected.
> >
> >It would help me understand your feedback better if you could speak to
> why it
> >doesn't make more sense for users of this sort of middleware to favour t=
he
> >HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking
> that
> >using a more appropriate challenge type is preferred to trying to addres=
s
> TLS
> >middleware in the context of the TLS-SNI-02 challenge design. This class
> of
> >middleware can introduce all sorts of complication that might end up
> >significantly complicating the challenge design.
> >
> >- Daniel/cpu
> >
> >
> >On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <<mailto:tim@seoss.co.uk>
> tim@seoss.co.uk> wrote:
> >Hello,
> >
> >Having read draft-ietf-acme-acme-02, and made a number of early
> >deployments using the tls-sni-01 mechanism, I thought I'd highlight what
> >I perceive to be a possible shortcoming with the tls-sni-02 draft.
> >
> >It's becoming more wide-spread (as a result of IPv4 exhaustion) to
> >deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
> >managed web servers.
> >
> >The typical deployment pattern is that a web server is assigned a
> >publicly accessible IPv6 address only - this can be used for direct
> >management and direct IPv6 https requests etc.=C3=82  The TLS request ar=
e
> >terminated on the web server itself.
> >
> >The customer is also informed of an IPv4 addresses to be used for web
> >access by IPv4-only clients, and asked to provide a list of FQDNs which
> >they will serve.=C3=82  IPv4 https requests are answered by proxy softwa=
re,
> >which direct the IPv4 https request to the correct web server's IPv6
> >address (or an RFC-1918 IPv4 address etc.) based on SNI.
> >
> >e.g. this haproxy example configuration fragment:
> >
> >use-server customer1-staging if { req.ssl_sni -m beg
> ><http://staging.customer1-example.com>staging.customer1-example.com }
> >use-server customer2-live if { req.ssl_sni -m beg
> ><http://staging.customer2-example.com>staging.customer2-example.com }
> >
> >
> >I believe this will become increasingly common-place during the
> >transition to IPv6, and the current form of tls-sni-02 makes it hard to
> >use in this sort of environment.
> >
> >The problem comes when using tls-sni-02 ACME challenges:
> >
> >"The client MUST ensure that the certificate is served to TLS
> >connections specifying a Server Name Indication (SNI) value of SAN A."
> >
> >i.e. the SNI string which the proxy sees during the challenge is always
> >"SAN A" (x.y.token.acme.invalid), for any server for which it acts as
> >the "https switch" for.
> >
> >... so the proxy has no way of knowing which server the challenge
> >request should be directed to.=C3=82  Some mechanism by which the proxy =
can
> >direct the request would be useful.
> >
> >One which may provide an easy route for the service providers offering
> >this sort of setup (many would require no changes to their existing
> >configuration at all) would be to append the FQDN in the TLS SNI value
> >e.g. <http://x.y.token.acme.client2-example.com>
> x.y.token.acme.client2-example.com
> >
> >The client in question may have limited or no influence on the
> >configuration of the SNI proxy, so the more straight-forward the proxy
> >configuration, the-better.
> >
> >For another example of a similar use-case with the same issue:
> >
> ><https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/>
> https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
> >
> >HTH,
> >
> >Tim.
> >
> >_______________________________________________
> >Acme mailing list
> ><mailto:Acme@ietf.org>Acme@ietf.org
> >https://www.ietf.org/mailman/listinfo/acme
> >
> >
> >_______________________________________________
> >Acme mailing list
> ><mailto:Acme@ietf.org>Acme@ietf.org
> >https://www.ietf.org/mailman/listinfo/acme
> >
> >_______________________________________________
> >Acme mailing list
> >Acme@ietf.org
> >https://www.ietf.org/mailman/listinfo/acme
>
>

--001a1147c2f8fe98b9053ed4ed01
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Thu=
, Oct 13, 2016 at 1:10 PM Alan Doherty &lt;<a href=3D"mailto:ietf@alandoher=
ty.net">ietf@alandoherty.net</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">At 17:39 13/10/2016=C2=A0 Thursday, Ben Irving wrote:<br class=3D"=
gmail_msg">
&gt;Hello,<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;I have ran into a very similar use case. In my case I&#39;m using Hapro=
xy to route tcp requests based on the server name indication to upstream we=
b servers where the TLS request is terminated. The ACME client is also runn=
ing on these upstream web servers. I&#39;m forced to use HTTP-01 challenges=
 and am forced to open up port 80 as well on these upstream servers, which =
I don&#39;t want to do. I don&#39;t expect the protocol to solve my particu=
lar use case, but I&#39;m also curious as to why acme.invalid was used as t=
he suffix for all TLS-SNI based challenges?<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
you shouldnt have to open port 80 to upstreams<br class=3D"gmail_msg">
(assuming on the haproxy you do the normal http redirecting on port 80=C2=
=A0 aka requests for <a href=3D"http://whatever" rel=3D"noreferrer" class=
=3D"gmail_msg" target=3D"_blank">http://whatever</a> get a 301 redirect to =
<a href=3D"https://same-domain/same-path" rel=3D"noreferrer" class=3D"gmail=
_msg" target=3D"_blank">https://same-domain/same-path</a></blockquote><div>=
Maybe I&#39;m misunderstanding, but I don&#39;t think there is an ACME clie=
nt that runs on port 443 for challenge type http-01. The major hurdle here =
is that I&#39;m running the ACME client upstream. However, since I&#39;m no=
t able to route the TLS-SNI challenges to the correct upstream client, I&#3=
9;m forced to use HTTP-01 and open up port 80.=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">=C2=A0</blockquote><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class=
=3D"gmail_msg">
<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
as the http-01 challenge will happily follow redirects and thus find/connec=
t to <a href=3D"https://whatever-domain/acme-specific-url" rel=3D"noreferre=
r" class=3D"gmail_msg" target=3D"_blank">https://whatever-domain/acme-speci=
fic-url</a><br class=3D"gmail_msg">
<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
&gt;- Ben=C3=82<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney &lt;&lt;mailto:<a href=
=3D"mailto:cpu@letsencrypt.org" class=3D"gmail_msg" target=3D"_blank">cpu@l=
etsencrypt.org</a>&gt;<a href=3D"mailto:cpu@letsencrypt.org" class=3D"gmail=
_msg" target=3D"_blank">cpu@letsencrypt.org</a>&gt; wrote:<br class=3D"gmai=
l_msg">
&gt;Hi Tim,<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;Thanks for sharing your thoughts. This was the first time I&#39;ve hear=
d about this<br class=3D"gmail_msg">
&gt;sort of SNI multiplexing middleware in the context of IPv6 hosting.<br =
class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;I&#39;m newer to the list/draft process but I suspect your idea of usin=
g<br class=3D"gmail_msg">
&gt;&quot;&lt;<a href=3D"http://x.y.token.acme.client2-example.com" rel=3D"=
noreferrer" class=3D"gmail_msg" target=3D"_blank">http://x.y.token.acme.cli=
ent2-example.com</a>&gt;<a href=3D"http://x.y.token.acme.client2-example.co=
m" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">x.y.token.acme.=
client2-example.com</a>&quot; to support the SNI multiplexing decision<br c=
lass=3D"gmail_msg">
&gt;will run counter to the intent behind using the &quot;.acme.invalid&quo=
t; suffix as<br class=3D"gmail_msg">
&gt;described in the current draft. Perhaps someone with more historical co=
ntext can<br class=3D"gmail_msg">
&gt;help clarify why that particular suffix strategy was selected.<br class=
=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;It would help me understand your feedback better if you could speak to =
why it<br class=3D"gmail_msg">
&gt;doesn&#39;t make more sense for users of this sort of middleware to fav=
our the<br class=3D"gmail_msg">
&gt;HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking=
 that<br class=3D"gmail_msg">
&gt;using a more appropriate challenge type is preferred to trying to addre=
ss TLS<br class=3D"gmail_msg">
&gt;middleware in the context of the TLS-SNI-02 challenge design. This clas=
s of<br class=3D"gmail_msg">
&gt;middleware can introduce all sorts of complication that might end up<br=
 class=3D"gmail_msg">
&gt;significantly complicating the challenge design.<br class=3D"gmail_msg"=
>
&gt;<br class=3D"gmail_msg">
&gt;- Daniel/cpu<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;On Wed, Oct 12, 2016 at 6:45 AM, Tim Small &lt;&lt;mailto:<a href=3D"ma=
ilto:tim@seoss.co.uk" class=3D"gmail_msg" target=3D"_blank">tim@seoss.co.uk=
</a>&gt;<a href=3D"mailto:tim@seoss.co.uk" class=3D"gmail_msg" target=3D"_b=
lank">tim@seoss.co.uk</a>&gt; wrote:<br class=3D"gmail_msg">
&gt;Hello,<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;Having read draft-ietf-acme-acme-02, and made a number of early<br clas=
s=3D"gmail_msg">
&gt;deployments using the tls-sni-01 mechanism, I thought I&#39;d highlight=
 what<br class=3D"gmail_msg">
&gt;I perceive to be a possible shortcoming with the tls-sni-02 draft.<br c=
lass=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;It&#39;s becoming more wide-spread (as a result of IPv4 exhaustion) to<=
br class=3D"gmail_msg">
&gt;deploy TLS SNI &quot;switches&quot; to provide IPv4 connectivity to aut=
onomously<br class=3D"gmail_msg">
&gt;managed web servers.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;The typical deployment pattern is that a web server is assigned a<br cl=
ass=3D"gmail_msg">
&gt;publicly accessible IPv6 address only - this can be used for direct<br =
class=3D"gmail_msg">
&gt;management and direct IPv6 https requests etc.=C3=82=C2=A0 The TLS requ=
est are<br class=3D"gmail_msg">
&gt;terminated on the web server itself.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;The customer is also informed of an IPv4 addresses to be used for web<b=
r class=3D"gmail_msg">
&gt;access by IPv4-only clients, and asked to provide a list of FQDNs which=
<br class=3D"gmail_msg">
&gt;they will serve.=C3=82=C2=A0 IPv4 https requests are answered by proxy =
software,<br class=3D"gmail_msg">
&gt;which direct the IPv4 https request to the correct web server&#39;s IPv=
6<br class=3D"gmail_msg">
&gt;address (or an RFC-1918 IPv4 address etc.) based on SNI.<br class=3D"gm=
ail_msg">
&gt;<br class=3D"gmail_msg">
&gt;e.g. this haproxy example configuration fragment:<br class=3D"gmail_msg=
">
&gt;<br class=3D"gmail_msg">
&gt;use-server customer1-staging if { req.ssl_sni -m beg<br class=3D"gmail_=
msg">
&gt;&lt;<a href=3D"http://staging.customer1-example.com" rel=3D"noreferrer"=
 class=3D"gmail_msg" target=3D"_blank">http://staging.customer1-example.com=
</a>&gt;<a href=3D"http://staging.customer1-example.com" rel=3D"noreferrer"=
 class=3D"gmail_msg" target=3D"_blank">staging.customer1-example.com</a> }<=
br class=3D"gmail_msg">
&gt;use-server customer2-live if { req.ssl_sni -m beg<br class=3D"gmail_msg=
">
&gt;&lt;<a href=3D"http://staging.customer2-example.com" rel=3D"noreferrer"=
 class=3D"gmail_msg" target=3D"_blank">http://staging.customer2-example.com=
</a>&gt;<a href=3D"http://staging.customer2-example.com" rel=3D"noreferrer"=
 class=3D"gmail_msg" target=3D"_blank">staging.customer2-example.com</a> }<=
br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;I believe this will become increasingly common-place during the<br clas=
s=3D"gmail_msg">
&gt;transition to IPv6, and the current form of tls-sni-02 makes it hard to=
<br class=3D"gmail_msg">
&gt;use in this sort of environment.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;The problem comes when using tls-sni-02 ACME challenges:<br class=3D"gm=
ail_msg">
&gt;<br class=3D"gmail_msg">
&gt;&quot;The client MUST ensure that the certificate is served to TLS<br c=
lass=3D"gmail_msg">
&gt;connections specifying a Server Name Indication (SNI) value of SAN A.&q=
uot;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;i.e. the SNI string which the proxy sees during the challenge is always=
<br class=3D"gmail_msg">
&gt;&quot;SAN A&quot; (x.y.token.acme.invalid), for any server for which it=
 acts as<br class=3D"gmail_msg">
&gt;the &quot;https switch&quot; for.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;... so the proxy has no way of knowing which server the challenge<br cl=
ass=3D"gmail_msg">
&gt;request should be directed to.=C3=82=C2=A0 Some mechanism by which the =
proxy can<br class=3D"gmail_msg">
&gt;direct the request would be useful.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;One which may provide an easy route for the service providers offering<=
br class=3D"gmail_msg">
&gt;this sort of setup (many would require no changes to their existing<br =
class=3D"gmail_msg">
&gt;configuration at all) would be to append the FQDN in the TLS SNI value<=
br class=3D"gmail_msg">
&gt;e.g. &lt;<a href=3D"http://x.y.token.acme.client2-example.com" rel=3D"n=
oreferrer" class=3D"gmail_msg" target=3D"_blank">http://x.y.token.acme.clie=
nt2-example.com</a>&gt;<a href=3D"http://x.y.token.acme.client2-example.com=
" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">x.y.token.acme.c=
lient2-example.com</a><br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;The client in question may have limited or no influence on the<br class=
=3D"gmail_msg">
&gt;configuration of the SNI proxy, so the more straight-forward the proxy<=
br class=3D"gmail_msg">
&gt;configuration, the-better.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;For another example of a similar use-case with the same issue:<br class=
=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;&lt;<a href=3D"https://scriptthe.net/2015/02/08/pass-through-ssl-with-h=
aproxy/" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">https://s=
criptthe.net/2015/02/08/pass-through-ssl-with-haproxy/</a>&gt;<a href=3D"ht=
tps://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/" rel=3D"noref=
errer" class=3D"gmail_msg" target=3D"_blank">https://scriptthe.net/2015/02/=
08/pass-through-ssl-with-haproxy/</a><br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;HTH,<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;Tim.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;_______________________________________________<br class=3D"gmail_msg">
&gt;Acme mailing list<br class=3D"gmail_msg">
&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" target=
=3D"_blank">Acme@ietf.org</a>&gt;<a href=3D"mailto:Acme@ietf.org" class=3D"=
gmail_msg" target=3D"_blank">Acme@ietf.org</a><br class=3D"gmail_msg">
&gt;<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferre=
r" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/listi=
nfo/acme</a><br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;_______________________________________________<br class=3D"gmail_msg">
&gt;Acme mailing list<br class=3D"gmail_msg">
&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" target=
=3D"_blank">Acme@ietf.org</a>&gt;<a href=3D"mailto:Acme@ietf.org" class=3D"=
gmail_msg" target=3D"_blank">Acme@ietf.org</a><br class=3D"gmail_msg">
&gt;<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferre=
r" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/listi=
nfo/acme</a><br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;_______________________________________________<br class=3D"gmail_msg">
&gt;Acme mailing list<br class=3D"gmail_msg">
&gt;<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" target=3D"_blank">=
Acme@ietf.org</a><br class=3D"gmail_msg">
&gt;<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferre=
r" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/listi=
nfo/acme</a><br class=3D"gmail_msg">
<br class=3D"gmail_msg">
</blockquote></div></div>

--001a1147c2f8fe98b9053ed4ed01--


From nobody Fri Oct 14 09:53:33 2016
Return-Path: <ietf@alandoherty.net>
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 1D98C1294E1 for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 09:53:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001] autolearn=no autolearn_force=no
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 fH1UQnK_3oOj for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 09:53:28 -0700 (PDT)
Received: from bigsvr.orionnetworks.ie (hosting.orionnetworks.ie [195.2.202.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A6E2127077 for <acme@ietf.org>; Fri, 14 Oct 2016 09:53:28 -0700 (PDT)
Received: from host249.freudenhaus.alandoherty.net ([193.120.128.249]:2095 helo=alans-p4.alandoherty.net) by bigsvr.orionnetworks.ie with esmtpsa(TLSv1:DHE-RSA-AES256-SHA:256) (auth-as tel1) (nexus 1.3.4.80.1) (envelope-from <ietf@alandoherty.net>) id 1bv5h7-0006KZ-1M ; Fri, 14 Oct 2016 16:50:56 +0000
X-AD-RPFS-HEAD: for info on below codes http://www.alandoherty.net/mailsystem/mail-tagging/
X-AD-RPFS-GOOD-0: AV-SCAN-PASS SA-SCORE--1.6 SA-BAR-(-)
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 14 Oct 2016 17:53:22 +0100
To: Ben Irving <jammin.irving@gmail.com>,"acme@ietf.org" <acme@ietf.org>
From: Alan Doherty <ietf@alandoherty.net>
In-Reply-To: <CAAKia74ijuSxRSsZPu5Gwn2ZP9YAKwKmYvtdrtg3FoxaC-LEBA@mail.g mail.com>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com> <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie> <CAAKia74ijuSxRSsZPu5Gwn2ZP9YAKwKmYvtdrtg3FoxaC-LEBA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Message-Id: <E1bv5h7-0006KZ-1M@bigsvr.orionnetworks.ie>
X-VIRUS: NONE {no virus found, This is no guarentee}
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/roBl3klL-6UFZdTHYQQA_WZ3SbE>
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Fri, 14 Oct 2016 16:53:31 -0000

At 16:31 14/10/2016  Friday, Ben Irving wrote:


>On Thu, Oct 13, 2016 at 1:10 PM Alan Doherty <<mailto:ietf@alandoherty.net>ietf@alandoherty.net> wrote:
>At 17:39 13/10/2016Â  Thursday, Ben Irving wrote:
>>Hello,
>>
>>I have ran into a very similar use case. In my case I'm using Haproxy to route tcp requests based on the server name indication to upstream web servers where the TLS request is terminated. The ACME client is also running on these upstream web servers. I'm forced to use HTTP-01 challenges and am forced to open up port 80 as well on these upstream servers, which I don't want to do. I don't expect the protocol to solve my particular use case, but I'm also curious as to why acme.invalid was used as the suffix for all TLS-SNI based challenges?
>
>you shouldnt have to open port 80 to upstreams
>(assuming on the haproxy you do the normal http redirecting on port 80Â  aka requests for <http://whatever>http://whatever get a 301 redirect to <https://same-domain/same-path>https://same-domain/same-path
>
>Maybe I'm misunderstanding, but I don't think there is an ACME client that runs on port 443 for challenge type http-01. The major hurdle here is that I'm running the ACME client upstream. However, since I'm not able to route the TLS-SNI challenges to the correct upstream client, I'm forced to use HTTP-01 and open up port 80.Â 

your misunderstanding i said http-01 does not require opening port 80 to upstreams

http-01 will follow redirects 

thus if your proxy is directing www.domain1.com:443 at the upstream correctly

and 301 redirecting http://www.domain1.com:80 to https://www.domain1.com:443
which would be normal in most setups

http-01 will work fine without any use of port 80 on upstream server

(but on further thinking since)

(though if doing proxy why on earth would the upstream need anything other than a self signed cert (as its cert is never seen by public)

and just have the proxy run the acme client and answer rather than forward 
/.well-known/acme-challenge/
and update its own publicly visible cert only

btw in http-01 the acme client can specify to the server whether to use http://www.domain1.com/.well-known/acme-challenge/
or https://www.domain1.com/.well-known/acme-challenge/
directly

"The client’s response to this challenge indicates whether it would prefer for the validation request to be sent over TLS:

type (required, string):  
The string “simpleHttp” 
tls (optional, boolean, default true):  
If this attribute is present and set to “false”, the server will perform its validation check over unencrypted HTTP (on port 80) rather than over HTTPS. Otherwise the check will be done over HTTPS, on port 443." 
https://letsencrypt.github.io/acme-spec/#rfc.section.7.1

>Â 
>
>
>
>
>as the http-01 challenge will happily follow redirects and thus find/connect to <https://whatever-domain/acme-specific-url>https://whatever-domain/acme-specific-url
>
>
>>- BenÃ‚
>>
>>
>>On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney <<mailto:cpu@letsencrypt.org><mailto:cpu@letsencrypt.org>cpu@letsencrypt.org> wrote:
>>Hi Tim,
>>
>>Thanks for sharing your thoughts. This was the first time I've heard about this
>>sort of SNI multiplexing middleware in the context of IPv6 hosting.
>>
>>I'm newer to the list/draft process but I suspect your idea of using
>>"<<http://x.y.token.acme.client2-example.com>http://x.y.token.acme.client2-example.com><http://x.y.token.acme.client2-example.com>x.y.token.acme.client2-example.com" to support the SNI multiplexing decision
>>will run counter to the intent behind using the ".acme.invalid" suffix as
>>described in the current draft. Perhaps someone with more historical context can
>>help clarify why that particular suffix strategy was selected.
>>
>>It would help me understand your feedback better if you could speak to why it
>>doesn't make more sense for users of this sort of middleware to favour the
>>HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking that
>>using a more appropriate challenge type is preferred to trying to address TLS
>>middleware in the context of the TLS-SNI-02 challenge design. This class of
>>middleware can introduce all sorts of complication that might end up
>>significantly complicating the challenge design.
>>
>>- Daniel/cpu
>>
>>
>>On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <<mailto:tim@seoss.co.uk>tim@seoss.co.uk> wrote:
>>Hello,
>>
>>Having read draft-ietf-acme-acme-02, and made a number of early
>>deployments using the tls-sni-01 mechanism, I thought I'd highlight what
>>I perceive to be a possible shortcoming with the tls-sni-02 draft.
>>
>>It's becoming more wide-spread (as a result of IPv4 exhaustion) to
>>deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
>>managed web servers.
>>
>>The typical deployment pattern is that a web server is assigned a
>>publicly accessible IPv6 address only - this can be used for direct
>>management and direct IPv6 https requests etc.Ã‚Â  The TLS request are
>>terminated on the web server itself.
>>
>>The customer is also informed of an IPv4 addresses to be used for web
>>access by IPv4-only clients, and asked to provide a list of FQDNs which
>>they will serve.Ã‚Â  IPv4 https requests are answered by proxy software,
>>which direct the IPv4 https request to the correct web server's IPv6
>>address (or an RFC-1918 IPv4 address etc.) based on SNI.
>>
>>e.g. this haproxy example configuration fragment:
>>
>>use-server customer1-staging if { req.ssl_sni -m beg
>><<http://staging.customer1-example.com>http://staging.customer1-example.com><http://staging.customer1-example.com>staging.customer1-example.com }
>>use-server customer2-live if { req.ssl_sni -m beg
>><<http://staging.customer2-example.com>http://staging.customer2-example.com><http://staging.customer2-example.com>staging.customer2-example.com }
>>
>>
>>I believe this will become increasingly common-place during the
>>transition to IPv6, and the current form of tls-sni-02 makes it hard to
>>use in this sort of environment.
>>
>>The problem comes when using tls-sni-02 ACME challenges:
>>
>>"The client MUST ensure that the certificate is served to TLS
>>connections specifying a Server Name Indication (SNI) value of SAN A."
>>
>>i.e. the SNI string which the proxy sees during the challenge is always
>>"SAN A" (x.y.token.acme.invalid), for any server for which it acts as
>>the "https switch" for.
>>
>>... so the proxy has no way of knowing which server the challenge
>>request should be directed to.Ã‚Â  Some mechanism by which the proxy can
>>direct the request would be useful.
>>
>>One which may provide an easy route for the service providers offering
>>this sort of setup (many would require no changes to their existing
>>configuration at all) would be to append the FQDN in the TLS SNI value
>>e.g. <<http://x.y.token.acme.client2-example.com>http://x.y.token.acme.client2-example.com><http://x.y.token.acme.client2-example.com>x.y.token.acme.client2-example.com
>>
>>The client in question may have limited or no influence on the
>>configuration of the SNI proxy, so the more straight-forward the proxy
>>configuration, the-better.
>>
>>For another example of a similar use-case with the same issue:
>>
>><<https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/>https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/>https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
>>
>>HTH,
>>
>>Tim.
>>
>>_______________________________________________
>>Acme mailing list
>><mailto:Acme@ietf.org><mailto:Acme@ietf.org>Acme@ietf.org
>>https://www.ietf.org/mailman/listinfo/acme
>>
>>
>>_______________________________________________
>>Acme mailing list
>><mailto:Acme@ietf.org><mailto:Acme@ietf.org>Acme@ietf.org
>>https://www.ietf.org/mailman/listinfo/acme
>>
>>_______________________________________________
>>Acme mailing list
>><mailto:Acme@ietf.org>Acme@ietf.org
>>https://www.ietf.org/mailman/listinfo/acme


From nobody Fri Oct 14 10:07:40 2016
Return-Path: <jammin.irving@gmail.com>
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 E20D0129562 for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 10:07:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=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 6aP-vjdRExGU for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 10:07:33 -0700 (PDT)
Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (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 70A0312954E for <acme@ietf.org>; Fri, 14 Oct 2016 10:07:33 -0700 (PDT)
Received: by mail-io0-x244.google.com with SMTP id i202so7093636ioi.1 for <acme@ietf.org>; Fri, 14 Oct 2016 10:07:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=VtGbijAb6JJogVOS0DSSviXd8AaicBRUbD8zmmO3Xzk=; b=atdHAc18KWUTscZHy5vEAwQakQc0mgI9g+sg5QvPDRzH6bxnjJs/gsVUBztAMVGjpq VOuIuM3c82r8Mjt90yCf7RbKc/DD2mQH7KXGLECQzjk1vRRZxjR7yFGpooxBlBzCaotb cQhiCixgsAVvbS8E107xJ6spf+WafY88trj85cTYvGK775hW3i7evWvA+T3rtV98MjNm 75//ELwein/1ue/eSal9X3qgPudtgVFtGwj6i85ku/4dmI0GXm2HrqoZOGugNDQ9SzNW 09xbPDB9imwzIzO02mIRchiLoV9Lfjwvbt5bxstxo/9HNbRkdIblKzLv46NmSg4pdTBb 6WAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=VtGbijAb6JJogVOS0DSSviXd8AaicBRUbD8zmmO3Xzk=; b=WCV8Cdu/uk4FGpv9JMAHDtGPTjCCfFuwe5nYzLfTI4UaXdFIRQNXk9UBcvKZA5VvSS Y37pZHWQDW7tnft9+pTiFe6tv9Rbklyuee46nSyidKVsUcoI1CmgS1tQlH9gRhATIHA8 w3Z9AixDp77eZRvgCiJykmp1eVvPrI643HTIeDFtyc0usFKyHWPh7kknslWvXqk7HFlv 0TMSupmYzdSFaOB3lCfF48G2Nf8KUbUL4i4JxwVx6t7WRYom3EdxRSzcMGwUTEgbcSQs o7BK9vjlL7ogW5A+mtqI59cb8E/pY00uQdGcQdDDBsWVNHdk22fLCfQCv+W75DUb4o7e hSvg==
X-Gm-Message-State: AA6/9RnoHD+b8OF0tLKrnTr6L5l2BToAWFVe/HTAanPxTApnWB/wxzsgaafokBKdgk9VaT8LnEGopGLwb419vA==
X-Received: by 10.107.20.138 with SMTP id 132mr12311493iou.47.1476464852686; Fri, 14 Oct 2016 10:07:32 -0700 (PDT)
MIME-Version: 1.0
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com> <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie> <CAAKia74ijuSxRSsZPu5Gwn2ZP9YAKwKmYvtdrtg3FoxaC-LEBA@mail.gmail.com> <E1bv5h7-0006KZ-1M@bigsvr.orionnetworks.ie>
In-Reply-To: <E1bv5h7-0006KZ-1M@bigsvr.orionnetworks.ie>
From: Ben Irving <jammin.irving@gmail.com>
Date: Fri, 14 Oct 2016 17:07:22 +0000
Message-ID: <CAAKia75_0aGS24EaCogkCPB4EYzTaD=6kvfPwGbZqwVwq4kjSQ@mail.gmail.com>
To: Alan Doherty <ietf@alandoherty.net>, "acme@ietf.org" <acme@ietf.org>
Content-Type: multipart/alternative; boundary=001a114fa9901186b9053ed643aa
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/AF6vxDlbCFQ1KkSgI1zMhhHebsA>
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Fri, 14 Oct 2016 17:07:38 -0000

--001a114fa9901186b9053ed643aa
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 14, 2016 at 9:53 AM Alan Doherty <ietf@alandoherty.net> wrote:

> At 16:31 14/10/2016  Friday, Ben Irving wrote:
>
>
> >On Thu, Oct 13, 2016 at 1:10 PM Alan Doherty <<mailto:
> ietf@alandoherty.net>ietf@alandoherty.net> wrote:
> >At 17:39 13/10/2016=C3=82  Thursday, Ben Irving wrote:
> >>Hello,
> >>
> >>I have ran into a very similar use case. In my case I'm using Haproxy t=
o
> route tcp requests based on the server name indication to upstream web
> servers where the TLS request is terminated. The ACME client is also
> running on these upstream web servers. I'm forced to use HTTP-01 challeng=
es
> and am forced to open up port 80 as well on these upstream servers, which=
 I
> don't want to do. I don't expect the protocol to solve my particular use
> case, but I'm also curious as to why acme.invalid was used as the suffix
> for all TLS-SNI based challenges?
> >
> >you shouldnt have to open port 80 to upstreams
> >(assuming on the haproxy you do the normal http redirecting on port 80=
=C3=82
> aka requests for <http://whatever>http://whatever get a 301 redirect to <
> https://same-domain/same-path>https://same-domain/same-path
> >
> >Maybe I'm misunderstanding, but I don't think there is an ACME client
> that runs on port 443 for challenge type http-01. The major hurdle here i=
s
> that I'm running the ACME client upstream. However, since I'm not able to
> route the TLS-SNI challenges to the correct upstream client, I'm forced t=
o
> use HTTP-01 and open up port 80.=C3=82
>
> your misunderstanding i said http-01 does not require opening port 80 to
> upstreams
>
> http-01 will follow redirects
>
> thus if your proxy is directing www.domain1.com:443 at the upstream
> correctly
>
> and 301 redirecting http://www.domain1.com:80 to
> https://www.domain1.com:443
> which would be normal in most setups
>
> http-01 will work fine without any use of port 80 on upstream server
>
Really? That's great news.

>
> (but on further thinking since)
>
> (though if doing proxy why on earth would the upstream need anything othe=
r
> than a self signed cert (as its cert is never seen by public)

Picture this, I have a host running 100 docker containers, each exposing a
single web application through an ephemeral port. Inside each of these
docker environments is the ACME client running with Nginx which is
reverse-proxy to a web application of any type. Haproxy is installed on the
host as is using TLS-SNI based routing to route TCP requests to the proper
docker container.

>
>
and just have the proxy run the acme client and answer rather than forward
> /.well-known/acme-challenge/
> and update its own publicly visible cert only
>
> btw in http-01 the acme client can specify to the server whether to use
> http://www.domain1.com/.well-known/acme-challenge/
> or https://www.domain1.com/.well-known/acme-challenge/
> directly
>
won't I need a certificate then? I'm calling the client before nginx has
started.

>
> "The client=E2=80=99s response to this challenge indicates whether it wou=
ld prefer
> for the validation request to be sent over TLS:
>
> type (required, string):
> The string =E2=80=9CsimpleHttp=E2=80=9D
> tls (optional, boolean, default true):
> If this attribute is present and set to =E2=80=9Cfalse=E2=80=9D, the serv=
er will perform
> its validation check over unencrypted HTTP (on port 80) rather than over
> HTTPS. Otherwise the check will be done over HTTPS, on port 443."
> https://letsencrypt.github.io/acme-spec/#rfc.section.7.1
>
> >=C3=82
> >
> >
> >
> >
> >as the http-01 challenge will happily follow redirects and thus
> find/connect to <https://whatever-domain/acme-specific-url>
> https://whatever-domain/acme-specific-url
> >
> >
> >>- Ben=C3=83=E2=80=9A
> >>
> >>
> >>On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney <<mailto:
> cpu@letsencrypt.org><mailto:cpu@letsencrypt.org>cpu@letsencrypt.org>
> wrote:
> >>Hi Tim,
> >>
> >>Thanks for sharing your thoughts. This was the first time I've heard
> about this
> >>sort of SNI multiplexing middleware in the context of IPv6 hosting.
> >>
> >>I'm newer to the list/draft process but I suspect your idea of using
> >>"<<http://x.y.token.acme.client2-example.com>
> http://x.y.token.acme.client2-example.com><
> http://x.y.token.acme.client2-example.com>
> x.y.token.acme.client2-example.com" to support the SNI multiplexing
> decision
> >>will run counter to the intent behind using the ".acme.invalid" suffix =
as
> >>described in the current draft. Perhaps someone with more historical
> context can
> >>help clarify why that particular suffix strategy was selected.
> >>
> >>It would help me understand your feedback better if you could speak to
> why it
> >>doesn't make more sense for users of this sort of middleware to favour
> the
> >>HTTP-01 or DNS-01 challenge type. My own opinion leans towards thinking
> that
> >>using a more appropriate challenge type is preferred to trying to
> address TLS
> >>middleware in the context of the TLS-SNI-02 challenge design. This clas=
s
> of
> >>middleware can introduce all sorts of complication that might end up
> >>significantly complicating the challenge design.
> >>
> >>- Daniel/cpu
> >>
> >>
> >>On Wed, Oct 12, 2016 at 6:45 AM, Tim Small <<mailto:tim@seoss.co.uk>
> tim@seoss.co.uk> wrote:
> >>Hello,
> >>
> >>Having read draft-ietf-acme-acme-02, and made a number of early
> >>deployments using the tls-sni-01 mechanism, I thought I'd highlight wha=
t
> >>I perceive to be a possible shortcoming with the tls-sni-02 draft.
> >>
> >>It's becoming more wide-spread (as a result of IPv4 exhaustion) to
> >>deploy TLS SNI "switches" to provide IPv4 connectivity to autonomously
> >>managed web servers.
> >>
> >>The typical deployment pattern is that a web server is assigned a
> >>publicly accessible IPv6 address only - this can be used for direct
> >>management and direct IPv6 https requests etc.=C3=83=E2=80=9A=C3=82  Th=
e TLS request are
> >>terminated on the web server itself.
> >>
> >>The customer is also informed of an IPv4 addresses to be used for web
> >>access by IPv4-only clients, and asked to provide a list of FQDNs which
> >>they will serve.=C3=83=E2=80=9A=C3=82  IPv4 https requests are answered=
 by proxy software,
> >>which direct the IPv4 https request to the correct web server's IPv6
> >>address (or an RFC-1918 IPv4 address etc.) based on SNI.
> >>
> >>e.g. this haproxy example configuration fragment:
> >>
> >>use-server customer1-staging if { req.ssl_sni -m beg
> >><<http://staging.customer1-example.com>
> http://staging.customer1-example.com><http://staging.customer1-example.co=
m
> >staging.customer1-example.com }
> >>use-server customer2-live if { req.ssl_sni -m beg
> >><<http://staging.customer2-example.com>
> http://staging.customer2-example.com><http://staging.customer2-example.co=
m
> >staging.customer2-example.com }
> >>
> >>
> >>I believe this will become increasingly common-place during the
> >>transition to IPv6, and the current form of tls-sni-02 makes it hard to
> >>use in this sort of environment.
> >>
> >>The problem comes when using tls-sni-02 ACME challenges:
> >>
> >>"The client MUST ensure that the certificate is served to TLS
> >>connections specifying a Server Name Indication (SNI) value of SAN A."
> >>
> >>i.e. the SNI string which the proxy sees during the challenge is always
> >>"SAN A" (x.y.token.acme.invalid), for any server for which it acts as
> >>the "https switch" for.
> >>
> >>... so the proxy has no way of knowing which server the challenge
> >>request should be directed to.=C3=83=E2=80=9A=C3=82  Some mechanism by =
which the proxy can
> >>direct the request would be useful.
> >>
> >>One which may provide an easy route for the service providers offering
> >>this sort of setup (many would require no changes to their existing
> >>configuration at all) would be to append the FQDN in the TLS SNI value
> >>e.g. <<http://x.y.token.acme.client2-example.com>
> http://x.y.token.acme.client2-example.com><
> http://x.y.token.acme.client2-example.com>
> x.y.token.acme.client2-example.com
> >>
> >>The client in question may have limited or no influence on the
> >>configuration of the SNI proxy, so the more straight-forward the proxy
> >>configuration, the-better.
> >>
> >>For another example of a similar use-case with the same issue:
> >>
> >><<https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/>
> https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/>
> https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/
> >>
> >>HTH,
> >>
> >>Tim.
> >>
> >>_______________________________________________
> >>Acme mailing list
> >><mailto:Acme@ietf.org><mailto:Acme@ietf.org>Acme@ietf.org
> >>https://www.ietf.org/mailman/listinfo/acme
> >>
> >>
> >>_______________________________________________
> >>Acme mailing list
> >><mailto:Acme@ietf.org><mailto:Acme@ietf.org>Acme@ietf.org
> >>https://www.ietf.org/mailman/listinfo/acme
> >>
> >>_______________________________________________
> >>Acme mailing list
> >><mailto:Acme@ietf.org>Acme@ietf.org
> >>https://www.ietf.org/mailman/listinfo/acme
>
>

--001a114fa9901186b9053ed643aa
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Fri=
, Oct 14, 2016 at 9:53 AM Alan Doherty &lt;<a href=3D"mailto:ietf@alandoher=
ty.net">ietf@alandoherty.net</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">At 16:31 14/10/2016=C2=A0 Friday, Ben Irving wrote:<br class=3D"gm=
ail_msg">
<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
&gt;On Thu, Oct 13, 2016 at 1:10 PM Alan Doherty &lt;&lt;mailto:<a href=3D"=
mailto:ietf@alandoherty.net" class=3D"gmail_msg" target=3D"_blank">ietf@ala=
ndoherty.net</a>&gt;<a href=3D"mailto:ietf@alandoherty.net" class=3D"gmail_=
msg" target=3D"_blank">ietf@alandoherty.net</a>&gt; wrote:<br class=3D"gmai=
l_msg">
&gt;At 17:39 13/10/2016=C3=82=C2=A0 Thursday, Ben Irving wrote:<br class=3D=
"gmail_msg">
&gt;&gt;Hello,<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;I have ran into a very similar use case. In my case I&#39;m using H=
aproxy to route tcp requests based on the server name indication to upstrea=
m web servers where the TLS request is terminated. The ACME client is also =
running on these upstream web servers. I&#39;m forced to use HTTP-01 challe=
nges and am forced to open up port 80 as well on these upstream servers, wh=
ich I don&#39;t want to do. I don&#39;t expect the protocol to solve my par=
ticular use case, but I&#39;m also curious as to why acme.invalid was used =
as the suffix for all TLS-SNI based challenges?<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;you shouldnt have to open port 80 to upstreams<br class=3D"gmail_msg">
&gt;(assuming on the haproxy you do the normal http redirecting on port 80=
=C3=82=C2=A0 aka requests for &lt;<a href=3D"http://whatever" rel=3D"norefe=
rrer" class=3D"gmail_msg" target=3D"_blank">http://whatever</a>&gt;<a href=
=3D"http://whatever" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blan=
k">http://whatever</a> get a 301 redirect to &lt;<a href=3D"https://same-do=
main/same-path" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">ht=
tps://same-domain/same-path</a>&gt;<a href=3D"https://same-domain/same-path=
" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">https://same-dom=
ain/same-path</a><br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;Maybe I&#39;m misunderstanding, but I don&#39;t think there is an ACME =
client that runs on port 443 for challenge type http-01. The major hurdle h=
ere is that I&#39;m running the ACME client upstream. However, since I&#39;=
m not able to route the TLS-SNI challenges to the correct upstream client, =
I&#39;m forced to use HTTP-01 and open up port 80.=C3=82<br class=3D"gmail_=
msg">
<br class=3D"gmail_msg">
your misunderstanding i said http-01 does not require opening port 80 to up=
streams<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
http-01 will follow redirects<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
thus if your proxy is directing <a href=3D"http://www.domain1.com:443" rel=
=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">www.domain1.com:443</=
a> at the upstream correctly<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
and 301 redirecting <a href=3D"http://www.domain1.com:80" rel=3D"noreferrer=
" class=3D"gmail_msg" target=3D"_blank">http://www.domain1.com:80</a> to <a=
 href=3D"https://www.domain1.com:443" rel=3D"noreferrer" class=3D"gmail_msg=
" target=3D"_blank">https://www.domain1.com:443</a><br class=3D"gmail_msg">
which would be normal in most setups<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
http-01 will work fine without any use of port 80 on upstream server<br cla=
ss=3D"gmail_msg"></blockquote><div>Really? That&#39;s great news.=C2=A0</di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
<br class=3D"gmail_msg">
(but on further thinking since)<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
(though if doing proxy why on earth would the upstream need anything other =
than a self signed cert (as its cert is never seen by public)</blockquote><=
div>Picture this, I have a host running 100 docker containers, each exposin=
g a single web application through an ephemeral port. Inside each of these =
docker environments is the ACME client running with Nginx which is reverse-=
proxy to a web application of any type. Haproxy is installed on the host as=
 is using TLS-SNI based routing to route TCP requests to the proper docker =
container.</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">=C2=A0<br class=3D"gmail_msg=
"></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
and just have the proxy run the acme client and answer rather than forward<=
br class=3D"gmail_msg">
/.well-known/acme-challenge/<br class=3D"gmail_msg">
and update its own publicly visible cert only<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
btw in http-01 the acme client can specify to the server whether to use <a =
href=3D"http://www.domain1.com/.well-known/acme-challenge/" rel=3D"noreferr=
er" class=3D"gmail_msg" target=3D"_blank">http://www.domain1.com/.well-know=
n/acme-challenge/</a><br class=3D"gmail_msg">
or <a href=3D"https://www.domain1.com/.well-known/acme-challenge/" rel=3D"n=
oreferrer" class=3D"gmail_msg" target=3D"_blank">https://www.domain1.com/.w=
ell-known/acme-challenge/</a><br class=3D"gmail_msg">
directly<br class=3D"gmail_msg"></blockquote><div>won&#39;t I need a certif=
icate then? I&#39;m calling the client before nginx has started.=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">
<br class=3D"gmail_msg">
&quot;The client=E2=80=99s response to this challenge indicates whether it =
would prefer for the validation request to be sent over TLS:<br class=3D"gm=
ail_msg">
<br class=3D"gmail_msg">
type (required, string):<br class=3D"gmail_msg">
The string =E2=80=9CsimpleHttp=E2=80=9D<br class=3D"gmail_msg">
tls (optional, boolean, default true):<br class=3D"gmail_msg">
If this attribute is present and set to =E2=80=9Cfalse=E2=80=9D, the server=
 will perform its validation check over unencrypted HTTP (on port 80) rathe=
r than over HTTPS. Otherwise the check will be done over HTTPS, on port 443=
.&quot;<br class=3D"gmail_msg">
<a href=3D"https://letsencrypt.github.io/acme-spec/#rfc.section.7.1" rel=3D=
"noreferrer" class=3D"gmail_msg" target=3D"_blank">https://letsencrypt.gith=
ub.io/acme-spec/#rfc.section.7.1</a><br class=3D"gmail_msg">
<br class=3D"gmail_msg">
&gt;=C3=82<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;as the http-01 challenge will happily follow redirects and thus find/co=
nnect to &lt;<a href=3D"https://whatever-domain/acme-specific-url" rel=3D"n=
oreferrer" class=3D"gmail_msg" target=3D"_blank">https://whatever-domain/ac=
me-specific-url</a>&gt;<a href=3D"https://whatever-domain/acme-specific-url=
" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">https://whatever=
-domain/acme-specific-url</a><br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;&gt;- Ben=C3=83=E2=80=9A<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;On Thu, Oct 13, 2016 at 8:00 AM Daniel McCarney &lt;&lt;mailto:<a h=
ref=3D"mailto:cpu@letsencrypt.org" class=3D"gmail_msg" target=3D"_blank">cp=
u@letsencrypt.org</a>&gt;&lt;mailto:<a href=3D"mailto:cpu@letsencrypt.org" =
class=3D"gmail_msg" target=3D"_blank">cpu@letsencrypt.org</a>&gt;<a href=3D=
"mailto:cpu@letsencrypt.org" class=3D"gmail_msg" target=3D"_blank">cpu@lets=
encrypt.org</a>&gt; wrote:<br class=3D"gmail_msg">
&gt;&gt;Hi Tim,<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;Thanks for sharing your thoughts. This was the first time I&#39;ve =
heard about this<br class=3D"gmail_msg">
&gt;&gt;sort of SNI multiplexing middleware in the context of IPv6 hosting.=
<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;I&#39;m newer to the list/draft process but I suspect your idea of =
using<br class=3D"gmail_msg">
&gt;&gt;&quot;&lt;&lt;<a href=3D"http://x.y.token.acme.client2-example.com"=
 rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">http://x.y.token.=
acme.client2-example.com</a>&gt;<a href=3D"http://x.y.token.acme.client2-ex=
ample.com" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">http://=
x.y.token.acme.client2-example.com</a>&gt;&lt;<a href=3D"http://x.y.token.a=
cme.client2-example.com" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_=
blank">http://x.y.token.acme.client2-example.com</a>&gt;<a href=3D"http://x=
.y.token.acme.client2-example.com" rel=3D"noreferrer" class=3D"gmail_msg" t=
arget=3D"_blank">x.y.token.acme.client2-example.com</a>&quot; to support th=
e SNI multiplexing decision<br class=3D"gmail_msg">
&gt;&gt;will run counter to the intent behind using the &quot;.acme.invalid=
&quot; suffix as<br class=3D"gmail_msg">
&gt;&gt;described in the current draft. Perhaps someone with more historica=
l context can<br class=3D"gmail_msg">
&gt;&gt;help clarify why that particular suffix strategy was selected.<br c=
lass=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;It would help me understand your feedback better if you could speak=
 to why it<br class=3D"gmail_msg">
&gt;&gt;doesn&#39;t make more sense for users of this sort of middleware to=
 favour the<br class=3D"gmail_msg">
&gt;&gt;HTTP-01 or DNS-01 challenge type. My own opinion leans towards thin=
king that<br class=3D"gmail_msg">
&gt;&gt;using a more appropriate challenge type is preferred to trying to a=
ddress TLS<br class=3D"gmail_msg">
&gt;&gt;middleware in the context of the TLS-SNI-02 challenge design. This =
class of<br class=3D"gmail_msg">
&gt;&gt;middleware can introduce all sorts of complication that might end u=
p<br class=3D"gmail_msg">
&gt;&gt;significantly complicating the challenge design.<br class=3D"gmail_=
msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;- Daniel/cpu<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;On Wed, Oct 12, 2016 at 6:45 AM, Tim Small &lt;&lt;mailto:<a href=
=3D"mailto:tim@seoss.co.uk" class=3D"gmail_msg" target=3D"_blank">tim@seoss=
.co.uk</a>&gt;<a href=3D"mailto:tim@seoss.co.uk" class=3D"gmail_msg" target=
=3D"_blank">tim@seoss.co.uk</a>&gt; wrote:<br class=3D"gmail_msg">
&gt;&gt;Hello,<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;Having read draft-ietf-acme-acme-02, and made a number of early<br =
class=3D"gmail_msg">
&gt;&gt;deployments using the tls-sni-01 mechanism, I thought I&#39;d highl=
ight what<br class=3D"gmail_msg">
&gt;&gt;I perceive to be a possible shortcoming with the tls-sni-02 draft.<=
br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;It&#39;s becoming more wide-spread (as a result of IPv4 exhaustion)=
 to<br class=3D"gmail_msg">
&gt;&gt;deploy TLS SNI &quot;switches&quot; to provide IPv4 connectivity to=
 autonomously<br class=3D"gmail_msg">
&gt;&gt;managed web servers.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;The typical deployment pattern is that a web server is assigned a<b=
r class=3D"gmail_msg">
&gt;&gt;publicly accessible IPv6 address only - this can be used for direct=
<br class=3D"gmail_msg">
&gt;&gt;management and direct IPv6 https requests etc.=C3=83=E2=80=9A=C3=82=
=C2=A0 The TLS request are<br class=3D"gmail_msg">
&gt;&gt;terminated on the web server itself.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;The customer is also informed of an IPv4 addresses to be used for w=
eb<br class=3D"gmail_msg">
&gt;&gt;access by IPv4-only clients, and asked to provide a list of FQDNs w=
hich<br class=3D"gmail_msg">
&gt;&gt;they will serve.=C3=83=E2=80=9A=C3=82=C2=A0 IPv4 https requests are=
 answered by proxy software,<br class=3D"gmail_msg">
&gt;&gt;which direct the IPv4 https request to the correct web server&#39;s=
 IPv6<br class=3D"gmail_msg">
&gt;&gt;address (or an RFC-1918 IPv4 address etc.) based on SNI.<br class=
=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;e.g. this haproxy example configuration fragment:<br class=3D"gmail=
_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;use-server customer1-staging if { req.ssl_sni -m beg<br class=3D"gm=
ail_msg">
&gt;&gt;&lt;&lt;<a href=3D"http://staging.customer1-example.com" rel=3D"nor=
eferrer" class=3D"gmail_msg" target=3D"_blank">http://staging.customer1-exa=
mple.com</a>&gt;<a href=3D"http://staging.customer1-example.com" rel=3D"nor=
eferrer" class=3D"gmail_msg" target=3D"_blank">http://staging.customer1-exa=
mple.com</a>&gt;&lt;<a href=3D"http://staging.customer1-example.com" rel=3D=
"noreferrer" class=3D"gmail_msg" target=3D"_blank">http://staging.customer1=
-example.com</a>&gt;<a href=3D"http://staging.customer1-example.com" rel=3D=
"noreferrer" class=3D"gmail_msg" target=3D"_blank">staging.customer1-exampl=
e.com</a> }<br class=3D"gmail_msg">
&gt;&gt;use-server customer2-live if { req.ssl_sni -m beg<br class=3D"gmail=
_msg">
&gt;&gt;&lt;&lt;<a href=3D"http://staging.customer2-example.com" rel=3D"nor=
eferrer" class=3D"gmail_msg" target=3D"_blank">http://staging.customer2-exa=
mple.com</a>&gt;<a href=3D"http://staging.customer2-example.com" rel=3D"nor=
eferrer" class=3D"gmail_msg" target=3D"_blank">http://staging.customer2-exa=
mple.com</a>&gt;&lt;<a href=3D"http://staging.customer2-example.com" rel=3D=
"noreferrer" class=3D"gmail_msg" target=3D"_blank">http://staging.customer2=
-example.com</a>&gt;<a href=3D"http://staging.customer2-example.com" rel=3D=
"noreferrer" class=3D"gmail_msg" target=3D"_blank">staging.customer2-exampl=
e.com</a> }<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;I believe this will become increasingly common-place during the<br =
class=3D"gmail_msg">
&gt;&gt;transition to IPv6, and the current form of tls-sni-02 makes it har=
d to<br class=3D"gmail_msg">
&gt;&gt;use in this sort of environment.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;The problem comes when using tls-sni-02 ACME challenges:<br class=
=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;&quot;The client MUST ensure that the certificate is served to TLS<=
br class=3D"gmail_msg">
&gt;&gt;connections specifying a Server Name Indication (SNI) value of SAN =
A.&quot;<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;i.e. the SNI string which the proxy sees during the challenge is al=
ways<br class=3D"gmail_msg">
&gt;&gt;&quot;SAN A&quot; (x.y.token.acme.invalid), for any server for whic=
h it acts as<br class=3D"gmail_msg">
&gt;&gt;the &quot;https switch&quot; for.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;... so the proxy has no way of knowing which server the challenge<b=
r class=3D"gmail_msg">
&gt;&gt;request should be directed to.=C3=83=E2=80=9A=C3=82=C2=A0 Some mech=
anism by which the proxy can<br class=3D"gmail_msg">
&gt;&gt;direct the request would be useful.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;One which may provide an easy route for the service providers offer=
ing<br class=3D"gmail_msg">
&gt;&gt;this sort of setup (many would require no changes to their existing=
<br class=3D"gmail_msg">
&gt;&gt;configuration at all) would be to append the FQDN in the TLS SNI va=
lue<br class=3D"gmail_msg">
&gt;&gt;e.g. &lt;&lt;<a href=3D"http://x.y.token.acme.client2-example.com" =
rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">http://x.y.token.a=
cme.client2-example.com</a>&gt;<a href=3D"http://x.y.token.acme.client2-exa=
mple.com" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">http://x=
.y.token.acme.client2-example.com</a>&gt;&lt;<a href=3D"http://x.y.token.ac=
me.client2-example.com" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_b=
lank">http://x.y.token.acme.client2-example.com</a>&gt;<a href=3D"http://x.=
y.token.acme.client2-example.com" rel=3D"noreferrer" class=3D"gmail_msg" ta=
rget=3D"_blank">x.y.token.acme.client2-example.com</a><br class=3D"gmail_ms=
g">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;The client in question may have limited or no influence on the<br c=
lass=3D"gmail_msg">
&gt;&gt;configuration of the SNI proxy, so the more straight-forward the pr=
oxy<br class=3D"gmail_msg">
&gt;&gt;configuration, the-better.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;For another example of a similar use-case with the same issue:<br c=
lass=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;&lt;&lt;<a href=3D"https://scriptthe.net/2015/02/08/pass-through-ss=
l-with-haproxy/" rel=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">h=
ttps://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/</a>&gt;<a hr=
ef=3D"https://scriptthe.net/2015/02/08/pass-through-ssl-with-haproxy/" rel=
=3D"noreferrer" class=3D"gmail_msg" target=3D"_blank">https://scriptthe.net=
/2015/02/08/pass-through-ssl-with-haproxy/</a>&gt;<a href=3D"https://script=
the.net/2015/02/08/pass-through-ssl-with-haproxy/" rel=3D"noreferrer" class=
=3D"gmail_msg" target=3D"_blank">https://scriptthe.net/2015/02/08/pass-thro=
ugh-ssl-with-haproxy/</a><br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;HTH,<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;Tim.<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;_______________________________________________<br class=3D"gmail_m=
sg">
&gt;&gt;Acme mailing list<br class=3D"gmail_msg">
&gt;&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" tar=
get=3D"_blank">Acme@ietf.org</a>&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.=
org" class=3D"gmail_msg" target=3D"_blank">Acme@ietf.org</a>&gt;<a href=3D"=
mailto:Acme@ietf.org" class=3D"gmail_msg" target=3D"_blank">Acme@ietf.org</=
a><br class=3D"gmail_msg">
&gt;&gt;<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noref=
errer" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/l=
istinfo/acme</a><br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;_______________________________________________<br class=3D"gmail_m=
sg">
&gt;&gt;Acme mailing list<br class=3D"gmail_msg">
&gt;&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" tar=
get=3D"_blank">Acme@ietf.org</a>&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.=
org" class=3D"gmail_msg" target=3D"_blank">Acme@ietf.org</a>&gt;<a href=3D"=
mailto:Acme@ietf.org" class=3D"gmail_msg" target=3D"_blank">Acme@ietf.org</=
a><br class=3D"gmail_msg">
&gt;&gt;<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noref=
errer" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/l=
istinfo/acme</a><br class=3D"gmail_msg">
&gt;&gt;<br class=3D"gmail_msg">
&gt;&gt;_______________________________________________<br class=3D"gmail_m=
sg">
&gt;&gt;Acme mailing list<br class=3D"gmail_msg">
&gt;&gt;&lt;mailto:<a href=3D"mailto:Acme@ietf.org" class=3D"gmail_msg" tar=
get=3D"_blank">Acme@ietf.org</a>&gt;<a href=3D"mailto:Acme@ietf.org" class=
=3D"gmail_msg" target=3D"_blank">Acme@ietf.org</a><br class=3D"gmail_msg">
&gt;&gt;<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noref=
errer" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/l=
istinfo/acme</a><br class=3D"gmail_msg">
<br class=3D"gmail_msg">
</blockquote></div></div>

--001a114fa9901186b9053ed643aa--


From nobody Fri Oct 14 10:41:26 2016
Return-Path: <ilariliusvaara@welho.com>
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 9E3DB129866 for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 10:41:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.896
X-Spam-Level: 
X-Spam-Status: No, score=-4.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.996] autolearn=ham autolearn_force=no
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 54ypnc7NTK_D for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 10:41:22 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 0172F1295B3 for <acme@ietf.org>; Fri, 14 Oct 2016 10:41:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 42B961341E; Fri, 14 Oct 2016 20:41:20 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id rJnEY5R8YRn6; Fri, 14 Oct 2016 20:41:19 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-237-87.bb.dnainternet.fi [87.100.237.87]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 9B9D821C; Fri, 14 Oct 2016 20:41:19 +0300 (EEST)
Date: Fri, 14 Oct 2016 20:41:12 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Ben Irving <jammin.irving@gmail.com>
Message-ID: <20161014174112.GA26497@LK-Perkele-V2.elisa-laajakaista.fi>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com> <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie> <CAAKia74ijuSxRSsZPu5Gwn2ZP9YAKwKmYvtdrtg3FoxaC-LEBA@mail.gmail.com> <E1bv5h7-0006KZ-1M@bigsvr.orionnetworks.ie> <CAAKia75_0aGS24EaCogkCPB4EYzTaD=6kvfPwGbZqwVwq4kjSQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAAKia75_0aGS24EaCogkCPB4EYzTaD=6kvfPwGbZqwVwq4kjSQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/cDdmoPtaByLR16nxqilEFyX8MeY>
Cc: Alan Doherty <ietf@alandoherty.net>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Fri, 14 Oct 2016 17:41:24 -0000

On Fri, Oct 14, 2016 at 05:07:22PM +0000, Ben Irving wrote:
> On Fri, Oct 14, 2016 at 9:53 AM Alan Doherty <ietf@alandoherty.net> wrote:
> >
> > btw in http-01 the acme client can specify to the server whether to use
> > http://www.domain1.com/.well-known/acme-challenge/
> > or https://www.domain1.com/.well-known/acme-challenge/
> > directly
> >
> won't I need a certificate then? I'm calling the client before nginx has
> started.

Yes, you need a self-signed certificate to bootstrap the system. And
AFAIK, none of the usual ACME clients support this kind of operation.

Standalone mode won't work because it assumes TLS-SNI (which won't work
with TLS) with TLS and it would break on renewal anyway.


-Ilari


From nobody Fri Oct 14 12:03:44 2016
Return-Path: <patfigel@gmail.com>
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 4C3A512961C for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 12:03:43 -0700 (PDT)
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 Fv-Z8sQLVKD0 for <acme@ietfa.amsl.com>; Fri, 14 Oct 2016 12:03:39 -0700 (PDT)
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 BBD1A129613 for <acme@ietf.org>; Fri, 14 Oct 2016 12:03:38 -0700 (PDT)
Received: by mail-wm0-x235.google.com with SMTP id d128so15056826wmf.1 for <acme@ietf.org>; Fri, 14 Oct 2016 12:03:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=USJN6lxRk5KC6t56C609Jec9CtcSQJ1jopw0GQxBID8=; b=Xh1qY6Px+TM3HkUfXrZmCT+ODVsogl/HeQf3lisQBETkIjfQ6NH9xFdsddDTP3K1Cj E2PuQH8SgGmUb9WWqLVu1Mg6mJqNPJ/02SPo4ntCscT9vIPvW7FF4XYWqNhqd8i6dsv3 xu5cW+dP+E7Q96FRnL4104jNgo1r7IbzgOqYmG6hr+puVHfFyB7/40MMWzlXX7IXFOnR 0c1DuRPkUHFDUQpOO+LkeBRpQMhLlrGzJiK8lvSwLR7FanuN6TTbCqSXdmOhduxPfaF6 Jwlftm8NzP68jrDv8g14LI033SULV/Rc3ISkxyP+DdVBLYWD8VhZO/jva4VbuRxL0QFj L4YQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=USJN6lxRk5KC6t56C609Jec9CtcSQJ1jopw0GQxBID8=; b=PZib64cAVDHKETWaCCLA1qR6QrXQsPJBT7veEVazVTUOvaZniOVDtkVdDEyyioq6oU lBpgBrseGQKi95lex3lotY4JLHPGt6NtpJmeoDIOj5w7ZTuzplOHfqVZ7PhgLNizH11o kkHTC69qGotMIA7dKZP5ugBNHcKs8Qm7uDYR89QuCqCr0jlr/bVBUDp4Ru9mok83Jorw msahfOm/Nv72HMj+bTgxcq0vDGPGQZxNzh2Xlw9Yn/a6c0DmXjP7LtAtn5kYc9xTsDmn vQMNiAALwPmAHQ21NjOrcNMnhzcQ+1eZWoqmwv9HMOsgJU8LcdRe2iG0ocmIzsZ8RjpP eFJQ==
X-Gm-Message-State: AA6/9RnpGcirdT8xQBnWV+gMNco18GzfOtLpS20QevWiFIxFWdQpTNnD9NNJ4EmGWqwfwA==
X-Received: by 10.194.192.197 with SMTP id hi5mr3092838wjc.71.1476471817185; Fri, 14 Oct 2016 12:03:37 -0700 (PDT)
Received: from Patricks-MBP.home.pf.vc (213-47-56-124.cable.dynamic.surfer.at. [213.47.56.124]) by smtp.gmail.com with ESMTPSA id v13sm1196926wmf.17.2016.10.14.12.03.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Oct 2016 12:03:35 -0700 (PDT)
To: Alan Doherty <ietf@alandoherty.net>, Ben Irving <jammin.irving@gmail.com>, "acme@ietf.org" <acme@ietf.org>
References: <4db0e5a0-c55b-e80d-d271-4355ae20c793@seoss.co.uk> <CAKnbcLh2Gz4dcfMzKxc-E=xkvNiMx0foBjd-WfAh3DwoM8OF9g@mail.gmail.com> <CAAKia756CT80iDo2AJ0Od0MRi3cOMEF_ZGt-mFV58P7APWxCww@mail.gmail.com> <E1bumIU-0002Fl-Kb@bigsvr.orionnetworks.ie> <CAAKia74ijuSxRSsZPu5Gwn2ZP9YAKwKmYvtdrtg3FoxaC-LEBA@mail.gmail.com> <E1bv5h7-0006KZ-1M@bigsvr.orionnetworks.ie>
From: Patrick Figel <patfigel@gmail.com>
Message-ID: <b2839fee-28f3-a97a-2e41-abe75b4ecfe5@gmail.com>
Date: Fri, 14 Oct 2016 21:03:34 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:51.0) Gecko/20100101 Thunderbird/51.0a2
MIME-Version: 1.0
In-Reply-To: <E1bv5h7-0006KZ-1M@bigsvr.orionnetworks.ie>
Content-Type: text/plain; charset=windows-1252
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/u2xTBIGAEvajOEBQev8C376kD-s>
Subject: Re: [Acme] RFC draft-ietf-acme-acme-02 - tls SNI name
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: Fri, 14 Oct 2016 19:03:43 -0000

On 14/10/16 18:53, Alan Doherty wrote:
> btw in http-01 the acme client can specify to the server whether to 
> use http://www.domain1.com/.well-known/acme-challenge/ or 
> https://www.domain1.com/.well-known/acme-challenge/ directly
> 
> "The client’s response to this challenge indicates whether it would 
> prefer for the validation request to be sent over TLS:
> 
> type (required, string): The string “simpleHttp”
> tls (optional, boolean, default true): If this attribute is present
> and set to “false”, the server will perform its validation check over
>  unencrypted HTTP (on port 80) rather than over HTTPS. Otherwise the
>  check will be done over HTTPS, on port 443." 
> https://letsencrypt.github.io/acme-spec/#rfc.section.7.1

Note that this is referring to the simpleHttp challenge type, which was
removed quite some time ago, due to possible domain validation
vulnerabilities with common server configurations[1]. The replacement -
http-01 - does not support such a "tls" parameter, and validation
requests are always performed via HTTP (though a redirect to https:// is
still accepted).

[1]: https://www.ietf.org/mail-archive/web/acme/current/msg00524.html


From nobody Sat Oct 15 19:51:33 2016
Return-Path: <hlandau@devever.net>
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 0D469129410 for <acme@ietfa.amsl.com>; Sat, 15 Oct 2016 19:51:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.268
X-Spam-Level: 
X-Spam-Status: No, score=0.268 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 ET_YjOP3cDFx for <acme@ietfa.amsl.com>; Sat, 15 Oct 2016 19:51:29 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A3CB127735 for <acme@ietf.org>; Sat, 15 Oct 2016 19:51:29 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 855E61CEAC for <acme@ietf.org>; Sun, 16 Oct 2016 04:51:27 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received; s=mimas; t=1476586287; x=1494775648; bh=2xcq vX6uz5rsdaXfbtBzxM0+gOgqLeAZFToTeHUFKac=; b=W+Bccmxy0edjkMAVsMFR nKOjPw6lHUEV+zXs/KaIxfta0S7vPrXE3o4SS8glR+SI/rNfPKTPZ0Vrv3DLCuIZ Eb5EcfXQiQLjEgalNAO6iVocVDFtUhPlPqi2rVKNwc4AFW4T3097AXlkgjaMnKKf iA5LxSOIc6fEKEinWoDSmDK/ta0JlAP+mmfRLQND7KugY1H7xPIACx7IvSqhhF6q cuNRSwNmDd45+Vm6RWkKWIxzKnLKb9CMwbU12IrqGnYxnWoITV/mIrreaJY58YE8 uj7gJMCcv5fVTkz5DHPGTBOx0Fuk1pkA9X5GsVLlU1EbYDgLRpLPxAbWJG3fRLx6 cg==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id EsFlLJ05oGoO for <acme@ietf.org>; Sun, 16 Oct 2016 04:51:27 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 57FB51CEAB for <acme@ietf.org>; Sun, 16 Oct 2016 04:51:27 +0200 (CEST)
Date: Sun, 16 Oct 2016 03:51:27 +0100
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20161016025127.GA17606@andover.lhh.devever.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.7.0 (2016-08-17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/Lj3HFNtqRgrrU6TdKvWGd_cJGas>
Subject: [Acme] CAA extensions; acme-methods parameter added
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: Sun, 16 Oct 2016 02:51:31 -0000

I've updated my ACME-CAA draft to add the 'acme-methods' parameter:

http://hlandau.github.io/draft-landau-acme-caa/

Hugo Landau


From nobody Sun Oct 16 01:31:08 2016
Return-Path: <ron@debian.org>
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 D6AE6129606 for <acme@ietfa.amsl.com>; Sun, 16 Oct 2016 01:31:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.335
X-Spam-Level: 
X-Spam-Status: No, score=-0.335 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, TVD_PH_BODY_ACCOUNTS_PRE=0.001, TVD_PH_REC=1.784] autolearn=no autolearn_force=no
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 szGg6Z2L1Y2w for <acme@ietfa.amsl.com>; Sun, 16 Oct 2016 01:31:04 -0700 (PDT)
Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by ietfa.amsl.com (Postfix) with ESMTP id C18661295FF for <acme@ietf.org>; Sun, 16 Oct 2016 01:31:02 -0700 (PDT)
Received: from ppp121-45-108-70.bras2.adl6.internode.on.net (HELO mailservice.shelbyville.oz) ([121.45.108.70]) by ipmail07.adl2.internode.on.net with ESMTP; 16 Oct 2016 18:28:47 +1030
Received: from localhost (localhost [127.0.0.1]) by mailservice.shelbyville.oz (Postfix) with ESMTP id 5E823FFD78; Sun, 16 Oct 2016 18:28:46 +1030 (ACDT)
X-Virus-Scanned: Debian amavisd-new at mailservice.shelbyville.oz
Received: from mailservice.shelbyville.oz ([127.0.0.1]) by localhost (mailservice.shelbyville.oz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lkqD_js9IzHj; Sun, 16 Oct 2016 18:28:45 +1030 (ACDT)
Received: from hex.shelbyville.oz (hex.shelbyville.oz [192.168.1.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailservice.shelbyville.oz (Postfix) with ESMTPS id BBF62FFAFF; Sun, 16 Oct 2016 18:28:45 +1030 (ACDT)
Received: by hex.shelbyville.oz (Postfix, from userid 1000) id AE7D580473; Sun, 16 Oct 2016 18:28:45 +1030 (ACDT)
Date: Sun, 16 Oct 2016 18:28:45 +1030
From: Ron <ron@debian.org>
To: Ray Cheng <Ray.Cheng@entrust.com>
Message-ID: <20161016075845.GX3269@hex.shelbyville.oz>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <20161004144426.GA21527@andover.lhh.devever.net> <5252669b3ba14910b446fff520e6c412@PMSPEX04.corporate.datacard.com> <CABkgnnVNo_Uuvfcxbr4H5_AoVao73rdVqG+xpbnCwMXxVjQXVw@mail.gmail.com> <0a7dd253f9eb4771b09e5fd0f03386dc@PMSPEX04.corporate.datacard.com> <20161010024304.GG3269@hex.shelbyville.oz> <b8abdaeb5fcb4e8385da40995666e4a7@PMSPEX04.corporate.datacard.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <b8abdaeb5fcb4e8385da40995666e4a7@PMSPEX04.corporate.datacard.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/hOjoUGgcOUry5SExSNxsor_TRI8>
Cc: "acme@ietf.org" <acme@ietf.org>, Martin Thomson <martin.thomson@gmail.com>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Sun, 16 Oct 2016 08:31:07 -0000

On Thu, Oct 13, 2016 at 04:29:08PM +0000, Ray Cheng wrote:
> > From: Ron [mailto:ron@debian.org]
> > 
> > Isn't the whole point of going through this work here (as opposed to just
> > having each CA invent its own thing), to provide a way for all of the
> > interested stakeholders to come up with a single interoperable standard
> > which they think will work for all of them?
> > 
> > So that other people can implement clients to the documented spec, which
> > will work with any CA that implements that spec.
> 
> I don't see the proposed "ca-extension" as being incompatible with
> this goal. If clients implement this extension, they simply have to
> supply some runtime parameters to work with CA's which have particular
> parameter requirements.

I think you are confusing 'simple mechanics' with 'interoperability'.
It might be 'simple' to add arbitrary extra fields, but it's impossible
for them to be interoperable if they aren't documented and well defined
as part of the relevant standard.

> With respect to client-server interop, this "ca-extension" has some
> similarities to the "contact" field. For example, a "mailto" URI is
> optional in the eyes of ACME and certbot. However, a server is
> entitled to have a policy that say a valid "mailto" URI must be
> present. If someone using certbot chose not to send the "mailto" URI,
> the server can legitimately reject the request. The server will accept
> the request if someone using certbot "fills-in" the email.

"There are other fields which are optional" is not a useful similarity.
The important difference is that "contact" is a well known field name
with well defined semantics for implementors.


> > I think that if your due diligence on this has shown that you'll need
> > things which aren't already in the spec, then we should talk about those
> > and add them in an organised and openly thought through way.
> 
> We do know that we have a requirement for a "ca-account" field. This
> can be added as an optional explicit field, or as a key-value pair in
> the "ca-extension". Client-server interop is similar in either
> scenario.

The mechanics may be similar, but 'interop' is only possible if you
actually standardise exactly what should go in that field when and why.

I don't particularly care how we add this to the JSON object as long
as it's not totally insane - what I'd want to see is a rationale for why
ACME needs specific additional fields for your implementation, that they
aren't already provided for by some other existing mechanism, and a clear
definition in the standard of how what you need should be done by anyone
who does need it.  We don't get any of the things which are essential for
interop if the solution is just "anyone can add or remove or change their
own extra fields any time they like".

And in the case of something like what I imagine "ca-account" might be
used for, some security consideration and review might be useful too.
What stops me from putting someone else's account details into my
requests for certificates from you?  Surely you need something stronger
than this to securely link an ACME account key to your own billing
account records?

And you're probably not the only CA who might want a solution to that,
so we should have one well thought through solution for ACME, not one
per CA (that possibly one developer invented without review, under
time pressure from their manager to deploy it by tomorrow).


> > If you don't know what they are yet, I think the right answer is that you
> > should go away and think about that until you do know - not that we should
> > add a way to create random incompatible extensions that still call
> > themselves "compatible" with this protocol.
> 
> I would characterize these extensions as application-specific. X.509
> extensions would be an appropriate analogy. Defining a new
> application-specific X.509 non-critical extension does not break X.509
> clients and servers. Introducing new application features (e.g.
> Certificate Transparency) would be difficult if X.509 did not have
> extensions and required updates to its specification. 
> 
> I am not suggesting that the proposed "ca-extension" as being at the
> same level of importance to ACME as extensions are to X.509. I just
> want to point out that an extension mechanism is not necessarily bad
> for interop.

X.509 probably isn't the best example of Good Practice or a model for
good interoperability :)  X.509 version 3 (which added the extensions)
seems more like a case of the ITU throwing its hands in the air in
acknowledgement of their own process limitations, and doing the same
as what was done to Q.931 for QSIG.  We've had a long time to learn
the lessons of how that turned out, and the IETF is open to all
participants, so I don't think we have the need to punt on carefully
considering exactly what this protocol needs to function for all of
its intended users.

I do quite expect that whatever we do today, there probably will be
an ACME v3 eventually as people find bugs and/or limitations or security
vulnerabilities that aren't yet obvious to us.  I'd be happier if that
didn't happen, but I'm realistic enough to expect that it probably will.
So it's a bit early for us to already be giving in to just letting chaos
rule for 'normal' implementations by early adopters.

JSON objects are already inherently extensible, they don't need a special
tag defined for that like ASN.1 does.  The interesting question here is
not "Do we need a mechanism to allow future extension?" (because the
answer to that is 'no, we already have that'), it is "Should we allow
extensions that aren't in themselves standardised?" - And speaking from
my own experience, I think the answer to that should be no too.  That
would be a big mistake to repeat this early in the evolution of ACME.



> > > If a client does not send the list of key-value pairs that a CA
> > > requires, it does not mean that the ACME client does not interoperate
> > > with that ACME server at a protocol level.
> > 
> > That's kind of exactly what that means.  Sort of by definition.
> > 
> > > It just means that the client needs to "fill out the form" that the CA
> > > requires.
> > 
> > Which means they are only "compatible" in the sense that "They both use
> > JSON".  That's not a very useful definition of "interoperable".
> 
> ACME is much more than the JSON that is in the registration object. 
> It provides a lot of useful standardized cert management flow that is
> crucial to interop.

Yes.  Which is useful and allows interop precisely because it is
standardised.  If we encourage undocumented proprietary extensions
to it, we lose that value almost immediately.

We can't stop people from doing that anyway.  But that doesn't mean
we shouldn't prefer creating a standard which is complete enough to
not need them for already known users and uses.


> > > Adding explicit elements like "account" and "operator" can also solve
> > > the problem for now. CA's not requiring these elements would simply
> > > ignore them. However, let's suppose 6 months from now that we, or
> > > another CA, discovers we need to collect another additional piece of
> > > registration data. The "ca-extension" object would allow us to do this
> > > without changing the client or the protocol.
> > 
> > How can you do this without changing the client, if existing clients won't
> > send the extra fields you've decided to require?
> 
> A compliant client does not need to change because it can send any new name-value pair.
> It is just a matter of an extra command-line parameter or a config file addition.

Which is functionally equivalent to saying "we have interop, because an
end user can always edit the source of the client they use, to make it
compatible with a CA using non-standard extensions".  Assuming they
can actually find out the details of those extensions themselves, which
aren't a documented part of ACME.



> As I have cited as examples, we have two known items that we would add
> to the registration object through the "ca-extension": "ca-account"
> and "requestor-name". I assume that a CA like Boulder would have no
> use for these as it does not have the concept of accounts and it has
> no intention of ever contacting a live person. Whether we add
> "ca-account" and "requestor-name" as extensions or as explicitly named
> fields should have no impact on Boulder or other CA's because they are
> likely to ignore them.

Boulder or other CAs aren't the case where interop with your requirements
is necessary.  It's the client software implementors and end users which
want to be able to interop with any ACME using CA who need all of this
to be well standardised.

And they can only do that if these extra things are standardised too.
They don't have to be mandatory for every server to use, but it is
important that CAs which do use them, don't all reinvent the same
wheel differently.

We learnt not to build train lines with different gauge tracks a long
time ago too :)


Let's talk about what "ca-account" and "requestor-name" should do,
and confirm there really isn't some other existing place those
functions should be (or are already) supported in.  And then if we
do really need them because nobody thought of that yet, let's add
the needed mechanism and documentation for them.


> One advantage of explicitly named fields is that usability is improved
> slightly when running clients like certbot - at least for CA's that
> cared about them. The reasons are that it can be prompted for in the
> UI flow and you can have explicitly named command-line parameters. The
> down-side is that you are adding slightly more complexity for CAs that
> don't care about them (e.g. prompting for not applicable values and
> having extra documented parameters that are not needed).

I think we need to not make too many assumptions about UI here, or
design the protocol around what seems 'simple' in one UI idiom or
another.

We should look at what information you need carried in the protocol
to do your job as a CA that isn't already present or supported by
what we have defined so far.  How the client software collects that
information is a problem with many right answers for different users.
The important bit here is that we have just one clear way to send
that same information to all CAs that do require it.

That way the client software doesn't need specialisation for each CA
to send that data, or need to collect essentially the same data in
multiple different forms to suit each CA's quirks in their custom
fields for it.  It then does become the 'simple' matter of "do I
need the content of this field from the user or not".  And they can
safely err on the side of sending it, knowing that CAs which don't
care really will ignore it, and not mistake it for a similarly named
but incompatible field of their own.


  Ron



From nobody Sun Oct 16 01:40:05 2016
Return-Path: <ilariliusvaara@welho.com>
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 A2A96129632 for <acme@ietfa.amsl.com>; Sun, 16 Oct 2016 01:40:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.331
X-Spam-Level: 
X-Spam-Status: No, score=-2.331 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.431] autolearn=ham autolearn_force=no
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 YSoKgpLes5dC for <acme@ietfa.amsl.com>; Sun, 16 Oct 2016 01:40:02 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 990F6129630 for <acme@ietf.org>; Sun, 16 Oct 2016 01:40:02 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 3089313D8A; Sun, 16 Oct 2016 11:40:01 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id pT6JaRMN1vBy; Sun, 16 Oct 2016 11:40:00 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-237-87.bb.dnainternet.fi [87.100.237.87]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id C8AED283; Sun, 16 Oct 2016 11:40:00 +0300 (EEST)
Date: Sun, 16 Oct 2016 11:39:53 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Hugo Landau <hlandau@devever.net>
Message-ID: <20161016083953.GA4666@LK-Perkele-V2.elisa-laajakaista.fi>
References: <20161016025127.GA17606@andover.lhh.devever.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20161016025127.GA17606@andover.lhh.devever.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/l-JnTY6JZ7BEWb2FnC-DZwO-BhM>
Cc: acme@ietf.org
Subject: Re: [Acme] CAA extensions; acme-methods parameter added
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: Sun, 16 Oct 2016 08:40:04 -0000

On Sun, Oct 16, 2016 at 03:51:27AM +0100, Hugo Landau wrote:
> I've updated my ACME-CAA draft to add the 'acme-methods' parameter:
> 
> http://hlandau.github.io/draft-landau-acme-caa/

Security considerations might mention that not all methods are equally
secure under DNSSEC (I didn't see this mentioned):

E.g. HTTP-01 can be falsely passed by hijacking connections to the
addresses obtained from the DNS, and DNSSEC can't protect against this,
while the same kind of attack won't work against DNS-01 (since all
data comes from DNS, and thus DNSSEC can verify it).


-Ilari


From nobody Tue Oct 18 21:45:52 2016
Return-Path: <hlandau@devever.net>
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 613981293F4 for <acme@ietfa.amsl.com>; Tue, 18 Oct 2016 21:45:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.432
X-Spam-Level: 
X-Spam-Status: No, score=-2.432 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 uxuBvpiu6-8H for <acme@ietfa.amsl.com>; Tue, 18 Oct 2016 21:45:49 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7911B12943D for <acme@ietf.org>; Tue, 18 Oct 2016 21:45:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id B3BFC1CFEB for <acme@ietf.org>; Wed, 19 Oct 2016 06:45:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received; s=mimas; t=1476852346; x=1495041707; bh=iFMJ gTvOOCrfiaQ6+sNQTY0Q9/HFBlkZn1YfxGkvgxg=; b=EoQrIJjTHMay+PdyocYo w11mcf51Zi5S6etJR1eq9hf/GAnaJGf/1dH0UqqSDtnwbK/1lM5owlJL1XubfZas TkOoFBCkBGNtXbry143dfWepNGDnNWiXEFBr6g0fcBPpaal2SAQAipMtKYn2Mt2c LMnnLbptukNCguHFVfF4A2mHrH0valxcP+mxzwGWgw+AVa/SNOji87Zpyiwvi6dO jsDD2gvKncksoXI4WunYbXEw4xr/Y0Hepr+6dDZu/zu7xmrB0OznsjmGz0VpTLqS JTGGwGwUbOX7g400gIm+F9i7owarloh3TsBQNLKFPurZ0O7yP4ol6oB4aN3u1hEE ng==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id 3H_iqQ8XrzXF for <acme@ietf.org>; Wed, 19 Oct 2016 06:45:46 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 874D51C5C0 for <acme@ietf.org>; Wed, 19 Oct 2016 06:45:46 +0200 (CEST)
Date: Wed, 19 Oct 2016 05:45:46 +0100
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20161019044546.GA32374@andover.lhh.devever.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.7.1 (2016-10-04)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/Jpneb1zS05vzAOatpuCDq5_Tfmg>
Subject: [Acme] New ACME-CAA draft
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, 19 Oct 2016 04:45:51 -0000

This incorporates acme-methods and also revises the DNSSEC security
considerations section to point out that security against global
adversaries can be obtained either by use of account-uri or by use of
acme-methods to specify only DNS-only validation methods, as suggested
by Ilari Liusvaara.

https://tools.ietf.org/html/draft-landau-acme-caa-01

Hugo Landau


From nobody Wed Oct 19 00:52:48 2016
Return-Path: <rsalz@akamai.com>
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 BA3A7129555 for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 00:52:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.152
X-Spam-Level: 
X-Spam-Status: No, score=-3.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 L5Bxr3BKx8xU for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 00:52:45 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id E5AD6129553 for <acme@ietf.org>; Wed, 19 Oct 2016 00:52:44 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 0EC024237A2; Wed, 19 Oct 2016 07:52:44 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id ECD88423770; Wed, 19 Oct 2016 07:52:43 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1476863563; bh=eOLR/S500SF3ydegsklQUp5aLlMQdnpgxIILAO6quUE=; l=188; h=From:To:Date:References:In-Reply-To:From; b=v9Ta05E6nyjkZoy1CmddWu0nuuS43geU6lVhv6Bp5/kLvJVy47aAg+KKTcKCucn/P l/ktMiEH12SecNRm2xYAycFAGB7JoXzJ0pV8QyxiuCgi4mNtE+k279MfeOMFklgsdg Kspg7bUhzU+hF38cXR4YPHkuydrop0whQjqz7LZU=
Received: from email.msg.corp.akamai.com (ecp.msg.corp.akamai.com [172.27.123.34]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id E43091FC8E; Wed, 19 Oct 2016 07:52:43 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 19 Oct 2016 03:52:43 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1178.000; Wed, 19 Oct 2016 03:52:43 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Hugo Landau <hlandau@devever.net>, "acme@ietf.org" <acme@ietf.org>
Thread-Topic: [Acme] New ACME-CAA draft
Thread-Index: AQHSKcOz0DNa4SazI0GBH4Wi/UlFW6CvZ1Tg
Date: Wed, 19 Oct 2016 07:52:42 +0000
Message-ID: <0b54214449074eb9bc4d97a0f83a080a@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <20161019044546.GA32374@andover.lhh.devever.net>
In-Reply-To: <20161019044546.GA32374@andover.lhh.devever.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.152.235]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/FTEGIoP43VLajvncbs3Dh7kHDes>
Subject: Re: [Acme] New ACME-CAA draft
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, 19 Oct 2016 07:52:47 -0000

> https://tools.ietf.org/html/draft-landau-acme-caa-01

Do you think this is ready for the WG to consider adopting it as a work ite=
m? And would you be willing to  continue editing?


From nobody Wed Oct 19 01:16:41 2016
Return-Path: <hlandau@devever.net>
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 E147A12954E for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 01:16:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.432
X-Spam-Level: 
X-Spam-Status: No, score=-2.432 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 LDo1Ux4s4sbL for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 01:16:38 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 202F4129554 for <acme@ietf.org>; Wed, 19 Oct 2016 01:16:37 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 5A4361CFE0; Wed, 19 Oct 2016 10:16:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mimas; t=1476864996; x=1495054357; bh=UvxfnOhkHO6ZQtG8TT2k1ejLZuVBRzj6XUTpZPeCN/8=; b= ihLYfL4/pV1mBwbkL2ayqnzHZBnRafsLaKwCpg/H5roYPhOhQ1yQ8mEqeQUnKg/x Mt3xcpTxsJpfm9XQmYfee58lOJmh4RfLKf1avwmDCUJfdw1al5UA+KUzN07UobTL P1dCPDCQBkCT2MWHWg+Ytjc2Uc2C37ziOQPqESe+yPeJySpiZTMg/fIuDKMRala4 5t/jLCXjdj5gzkta/8qh2UXembk1GV7vO8pwFoD522xNjojWelH74eLRQl2Kqdot qh51H5d/hUueSX2oUCvxy8/4L6uehAkagewDREhXo2rTVhA+H9BblSiF0Oj8QFNk YGxtQZM5jR8QB0V+Aq+Y+w==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id FGy7b4YpKoEG; Wed, 19 Oct 2016 10:16:36 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 286861C607; Wed, 19 Oct 2016 10:16:36 +0200 (CEST)
Date: Wed, 19 Oct 2016 09:16:36 +0100
From: Hugo Landau <hlandau@devever.net>
To: "Salz, Rich" <rsalz@akamai.com>
Message-ID: <20161019081635.GA3245@andover.lhh.devever.net>
References: <20161019044546.GA32374@andover.lhh.devever.net> <0b54214449074eb9bc4d97a0f83a080a@usma1ex-dag1mb1.msg.corp.akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0b54214449074eb9bc4d97a0f83a080a@usma1ex-dag1mb1.msg.corp.akamai.com>
User-Agent: Mutt/1.7.1 (2016-10-04)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/CmAoSJ_3AyVwxlD6IPvG8evSKrE>
Cc: acme@ietf.org
Subject: Re: [Acme] New ACME-CAA draft
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, 19 Oct 2016 08:16:40 -0000

> Do you think this is ready for the WG to consider adopting it as a work item? And would you be willing to  continue editing?

I'd be happy to give this over to the WG. I can remain the editor.

Hugo Landau


From nobody Wed Oct 19 03:49:21 2016
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: acme@ietf.org
Delivered-To: acme@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9BEBF12997E; Wed, 19 Oct 2016 03:49:19 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <draft-landau-acme-caa@ietf.org>, <acme@ietf.org>, <acme-chairs@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.35.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147687415963.8892.6172943181995377573.idtracker@ietfa.amsl.com>
Date: Wed, 19 Oct 2016 03:49:19 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/0qDrEn5tIyvLnZDojmSjI0i2k0I>
Subject: [Acme] The ACME WG has placed draft-landau-acme-caa in state "Call For Adoption By WG Issued"
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
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, 19 Oct 2016 10:49:19 -0000

The ACME WG has placed draft-landau-acme-caa in state 
Call For Adoption By WG Issued (entered by Rich Salz)

The document is available at
https://datatracker.ietf.org/doc/draft-landau-acme-caa/


Comment:
WG support for this on the mailing list.


From nobody Wed Oct 19 03:50:14 2016
Return-Path: <rsalz@akamai.com>
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 6611D12997B for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 03:50:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.152
X-Spam-Level: 
X-Spam-Status: No, score=-3.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 A1WKOUxgQpze for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 03:50:11 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 4B7F6129677 for <acme@ietf.org>; Wed, 19 Oct 2016 03:50:11 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id A97D64E1360 for <acme@ietf.org>; Wed, 19 Oct 2016 10:50:10 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 8DC084E1305 for <acme@ietf.org>; Wed, 19 Oct 2016 10:50:10 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1476874210; bh=GSTcYX2Axyqfx1Bx1y2IC/UamfNQojh1cduPjYxzN1c=; l=1080; h=From:To:Date:References:In-Reply-To:From; b=vJTb8GSeY6gPDBRkYTlZOQOe2CBpO5+x5AFbIHJQpth31agK89vW2vxHho+uGZr9X iph0B918JYk+IRSYimgQOE0m9mcn0Evsb3ShB/xji0Nhp4saUNZN+fsYSRksWGG00n PoLujUXOq0VPXg2kpFt32s/pYkUefJI1FROV9+Ds=
Received: from email.msg.corp.akamai.com (usma1ex-cas3.msg.corp.akamai.com [172.27.123.32]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id 81D561FCAC for <acme@ietf.org>; Wed, 19 Oct 2016 10:50:10 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 19 Oct 2016 06:50:09 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1178.000; Wed, 19 Oct 2016 06:50:09 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: The ACME WG has placed draft-landau-acme-caa in state "Call For Adoption By WG Issued"
Thread-Index: AQHSKfZzOdm9fczG4kir898QoLDDwKCvmRAw
Date: Wed, 19 Oct 2016 10:50:08 +0000
Message-ID: <fc01e09ac54348eda39c3c443bcc5caa@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <147687415963.8892.6172943181995377573.idtracker@ietfa.amsl.com>
In-Reply-To: <147687415963.8892.6172943181995377573.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.152.235]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/eF8iQPIayomUxxGXlX6hfv0zBaU>
Subject: [Acme] FW: The ACME WG has placed draft-landau-acme-caa in state "Call For Adoption By WG Issued"
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, 19 Oct 2016 10:50:13 -0000

UGxlYXNlIHJlcGx5IHRvIHRoZSBsaXN0IGlmIHlvdSBhcmUgb3Bwb3NlZCAob3IgaW4gZmF2b3Ip
IG9mIFdHIGFkb3B0aW9uIG9mIHRoaXMsIHdpdGggSHVnbyBhcyBlZGl0b3IuDQoNCi0tICANClNl
bmlvciBBcmNoaXRlY3QsIEFrYW1haSBUZWNobm9sb2dpZXMNCk1lbWJlciwgT3BlblNTTCBEZXYg
VGVhbQ0KSU06IHJpY2hzYWx6QGphYmJlci5hdCBUd2l0dGVyOiBSaWNoU2Fseg0KDQoNCi0tLS0t
T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBJRVRGIFNlY3JldGFyaWF0IFttYWlsdG86aWV0
Zi1zZWNyZXRhcmlhdC1yZXBseUBpZXRmLm9yZ10gDQpTZW50OiBXZWRuZXNkYXksIE9jdG9iZXIg
MTksIDIwMTYgMTI6NDkgUE0NClRvOiBkcmFmdC1sYW5kYXUtYWNtZS1jYWFAaWV0Zi5vcmc7IGFj
bWVAaWV0Zi5vcmc7IGFjbWUtY2hhaXJzQGlldGYub3JnDQpTdWJqZWN0OiBUaGUgQUNNRSBXRyBo
YXMgcGxhY2VkIGRyYWZ0LWxhbmRhdS1hY21lLWNhYSBpbiBzdGF0ZSAiQ2FsbCBGb3IgQWRvcHRp
b24gQnkgV0cgSXNzdWVkIg0KDQoNClRoZSBBQ01FIFdHIGhhcyBwbGFjZWQgZHJhZnQtbGFuZGF1
LWFjbWUtY2FhIGluIHN0YXRlIENhbGwgRm9yIEFkb3B0aW9uIEJ5IFdHIElzc3VlZCAoZW50ZXJl
ZCBieSBSaWNoIFNhbHopDQoNClRoZSBkb2N1bWVudCBpcyBhdmFpbGFibGUgYXQNCmh0dHBzOi8v
ZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2RyYWZ0LWxhbmRhdS1hY21lLWNhYS8NCg0KDQpDb21t
ZW50Og0KV0cgc3VwcG9ydCBmb3IgdGhpcyBvbiB0aGUgbWFpbGluZyBsaXN0Lg0K


From nobody Wed Oct 19 11:22:56 2016
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 3DDA41296D6 for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 11:22:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 SdELPdkfxmZk for <acme@ietfa.amsl.com>; Wed, 19 Oct 2016 11:22:53 -0700 (PDT)
Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (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 351B912955F for <acme@ietf.org>; Wed, 19 Oct 2016 11:22:53 -0700 (PDT)
Received: by mail-vk0-x235.google.com with SMTP id q126so38408012vkd.2 for <acme@ietf.org>; Wed, 19 Oct 2016 11:22:53 -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=2EVovldjpd6CXvQmFcnCFNXAf46ShzbqsZCk5Gtw+As=; b=Q16b7RG5K0xPk2aP/4gRW0dHU7s8LG+h2wAqfavf069CehKOykydjhgjciw+/7trLi s7SHKrbifiE1F7j5LpS6XMvt2bKSXQYkLdxDTjTRNuD7K0IKf302S8IpeIH8NzW7fcZR gzgNfycWnFCwljduopX7EbW3Kg+Gjjj1yWs1Lt2vNJm4wCB/MsHhVDUWheXYPEIkpYZG tjU9tc0MFJoS+1v29Xd03ckelkFALJ8Uj9x3RKaPLe69H0sE0DlnzcNNtpvVWXg8w4CL oD01F44EMsw3bfVi9sNPSwUGWOvqnXuj0fTHzXmWI5FGrnVa3KztBngUG4tpu23jVCNK oo7A==
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=2EVovldjpd6CXvQmFcnCFNXAf46ShzbqsZCk5Gtw+As=; b=ZIQexYPufYdiUwQwANBAU3YjBbPIQFB5HC5reHq7ZQaXPaQ+yYW+oFkKJJNlivKG8V UeMn2CVmvLp8cCl7LJg/M5ZIrhXcJyJAiFOT5/pDWjblh3yxLS2f5koNj2Ta8Ynve1dZ P8wLYPrFHG1JZd/KxVK621g5poaeark27CnQw7hOQzxO4At5o7HsoXF3j8dYhiKOXP/X C5dP9O+06ATXkPNzgCn0bQKjxEmkDLceDcEGfuvVqGqagEoZrTtRbxxrnJI6c5kRaGJs GUdEXaLNixY/F+KQrn+iG4HmNp8QKVFn0VzXff9l0toRmrfLXspCmBB1aLi8szZ4+fe1 QZ1A==
X-Gm-Message-State: AA6/9RkT4M5ngiGuySUeeYOFUccq5j98Q/G1+4Z88ghfUJ0YspKX1JBTCqKjgRrVQ0cPG9ZmxHGYj+rFQl3ijg==
X-Received: by 10.31.170.23 with SMTP id t23mr5600511vke.6.1476901372096; Wed, 19 Oct 2016 11:22:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.108.197 with HTTP; Wed, 19 Oct 2016 11:22:51 -0700 (PDT)
In-Reply-To: <fc01e09ac54348eda39c3c443bcc5caa@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <147687415963.8892.6172943181995377573.idtracker@ietfa.amsl.com> <fc01e09ac54348eda39c3c443bcc5caa@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Wed, 19 Oct 2016 14:22:51 -0400
Message-ID: <CAL02cgQx7CrAaUkcLJZ7DWmhtWNLEcS46ZQL7HL4=KKcbWCAhA@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: multipart/alternative; boundary=001a11353f78a70c84053f3be595
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/QLsWd90gykz-0KCfKK60BVzC6hM>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] FW: The ACME WG has placed draft-landau-acme-caa in state "Call For Adoption By WG Issued"
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, 19 Oct 2016 18:22:55 -0000

--001a11353f78a70c84053f3be595
Content-Type: text/plain; charset=UTF-8

I am supportive of doing work in this vein.

On Wed, Oct 19, 2016 at 6:50 AM, Salz, Rich <rsalz@akamai.com> wrote:

> Please reply to the list if you are opposed (or in favor) of WG adoption
> of this, with Hugo as editor.
>
> --
> Senior Architect, Akamai Technologies
> Member, OpenSSL Dev Team
> IM: richsalz@jabber.at Twitter: RichSalz
>
>
> -----Original Message-----
> From: IETF Secretariat [mailto:ietf-secretariat-reply@ietf.org]
> Sent: Wednesday, October 19, 2016 12:49 PM
> To: draft-landau-acme-caa@ietf.org; acme@ietf.org; acme-chairs@ietf.org
> Subject: The ACME WG has placed draft-landau-acme-caa in state "Call For
> Adoption By WG Issued"
>
>
> The ACME WG has placed draft-landau-acme-caa in state Call For Adoption By
> WG Issued (entered by Rich Salz)
>
> The document is available at
> https://datatracker.ietf.org/doc/draft-landau-acme-caa/
>
>
> Comment:
> WG support for this on the mailing list.
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

--001a11353f78a70c84053f3be595
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I am supportive of doing work in this vein.=C2=A0 <br></di=
v><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Oct 19,=
 2016 at 6:50 AM, Salz, Rich <span dir=3D"ltr">&lt;<a href=3D"mailto:rsalz@=
akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">Please reply to the list if you are opposed (or=
 in favor) of WG adoption of this, with Hugo as editor.<br>
<br>
--<br>
Senior Architect, Akamai Technologies<br>
Member, OpenSSL Dev Team<br>
IM: <a href=3D"mailto:richsalz@jabber.at">richsalz@jabber.at</a> Twitter: R=
ichSalz<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
-----Original Message-----<br>
From: IETF Secretariat [mailto:<a href=3D"mailto:ietf-secretariat-reply@iet=
f.org">ietf-secretariat-<wbr>reply@ietf.org</a>]<br>
Sent: Wednesday, October 19, 2016 12:49 PM<br>
To: <a href=3D"mailto:draft-landau-acme-caa@ietf.org">draft-landau-acme-caa=
@ietf.org</a><wbr>; <a href=3D"mailto:acme@ietf.org">acme@ietf.org</a>; <a =
href=3D"mailto:acme-chairs@ietf.org">acme-chairs@ietf.org</a><br>
Subject: The ACME WG has placed draft-landau-acme-caa in state &quot;Call F=
or Adoption By WG Issued&quot;<br>
<br>
<br>
The ACME WG has placed draft-landau-acme-caa in state Call For Adoption By =
WG Issued (entered by Rich Salz)<br>
<br>
The document is available at<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-landau-acme-caa/" rel=3D"=
noreferrer" target=3D"_blank">https://datatracker.ietf.org/<wbr>doc/draft-l=
andau-acme-caa/</a><br>
<br>
<br>
Comment:<br>
WG support for this on the mailing list.<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
</div></div></blockquote></div><br></div>

--001a11353f78a70c84053f3be595--


From nobody Fri Oct 21 16:29:44 2016
Return-Path: <agenda@ietf.org>
X-Original-To: acme@ietf.org
Delivered-To: acme@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8906B1296D3; Fri, 21 Oct 2016 16:21:25 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "\"IETF Secretariat\"" <agenda@ietf.org>
To: <ted.ietf@gmail.com>, <acme-chairs@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147709208555.28214.5748276144998174276.idtracker@ietfa.amsl.com>
Date: Fri, 21 Oct 2016 16:21:25 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/UPz6kFpTeVY3wt_oSVlyIzQonqg>
Cc: Kathleen.Moriarty.ietf@gmail.com, acme@ietf.org
Subject: [Acme] acme - Requested session has been scheduled for IETF 97
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 21 Oct 2016 23:21:26 -0000

Dear Ted Hardie,

The session(s) that you have requested have been scheduled.
Below is the scheduled session information followed by
the original request. 

acme Session 1 (1:30:00)
    Wednesday, Afternoon Session I 1330-1500
    Room Name: Studio 4 size: 100
    ---------------------------------------------
    


Request Information:


---------------------------------------------------------
Working Group Name: Automated Certificate Management Environment
Area Name: Security Area
Session Requester: Ted Hardie

Number of Sessions: 1
Length of Session(s):  1.5 Hours
Number of Attendees: 80
Conflicts to Avoid: 
 First Priority: httpauth httpbis sidr ianaplan rtcweb tls perc
 Second Priority: dprive tcpinc uta dispatch netvc cfrg ace
 Third Priority: maprg hrpc irtfopen opsec


Special Requests:
  
---------------------------------------------------------


From nobody Tue Oct 25 18:11:38 2016
Return-Path: <jsha@eff.org>
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 AF9F31299D9 for <acme@ietfa.amsl.com>; Tue, 25 Oct 2016 18:11:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 mZcSlQ6S8GrU for <acme@ietfa.amsl.com>; Tue, 25 Oct 2016 18:11:34 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 847F512943B for <acme@ietf.org>; Tue, 25 Oct 2016 18:11:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=tfKwUAp02rIUWZonIzPIpmZ96upLn5+LCbIhJR3+mdI=;  b=OnQez0z095QR/JaNtbedm3u72Ko0x9oW+ni7Ro3+dWki9X7SHgBvfgJvqLItzeZ6fVoiOUzifceLZuOi5J7h6vDkMC9NaSqx8zj/Ykz/+W5EWLfsDS5a51maV3qn/ISM3eop2sylj+9FW+lMnCaqEIJxzOpOs58bmV8bJuwAYhE=;
Received: ; Tue, 25 Oct 2016 18:11:33 -0700
To: acme@ietf.org
References: <2118fd66-a775-3345-4aa7-2d849da2a82e@eff.org> <20160927051453.GB14922@andover.lhh.devever.net> <b2e2daec-f1f0-c4ca-2244-b8ea5fee1673@eff.org> <CAL02cgRNeUw=5DoCBRfFkZdPYfOCs1OpG77axud6a-dz26K+zg@mail.gmail.com> <4f6e2b68-8e08-3933-d66b-1bfb81c1565d@eff.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <22a031fd-72bf-6416-7010-9abe3203450e@eff.org>
Date: Tue, 25 Oct 2016 18:11:34 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <4f6e2b68-8e08-3933-d66b-1bfb81c1565d@eff.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/qoLHlK-_rj6xr2_18RJ_kGA5ROs>
Subject: Re: [Acme] Default to PEM with chain for certificates
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, 26 Oct 2016 01:11:37 -0000

I've updated https://github.com/ietf-wg-acme/acme/pull/194 to reflect
the Link: rel="alternate" concept. Are there any further comments on
this change? I'd like to get it merged by the Monday draft deadline.

On 10/12/2016 03:22 PM, Jacob Hoffman-Andrews wrote:
> On 10/02/2016 08:49 AM, Richard Barnes wrote:
>> This change seems to suppose that there is One True Cert Chain
> It does not suppose that. It supposes most CAs will offer One
> Recommended Cert Chain that is "best" for most of their customers. And
> in fact that is the best common practice today.
>
> Alternate chains can be offered with the Link rel=alternate that I
> mentioned on-list (but haven't yet incorporated into the PR). What do
> you think of that approach?
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>


From nobody Tue Oct 25 18:12:10 2016
Return-Path: <jsha@eff.org>
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 6FA1012943B for <acme@ietfa.amsl.com>; Tue, 25 Oct 2016 18:12:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 vlIK8H1hkhq1 for <acme@ietfa.amsl.com>; Tue, 25 Oct 2016 18:12:07 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFFA81299CB for <acme@ietf.org>; Tue, 25 Oct 2016 18:12:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=5S4DTG4xWVlLeoc01mnlGlnMCsjyLKBIJGDqdXSCNKo=;  b=p7OIrILlyn4nq9Ibh4z8byhjLPMq+p4jXHp/aQr9NfIWgUxg9ZSEYiPff4V8P4qHbQxgw/CVB29Fc1lemm27HVaEypMBy6JXsBGe48g/TYogkpCCLXjF8CE/d99MpWzgqPc9Oyg7M76SgCWqnVHv2/0N30zUcBkGbRgedNZbKEs=;
Received: ; Tue, 25 Oct 2016 18:12:07 -0700
To: "acme@ietf.org" <acme@ietf.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <9582faa4-ee8f-faa2-05a0-bd5746f2f3ed@eff.org>
Date: Tue, 25 Oct 2016 18:12:07 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/gsFzgbty2YIMRyCeWMZpBngQlB4>
Subject: [Acme] Heads up: IETF deadline Monday
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, 26 Oct 2016 01:12:09 -0000

As an FYI, Richard tells me there is an IETF document deadline coming up
this Monday, so expect to see increase activity this week.


From nobody Tue Oct 25 18:44:46 2016
Return-Path: <jsha@eff.org>
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 1AD7B1299F2 for <acme@ietfa.amsl.com>; Tue, 25 Oct 2016 18:44:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 OXhtXYu9m8rl for <acme@ietfa.amsl.com>; Tue, 25 Oct 2016 18:44:42 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E55361299F1 for <acme@ietf.org>; Tue, 25 Oct 2016 18:44:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=kZxRoq3FG4/xnMp6wkv++pM7cBs2f2GGUL10CAJ9pNs=;  b=4qBnQKG5Vqvfo5pqtLlvwgii4Ux+edf5bAnNYJa5FHKKdYFnG18JKXBIRW3QAwMfYYLwuhILJjfQPDnD5y31Doq48bgaj8IyNwDX6y8cQLrjG7Q5XbGLdzkz/rUGoXeLqeXBdPDy+ExMs7+GJ/ELiH5UPpK9UFFPt01aYyGREbU=;
Received: ; Tue, 25 Oct 2016 18:44:41 -0700
To: Richard Barnes <rlb@ipv.sx>, Daniel McCarney <cpu@letsencrypt.org>
References: <e832b9f4-1c17-7d16-7897-ff655352d359@eff.org> <20160925011652.GA8618@andover.lhh.devever.net> <4dd340fa-5a55-cb70-ddd2-b7c400f068e8@eff.org> <CABkgnnUpDm1KKm67jtLw3V9DMep7YTudgz-51GDhxohW+D4PSQ@mail.gmail.com> <CAKnbcLj5=3Bp8tPHQmt=L4Xo=jAZXHGhUxs3Zm_SD7rBWKVdnQ@mail.gmail.com> <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <657198a6-213f-0d41-b171-7b3810654a93@eff.org>
Date: Tue, 25 Oct 2016 18:44:41 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgTQSOYFymLCHVO6ACfkCof8DcZ1tQcL0ro=oScOGYAZqg@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/kaPMaS5xFCrYh_jxqwAP-zy6yH8>
Cc: Martin Thomson <martin.thomson@gmail.com>, "acme@ietf.org" <acme@ietf.org>, Hugo Landau <hlandau@devever.net>
Subject: Re: [Acme] Specify account by kid (reg URL) rather than key. #193
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, 26 Oct 2016 01:44:45 -0000

On 10/02/2016 08:40 AM, Richard Barnes wrote:
> the need to provide a valid signature provided some minimal validation
> of the request that could be performed totally statelessly by the serve=
r.
This would only filter out requests that are otherwise well-formed, but
have a bad signature, which are a vanishingly small fraction of
requests. I just sampled 100k POSTs from Let's Encrypt's logs, and
exactly 0 of them have that property. So I don't think this "stateless
validation" has an advantage.

> Nonetheless, key comparison does not seem that risky to me -- it's
> what undergirds every TLS and SSH session you've ever engaged in

The main concern is not key comparison, it's "verify, then lookup" vs
"lookup, then verify." Your SSH example actually supports my point: In
SSH, the client sends a user id to the server, which the server then
uses to look up the public keys with which to authenticate the user.

On 10/02/2016 05:34 PM, Hugo Landau wrote:

> Can we point to any historical vulnerabilities caused by an
implementation error of this kind?

The specific kind of bug that the "verify, then lookup" pattern makes
possible is one where the "lookup" phase looks up the wrong thing. That
type of bug happens a lot. For instance, one of these Rails snippets has
a security flaw that would allow misissuance, because of the "verify,
then lookup" pattern. Can you tell which one just by looking at them?

-----------------------------------------------------------
header_key =3D jws_body.header.jwk
if !jws_body.verify(header_key)
  return "Bad signature"
account =3D Account.find_by jwk: header_key
authorizations =3D Authorization.find_by account: account.id
if authorizations.any? {|a| a.fqdn =3D=3D requested_fqdn }
  issue_cert()
-----------------------------------------------------------

-----------------------------------------------------------
header_key =3D jws_body.header.jwk
if !jws_body.verify(header_key)
  return "Bad signature"
account =3D Account.find_by! jwk: header_key
authorizations =3D Authorization.find_by! account: account.id
if authorizations.any? {|a| a.fqdn =3D=3D requested_fqdn }
  issue_cert()
-----------------------------------------------------------


From nobody Wed Oct 26 09:13:34 2016
Return-Path: <rsalz@akamai.com>
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 2BBF1129503 for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 09:13:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.131
X-Spam-Level: 
X-Spam-Status: No, score=-3.131 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 bn8KQu9T20KB for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 09:13:09 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 80CB9129BCB for <acme@ietf.org>; Wed, 26 Oct 2016 09:13:04 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 1FF04496C26 for <acme@ietf.org>; Wed, 26 Oct 2016 16:13:04 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 00561496C10 for <acme@ietf.org>; Wed, 26 Oct 2016 16:13:04 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1477498384; bh=BhFkQ/52PyBe3nyoW/GV9uAqbLEcsUNaPKQVHiPc6M8=; l=2936; h=From:To:Date:From; b=Aqpai8X+EDARjEwem73GSDXeVRfW4qYhrQy9lPZApH+GCSbGmqFKMY7gJVx8NcXXV j4yEngaPPed5cMvsvSmAmR5eR0U9Je0sjajJojEUKp8mJvzvS4FC6oj2Pt0zlHLPbY 1U7pEBqXPJdUb0EJOcslPuIQ08P8tbIoeOzFMZr8=
Received: from email.msg.corp.akamai.com (usma1ex-cas3.msg.corp.akamai.com [172.27.123.32]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id DD0FC1E07C for <acme@ietf.org>; Wed, 26 Oct 2016 16:13:03 +0000 (GMT)
Received: from USMA1EX-EXJRNL1.msg.corp.akamai.com (172.27.123.99) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 26 Oct 2016 12:13:03 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by USMA1EX-EXJRNL1.msg.corp.akamai.com (172.27.123.99) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 26 Oct 2016 12:13:03 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1178.000; Wed, 26 Oct 2016 12:13:03 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: CAA draft is accepted by the WG
Thread-Index: AdIvo7/GOyjjhvpzTz6XCaCpaSSQNg==
Date: Wed, 26 Oct 2016 16:13:02 +0000
Message-ID: <5a279660fac945c2a44fd5fae3dcd304@usma1ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.47.64]
Content-Type: multipart/alternative; boundary="_000_5a279660fac945c2a44fd5fae3dcd304usma1exdag1mb1msgcorpak_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/-gTBH32wRE4N_okr4krJiUWGZy0>
Subject: [Acme] CAA draft is accepted by the WG
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, 26 Oct 2016 16:13:15 -0000

--_000_5a279660fac945c2a44fd5fae3dcd304usma1exdag1mb1msgcorpak_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hugo will be posting a new draft, and moving the repo to our github project=
 shortly.
There was no discussion, and I want to get this submitted before the cutoff=
 for the IETF meeting in two weeks.

--
Senior Architect, Akamai Technologies
Member, OpenSSL Dev Team
IM: richsalz@jabber.at Twitter: RichSalz


--_000_5a279660fac945c2a44fd5fae3dcd304usma1exdag1mb1msgcorpak_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hugo will be posting a new draft, and moving the rep=
o to our github project shortly.<o:p></o:p></p>
<p class=3D"MsoNormal">There was no discussion, and I want to get this subm=
itted before the cutoff for the IETF meeting in two weeks.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">--&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">Senior Architect, Akamai Technologies<o:p></o:p></p>
<p class=3D"MsoNormal">Member, OpenSSL Dev Team<o:p></o:p></p>
<p class=3D"MsoNormal">IM: richsalz@jabber.at Twitter: RichSalz<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_5a279660fac945c2a44fd5fae3dcd304usma1exdag1mb1msgcorpak_--


From nobody Wed Oct 26 10:06:07 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: acme@ietf.org
Delivered-To: acme@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 08529129721; Wed, 26 Oct 2016 10:05:56 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147750155603.2931.17999431648093320537.idtracker@ietfa.amsl.com>
Date: Wed, 26 Oct 2016 10:05:56 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/Hafx7HZPFLQQvseDYFj7TQs9Mas>
Cc: acme@ietf.org
Subject: [Acme] I-D Action: draft-ietf-acme-caa-00.txt
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
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, 26 Oct 2016 17:06:05 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Automated Certificate Management Environment of the IETF.

        Title           : CAA Record Extensions for Account URI and ACME Method Binding
        Author          : Hugo Landau
	Filename        : draft-ietf-acme-caa-00.txt
	Pages           : 9
	Date            : 2016-10-26

Abstract:
   The CAA DNS record allows a domain to communicate issuance policy to
   CAs, but only allows a domain to define policy with CA-level
   granularity.  However, the CAA specification also provides facilities
   for extension to admit more granular, CA-specific policy.  This
   specification defines two such parameters, one allowing specific
   accounts of a CA to be identified by URI and one allowing specific
   methods of domain control validation as defined by the ACME protocol
   to be required.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-acme-caa/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-ietf-acme-caa-00


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Oct 26 10:13:49 2016
Return-Path: <hlandau@devever.net>
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 DE8B8129766 for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 10:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.432
X-Spam-Level: 
X-Spam-Status: No, score=-2.432 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 FdFYwwWqUUhx for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 10:13:44 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 515C1129BDE for <acme@ietf.org>; Wed, 26 Oct 2016 10:13:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 8DBA41D049 for <acme@ietf.org>; Wed, 26 Oct 2016 19:13:40 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received; s=mimas; t=1477502020; x=1495691381; bh=KEO6 Uts+NreHW9807pq4mTEJnav/h4Le3nytLZJSBRM=; b=AeOvCrkhjxTqBRI7JMI/ fKS77hOoKz1vLUwl65D1IH5bedyLya8zsmeV+hlJOxTu+qMaaufHuy6YbW8ZlSzf loYQnW2MWdYGxWcIcnF/WiW5CeTyG95rl2IjwpO1556I5R2+Nb5ZdiopbBV6S45F I8s1jIeEzt0HPn/rfrbXznEm08HptHMmUEqtnHqi5um0nB6mbWj0COWIRScXUs6x sJYPIOA8Nzqf4TpA3RQC+56TylcHxa57OO1s6bXigAAaf2NJR4xgkCxaZk4u5qm4 SrJ0dk2RVSmFi6iUrJk15keDHXDZFB2Q+D8vPLCHsOzOLtQ1sqxYtwul7Df8zVg0 7g==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id IXyZz_AfjkYc for <acme@ietf.org>; Wed, 26 Oct 2016 19:13:40 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 58ECA1D048 for <acme@ietf.org>; Wed, 26 Oct 2016 19:13:40 +0200 (CEST)
Date: Wed, 26 Oct 2016 18:13:40 +0100
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20161026171340.GA8045@andover.lhh.devever.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.7.1 (2016-10-04)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/ptws25XAmhGolLQEEGkxrH4pu9o>
Subject: [Acme] CAA draft submitted to WG
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, 26 Oct 2016 17:13:49 -0000

The repository is now located at <https://github.com/ietf-wg-acme/acme-caa>.

draft-ietf-acme-caa will be published once approved.

Or see the working copy: <https://ietf-wg-acme.github.io/acme-caa/>

There are some minor changes. You can view them here:
<https://github.com/ietf-wg-acme/acme-caa/compare/draft-landau-acme-caa-01...master#diff-222e6a66941c6df3cd9c83ba04bd58e8>

Summary of changes:
  Added a section in Security Considerations discussing the importance
  of CAs being consistent in what parameters they recognise.

  Added an example demonstrating that different CAA records can specify
  different methods.

  Made use of single/double quotes more consistent.

  Made use of term 'validation' vs. 'verification' more consistent.

Hugo Landau


From nobody Wed Oct 26 11:27:15 2016
Return-Path: <jsha@eff.org>
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 475F1129871 for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 11:27:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.433
X-Spam-Level: 
X-Spam-Status: No, score=-7.433 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 9gx4sA6tCegC for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 11:27:11 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8AF9129C21 for <acme@ietf.org>; Wed, 26 Oct 2016 11:27:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=fd456GZMVf+E6VsNri4We6MHUETjNH0qYYbn/bMu/2Q=;  b=5iP9FaX/Keje2XLrDxO6TUIRJBybLzb/9uEQiysNkSoR+ylpUDve+FKlelviIzvMtGEmY+BYDmcKsymgB4qsiL6AhZfMOlAgvA+3nbuN54KJg5FuAvVIEku/0jy1RpIdkIigGvKerCUdbgUIpbpH3HbkKpIm5fjI7dd1BUjR1OE=;
Received: ; Wed, 26 Oct 2016 11:27:10 -0700
To: Richard Barnes <rlb@ipv.sx>, Ted Hardie <ted.ietf@gmail.com>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org>
Date: Wed, 26 Oct 2016 11:27:10 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/aetgEKtudvGqZbGGaQtwVMxNKOY>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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, 26 Oct 2016 18:27:14 -0000

On 10/02/2016 07:46 AM, Richard Barnes wrote:
> I'm worried that we're losing a lot of useful, clear semantics here in
> order to save a few bytes.
This misunderstands the intent of this change. I'm not trying to save
bytes here, I'm trying to clarify the semantics by (a) having fewer
distinct types of objects, and (b) having a single, canonical place for
clients to check the status of things.

The current approach of inlining the status field, or even inlining the
whole authorization as your propose, would reduce semantic clarity and
potentially introduce adding bugs, for the sake of saving a request.

Here's another way of looking at it: The "requirements" notion has a lot
in common with authorizations, in particular the need to do an action,
poll for ready status, and ensure that each one present in a set is
satisfied. Why define an entirely separate type? Also: Why are they not
individually addressable, when authorizations are? If we make them
individually addressable, why not make them the same type of object?
This will make it easier for clients to implement them.

> However, I'm not really sure that even that is worthwhile.  Consider
> that authorizations can be re-usable for multiple applications; we
> envisage clients being able to authorize a bunch of domains, then
> issue certificates for arbitrary combinations.
I don't see how my proposal conflicts with authorization reuse. The
server chooses which authorizations to require for a new application. It
can choose to reuse those that are reusable (dns-name) and generate a
new one each time for those that are a per-issuance requirement (payments=
).

> This PR also removes two important pieces of functionality:
> - The generic OOB requirement type - Would need to be replaced by new
> authorization types
This is a good point, I'll re-introduce an OOB authorization type to
satisfy this need.

> - The ability of the protocol to cleanly support new identifier types;
> instead of just defining a new identifier type and some challenges,
> you need to copy / paste the whole definition of the dns-name challenge=
=2E
I'm not sure what this means. There's no "dns-name challenge." There are
a set of challenges that are valid for dns-name authorizations. If
somone defines a new identifier type, say email address, the set of
challenges that are valid for that identifier type will definitely be
different. This PR actually clarifies that situation.


From nobody Wed Oct 26 11:43:32 2016
Return-Path: <jsha@eff.org>
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 57A9312954C for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 11:43:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.433
X-Spam-Level: 
X-Spam-Status: No, score=-7.433 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 lgYfBgxfVrqj for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 11:43:30 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3618E129486 for <acme@ietf.org>; Wed, 26 Oct 2016 11:43:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=KEhdWzhnKPBzyNC1jLwy55UqLDqEkfG/UIGEK2XvJD0=;  b=ccmH352WpkAVHYchOYC8oxHNq/q8Zt229UKHTHFgkX41vejN/E4lqzTzOn+6KRHqjvPUyn/1N39RTEFwdzVVcslCqUKgcZDnzOjQxKXtwwL7EzfkihnHfCRmi4K2NF/dpZtr5h3s7Ns75kjatGqmy2t/uuXnN7FbthuHt+uKJmE=;
Received: ; Wed, 26 Oct 2016 11:43:29 -0700
To: acme@ietf.org
References: <5fe6c60b-768f-a971-031e-94f6b97ef235@eff.org> <CAKnbcLhydw39g=p6CQjimjC4JP4Gexm=LSWfp1sP1wG8cU9k-g@mail.gmail.com> <1012fb9f-0d16-79ec-c25d-97cbc9bede2e@eff.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <81282f1a-8a37-4735-aea8-622760e9193a@eff.org>
Date: Wed, 26 Oct 2016 11:43:29 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <1012fb9f-0d16-79ec-c25d-97cbc9bede2e@eff.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/exHoaILedMftflQlkR4Qh7HULbc>
Subject: Re: [Acme] Fix signing order for key-change endpoint.
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, 26 Oct 2016 18:43:31 -0000

I missed a couple spots of oldKey with the earlier PR. Followup PR:
https://github.com/ietf-wg-acme/acme/pull/199.

On 09/21/2016 03:21 PM, Jacob Hoffman-Andrews wrote:
> Thanks! Any other comments? I'd like to merge this and get to implementing.
>
> On 09/20/2016 12:38 PM, Daniel McCarney wrote:
>> The simplified verification reads much clearer to me and I think better
>> matches the intention of the rollover operation, and which key is
>> performing the authorization. +1
>>
>> On Wed, Sep 14, 2016 at 8:56 PM, Jacob Hoffman-Andrews <jsha@eff.org
>> <mailto:jsha@eff.org>> wrote:
>>
>>     https://github.com/ietf-wg-acme/acme/pull/189
>>     <https://github.com/ietf-wg-acme/acme/pull/189>
>>
>>     Signing with the current account key allows servers to use the same
>>     message
>>     transport authentication that they use for other requests,
>>     simplifying the
>>     verification.
>>
>>     Also fix two spots where we still described newKey/oldKey as
>>     thumbprints.
>>
>>     _______________________________________________
>>     Acme mailing list
>>     Acme@ietf.org <mailto:Acme@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/acme
>>     <https://www.ietf.org/mailman/listinfo/acme>
>>
>>
>>
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>


From nobody Wed Oct 26 11:58:50 2016
Return-Path: <rsalz@akamai.com>
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 3E875129891 for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 11:58:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.131
X-Spam-Level: 
X-Spam-Status: No, score=-3.131 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 TpRcPE1ZGjvs for <acme@ietfa.amsl.com>; Wed, 26 Oct 2016 11:58:46 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id D11C112988C for <acme@ietf.org>; Wed, 26 Oct 2016 11:58:44 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 3983543350C for <acme@ietf.org>; Wed, 26 Oct 2016 18:58:44 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 1BAC543350A for <acme@ietf.org>; Wed, 26 Oct 2016 18:58:44 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1477508324; bh=E1JXn5xQ22bDDxtHvbyTcpsmRGtHtDvQaCyTyvD6XJ0=; l=6579; h=From:To:Date:From; b=gEGYwOmmbOtDg5QQmcK1LX20rppnxYbNyqNIMp1PFg9Z+vsb1L+t/p7Sd/RpQrDmA nV61xm8fGDj9tborseU5HogAkoS46YjfVEtVWF+mzXCO6LD7p+mnukrxWcC5ysbFji bf9xUaioLSocxUdE/LAfYFc/0gOELFKSKRyMo+20=
Received: from email.msg.corp.akamai.com (usma1ex-cas3.msg.corp.akamai.com [172.27.123.32]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id 110E01FCC8 for <acme@ietf.org>; Wed, 26 Oct 2016 18:58:44 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb6.msg.corp.akamai.com (172.27.123.65) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 26 Oct 2016 11:58:43 -0700
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1178.000; Wed, 26 Oct 2016 14:58:43 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: IETF-97 Agenda
Thread-Index: AdIvusvP8CTbFxUfSf2C2787YUw/tw==
Date: Wed, 26 Oct 2016 18:58:42 +0000
Message-ID: <21a0dc6172cf4bc68f271601cc5ae803@usma1ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.47.64]
Content-Type: multipart/alternative; boundary="_000_21a0dc6172cf4bc68f271601cc5ae803usma1exdag1mb1msgcorpak_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/F95oiHd1Icuh0FKtyHWwSKHlgkY>
Subject: [Acme] IETF-97 Agenda
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, 26 Oct 2016 18:58:48 -0000

--_000_21a0dc6172cf4bc68f271601cc5ae803usma1exdag1mb1msgcorpak_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Here's the current agenda draft for IETF-97.  Please reply to the list if y=
ou want any changes.
                -- Rich and Ted.

ACME at IETF-97

Wed Nov 16, 2016 at 13:30-15:00

5 min Administrivia

50 min Open Issues on ACME I-D
    Including "ready for last call"

15 min Short-term certificates

10 min CAA document

10 min WG next steps

--
Senior Architect, Akamai Technologies
Member, OpenSSL Dev Team
IM: richsalz@jabber.at Twitter: RichSalz


--_000_21a0dc6172cf4bc68f271601cc5ae803usma1exdag1mb1msgcorpak_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1949114756;
	mso-list-type:hybrid;
	mso-list-template-ids:-1204622548 -872282536 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:10;
	mso-level-number-format:bullet;
	mso-level-text:\F06E;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;
	font-family:Wingdings;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.75in;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.25in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.75in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.25in;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.75in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.25in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.75in;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Here&#8217;s the current agenda draft for IETF-97.&n=
bsp; Please reply to the list if you want any changes.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Rich and Ted.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">ACME at IETF-97<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Wed Nov 16, 2016 at 13:30-15:00<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">5 min Administrivia<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">50 min Open Issues on ACME I-D<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; Including &quot;ready for last ca=
ll&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">15 min Short-term certificates<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">10 min CAA document<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">10 min WG next steps<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">--&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">Senior Architect, Akamai Technologies<o:p></o:p></p>
<p class=3D"MsoNormal">Member, OpenSSL Dev Team<o:p></o:p></p>
<p class=3D"MsoNormal">IM: richsalz@jabber.at Twitter: RichSalz<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_21a0dc6172cf4bc68f271601cc5ae803usma1exdag1mb1msgcorpak_--


From nobody Thu Oct 27 14:08:18 2016
Return-Path: <jsha@eff.org>
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 4D4A81298AD for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 14:08:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 MdyHcoW1V3Tf for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 14:08:14 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 781E012985A for <acme@ietf.org>; Thu, 27 Oct 2016 14:08:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=cCP/akV9SOk2Gp1kdrTGuQBDbETdrO+UCXrWka4MV9s=;  b=sk8kcQA1KcmMDtEXJXuiEMr/ONHoIbDd9fjw9SI1lM3xuIz9zOdBuWdvd9CmbehR2+a4tvrR7WVPYa0FoYiTwB3PRgGw+b/jzrs/75dwOLr5WtdXSzvbH/m7/5Nnf84Dz5KvlKm7i4V4+U2KLAZV1TyhlsFUL/x9L2Dvsz60OBQ=;
Received: ; Thu, 27 Oct 2016 14:08:13 -0700
To: acme@ietf.org
References: <CAKnbcLijkaPK1Kx6cpdeK5EddyR5A=u3keAdf71FBTEaj-AQ3A@mail.gmail.com> <20160825144101.2947305d55363be902686d76@andrewayer.name> <CAL02cgTW2H575vqPyvLyMnNi7nrwwh4NNDc6a0FTOsvNcEyf8w@mail.gmail.com> <11c97ac9-a996-f2f2-2235-d2fc18414877@letsencrypt.org> <CAKnbcLiXZrO-4p409priE0-ua+3P3COnS31UvABaBsMh19FJ4A@mail.gmail.com> <c6cd4433-a611-f071-2a3a-0e2016e5a9c2@eff.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <3fa28903-a1fa-dee5-bb77-417b966e6dce@eff.org>
Date: Thu, 27 Oct 2016 14:08:13 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <c6cd4433-a611-f071-2a3a-0e2016e5a9c2@eff.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/cMkMLmOvZJq5NJpJO7ZbrG4YzWw>
Subject: Re: [Acme] Proactive vs On-Finalization Certificate Issuance
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: Thu, 27 Oct 2016 21:08:16 -0000

Haven't heard any opposition on this, so we're merging, with some minor
copy-edits.

On 09/23/2016 03:37 PM, Jacob Hoffman-Andrews wrote:
> On 09/20/2016 01:44 PM, Daniel McCarney wrote:
>> Based on the discussion on this thread it seems there is more support
>> for the proactive approach. Speaking on behalf of Let's Encrypt and the
>> Boulder developers we're willing to compromise and support proactive
>> issuance as the sole issuance method in order to simplify the protocol &
>> implementations.
>>
>> I opened a PR [0] that changes the language around certificate issuance
>> to reflect that the server MUST issue the certificate proactively once
>> all the required challenges for an application have been fulfilled.
>>
>> I think this should wrap up the discussion in a way that is satisfying
>> for everyone that has voiced an opinion so far. Thanks!
>>
>> [0]: https://github.com/ietf-wg-acme/acme/pull/191
> This looks good to me.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>


From nobody Thu Oct 27 14:27:48 2016
Return-Path: <jsha@eff.org>
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 1469E129863 for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 14:27:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 aA8tgPCF3pIK for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 14:27:46 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF7061295EE for <acme@ietf.org>; Thu, 27 Oct 2016 14:27:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=TYcHaOSI3zgFtNTiVw0ynI0ClBjA86AvxSrAgICWQvE=;  b=Yk0ADKbfdEcNIxtjtk/v+SfEIw0rvOf3HoFusC7vsyMS8obE/PnpiYIlNORzXR4M8Pjwufmmmvlb3JmdME2YEa+wniyilHocLtaWyHRWeNsqR85kLw3WAmBpq9y0y6IG9D9YPtC4+xN5LFcJ3O9UmCgSNmy02+EyJ1LMAfUo+PA=;
Received: ; Thu, 27 Oct 2016 14:27:44 -0700
To: Ray Cheng <Ray.Cheng@entrust.com>, "acme@ietf.org" <acme@ietf.org>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <640a3258-76f1-4c5d-4649-b330289d432f@eff.org>
Date: Thu, 27 Oct 2016 14:27:44 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/GxXAmaa9-_OzjKL-bkcGeAY0pig>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Thu, 27 Oct 2016 21:27:47 -0000

Hi Ray,

Sorry for the delay in responding. First off, I want to say a big thanks
for implementing ACME and making it interoperate with Certbot. That's a
huge step forward for the ACME protocol, and I know the Certbot folks
look forward to your contributions.

On 10/04/2016 06:11 AM, Ray Cheng wrote:
> One way to accomplish this in the protocol is to simply add a "ca-exten=
sion" object to the registration object, where the "ca-extension" object =
is an array of name-value pairs of strings. For example:
I think this makes a lot of sense, and is in the spirit of the other
places we've intentional left hooks for CA-specific customization, like
OOB challenges. I'm inclined to accept it.

Additionally, your experience as a commercial implementer of ACME may be
valuable to spot places where the current protocol is lacking. For
instance, you need an "account" field, and StartCom needs
(https://github.com/ietf-wg-acme/acme/pull/172) a "token" field. Can we
support those use cases natively in ACME so they don't need to be
extensions? What do you put in the "account" field, and how do you
authenticate the link between the ACME account and the Entrust account.

Thanks,
Jacob


From nobody Thu Oct 27 15:19:49 2016
Return-Path: <jsha@eff.org>
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 114AD129973 for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 15:19:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 ktFocx8237jQ for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 15:19:46 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB12D1297BE for <acme@ietf.org>; Thu, 27 Oct 2016 15:19:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=lFzbs1F5xzZjhmfWQSRpq65e/15ySLNNhuCG3TJZoW0=;  b=IZ1oHvZGtL5mqYR0p/M/OMV/2gH3kcmZNt2Aeucig9RPxuYDlfs21NCJyK1/uKXBbN7r4StLS9qxTMRSgLw2xFzt9FRtbjAkd9X1iBEiN1U+1wOG2HRNe+BpMR3US8ABpIkQcWyD8YCFu3khGkr4fEB8wL+KwlmpJwOvfqp1Q08=;
Received: ; Thu, 27 Oct 2016 15:19:44 -0700
To: Ray Cheng <Ray.Cheng@entrust.com>, "acme@ietf.org" <acme@ietf.org>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <640a3258-76f1-4c5d-4649-b330289d432f@eff.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <b7170af5-4747-649e-bb92-47012839bdd1@eff.org>
Date: Thu, 27 Oct 2016 15:19:44 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <640a3258-76f1-4c5d-4649-b330289d432f@eff.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/13DKGOiI-iOZyolINKKKGJwsaDk>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Thu, 27 Oct 2016 22:19:48 -0000

By the way, one specific example: in
https://github.com/ietf-wg-acme/acme/pull/172, because we are specifying
the "external_secret" field explicitly, we can give guidance that
clients should avoid logging that field. Do you have any fields you need
to add that have similar properties?


From nobody Thu Oct 27 15:33:21 2016
Return-Path: <jsha@eff.org>
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 5370512944D for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 15:33:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.433
X-Spam-Level: 
X-Spam-Status: No, score=-7.433 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 OOo1dr1jGb79 for <acme@ietfa.amsl.com>; Thu, 27 Oct 2016 15:33:15 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B730129531 for <acme@ietf.org>; Thu, 27 Oct 2016 15:33:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=6xjQ3zUo+grvDPWRHzXXgBys+lAmgWFzIXZQdqslJnA=;  b=0NJ1/xmTjol0MN9jBfouahU9epVNPTan5LVfzPqd2eO2I7oQRCC3hxwJIL+eub9UNr6ea0cgqlMmiJOY/5cTYDZKkZ8eY6fBjxl9lgl8H2jvufkoe2XkgrMS2vvehxEn6EjC7gGARjFHfLvUvyEVwf4aT4a9Z6Hgx05sXCxg7yk=;
Received: ; Thu, 27 Oct 2016 15:33:14 -0700
To: "Salz, Rich" <rsalz@akamai.com>, "acme@ietf.org" <acme@ietf.org>
References: <d3805995092e48cb95ba20c7a2507997@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <f1c7c7d2-c96d-e35b-6fa8-6304adb8614f@eff.org>
Date: Thu, 27 Oct 2016 15:33:14 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <d3805995092e48cb95ba20c7a2507997@usma1ex-dag1mb1.msg.corp.akamai.com>
Content-Type: multipart/alternative; boundary="------------689D425C236DD143DBDDD54E"
Received-SPF: skipped for local relay
Received-SPF: skipped for local relay
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/O74C5gw1lKQyme6Ncf1bFDWzJb8>
Subject: Re: [Acme] Ports 80 and 443
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: Thu, 27 Oct 2016 22:33:20 -0000

This is a multi-part message in MIME format.
--------------689D425C236DD143DBDDD54E
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit

This is a good clarification. Richard created a PR at
https://github.com/ietf-wg-acme/acme/pull/200, which I've merged.

On 09/16/2016 04:18 PM, Salz, Rich wrote:
>
> https://github.com/ietf-wg-acme/acme/issues/190
>
>  
>
> “Since we did not get consensus around #4, we should be explicit that
> HTTP is TCP port 80, and HTTPS is TCP port 443, and that holds for
> redirects as well.
>
>  
>
> The is pretty much a minor wording change only.”
>
>  
>
> -- 
>
> Senior Architect, Akamai Technologies
>
> IM: richsalz@jabber.at Twitter: RichSalz
>
>  
>
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme


--------------689D425C236DD143DBDDD54E
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    This is a good clarification. Richard created a PR at
    <a class="moz-txt-link-freetext" href="https://github.com/ietf-wg-acme/acme/pull/200">https://github.com/ietf-wg-acme/acme/pull/200</a>, which I've merged.<br>
    <br>
    <div class="moz-cite-prefix">On 09/16/2016 04:18 PM, Salz, Rich
      wrote:<br>
    </div>
    <blockquote
cite="mid:d3805995092e48cb95ba20c7a2507997@usma1ex-dag1mb1.msg.corp.akamai.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><a moz-do-not-send="true"
            href="https://github.com/ietf-wg-acme/acme/issues/190">https://github.com/ietf-wg-acme/acme/issues/190</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">“Since we did not get consensus around #4,
          we should be explicit that HTTP is TCP port 80, and HTTPS is
          TCP port 443, and that holds for redirects as well.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The is pretty much a minor wording change
          only.”<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">--  <o:p></o:p></p>
        <p class="MsoNormal">Senior Architect, Akamai Technologies<o:p></o:p></p>
        <p class="MsoNormal">IM: <a class="moz-txt-link-abbreviated" href="mailto:richsalz@jabber.at">richsalz@jabber.at</a> Twitter: RichSalz<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Acme mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Acme@ietf.org">Acme@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/acme">https://www.ietf.org/mailman/listinfo/acme</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------689D425C236DD143DBDDD54E--


From nobody Fri Oct 28 03:55:29 2016
Return-Path: <frase@frase.id.au>
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 327FA1294B1 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 03:55:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level: 
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 8UzvR-_VSBOG for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 03:55:26 -0700 (PDT)
Received: from captainmorgan.hollandpark.frase.id.au (110-174-235-130.static.tpgi.com.au [110.174.235.130]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26EFB12944A for <acme@ietf.org>; Fri, 28 Oct 2016 03:55:24 -0700 (PDT)
Received: from bacardi.hollandpark.frase.id.au (bacardi.hollandpark.frase.id.au [192.168.0.100]) by captainmorgan.hollandpark.frase.id.au (8.14.9/8.14.9) with ESMTP id u9SAtLCY089149 for <acme@ietf.org>; Fri, 28 Oct 2016 10:55:21 GMT (envelope-from frase@frase.id.au)
Received: from bacardi.hollandpark.frase.id.au (localhost [127.0.0.1]) by bacardi.hollandpark.frase.id.au (8.15.2/8.15.2) with ESMTPS id u9SAtKav095064 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <acme@ietf.org>; Fri, 28 Oct 2016 20:55:20 +1000 (EST) (envelope-from frase@frase.id.au)
Received: (from fraser@localhost) by bacardi.hollandpark.frase.id.au (8.15.2/8.15.2/Submit) id u9SAtKRC095063 for acme@ietf.org; Fri, 28 Oct 2016 20:55:20 +1000 (EST) (envelope-from frase@frase.id.au)
X-Authentication-Warning: bacardi.hollandpark.frase.id.au: fraser set sender to frase@frase.id.au using -f
Date: Fri, 28 Oct 2016 20:55:20 +1000
From: Fraser Tweedale <frase@frase.id.au>
To: acme@ietf.org
Message-ID: <20161028105519.GV1216@bacardi.hollandpark.frase.id.au>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gn1ylXQ+YRNuZICZ"
Content-Disposition: inline
User-Agent: Mutt/1.7.0 (2016-08-17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/BdqBxNL_dZtwnGWjWpT4Uw-yLto>
Subject: [Acme] multiple challenges of same type in authorization
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: Fri, 28 Oct 2016 10:55:27 -0000

--gn1ylXQ+YRNuZICZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

In the authorization object, "challenges" is a list of challenge
objects.  Is it valid to include multiple challenges of the same
type in an authorization?  (e.g. multiple "oob-01" challenges)

If this is not valid or if it is a nonsense, it would be better to
to devolve "challenges" to a map ("object" in JSON parlance) of
objects, keyed by challenge type, rather than a list of objects?

Whether or not multiple challenges with same type within a single
authorization is valid, the spec should be updated to clarify this.

Thanks,
Fraser

--gn1ylXQ+YRNuZICZ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYEy6UAAoJEEtTkFJBEeHiVicP/02EQIcQxpiQgV5YftfPXdtf
yDwfyrMfYudglU6v3f/GE0Lu64zMRUppM7eGHefIs1UPmLKfwRw8zvtCjQUBl0u/
SjiwSfZcykDjwv7Ns75N4JCED4kmmOw8EuJBvSMhM4mvqEzuFayOkLzrOcml+bbT
9Av5KsvOL7fGYMRvsguH8WCcvaiqHCY32SXtxV5ZcFiiDJ37ps5+SYyOsvdjxM8B
viFzGDYI4SV55Rp6Rl7+evswq1BGwWrs1vkoP951aHqVpeKS1/0EhcjEGz6raem+
q62E5f1UjiWdM7j3RE700wOfKsYd5I4xsAUlZormpKmIP0y/JETAwqMXg9rcUFHG
XfYVA6lxkqdkAI7MZBcSslF4/SK4UU2QGhLFZpElVhcK1Ik8IZSh00bcliU8fhMu
Pzi5/r47X/VL5KDEHUg5clsrZsjbBBwy/r0Pr6ULDxi6bdanJKgaE0jQyx3/vfCJ
mHCLwoGKOn5EK707zqUXQaJxzS6OmwEmK3kz1cRnpBAxBQxJnLe38jV8w1LmsBmG
I97hyT11L5qwQI6aam9Amz+fIE79YqDigc1QZvMy3IMwE5/k7YKkdPaad/2fx+E+
A+J9rW7VuDXFxbbKzLs5SBRcM6tGYqeD6zICxOo39kRVzVL1M2kngucg+GIaj7l7
aA2+s4wWYwIT4HS2yw0A
=39SK
-----END PGP SIGNATURE-----

--gn1ylXQ+YRNuZICZ--


From nobody Fri Oct 28 08:36:12 2016
Return-Path: <yaronf.ietf@gmail.com>
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 81552129493 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 08:36:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 06xmRWxiEgOK for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 08:36:09 -0700 (PDT)
Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com [IPv6:2607:f8b0:400e:c00::229]) (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 EE3ED12944E for <acme@ietf.org>; Fri, 28 Oct 2016 08:36:08 -0700 (PDT)
Received: by mail-pf0-x229.google.com with SMTP id s8so39143337pfj.2 for <acme@ietf.org>; Fri, 28 Oct 2016 08:36:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=dEPtOyrG7me5E5fKC1BRIiUzF9xZ0cKkDAIDp5pRRAM=; b=nbNCG3qdF0bRxMlbj1g9xpAjsdkVk4FUCpljBZNbcYQofBmJ110GVCOWnrtkrsviKH fO3sB6APKCkN7B0Kk5Gg1zcIAwePCEF1i+yepWuO9kswyqkwmSM+bvBDtG8ZlylyWIP+ MIFNEEZftQH+3gXWV0iWEgB/uv1NFJorD5UpYJyTG5GDmD9Ok5YYeyFW0HxZ3+iZts5K LhNytwRHrRDEAaVVm7FoFDUgDS4w9K6gEA15pHNGSewU6v7tcudXNNf9GP1ywQAy1LVk Db4ffmm5FbcqP8OY2xdfXglYDYnGif4paOzRcNm12bhoKKiVw3CjBuP6khm+qoQ2ppnC aUpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=dEPtOyrG7me5E5fKC1BRIiUzF9xZ0cKkDAIDp5pRRAM=; b=NEVPmxfVPOCRCt7PcD4gNwAtZZRSPzAE/8iduiseaZl1E5PRGmth+tCOc6Uxx5DA4x /XcmUQEPWBixgd9MUCiSFfeFp+lTU4nzahGXH0T2+Lux7yoDI4vv+xUlaoEP61I/2IpR aKGFCqadz9LMTpBLxCIwaAzERx+2S6/8VtzvWqChmTGJ98e36HodglHBB5KSh6VlMt6n s52s0rOCDCCxmMXEX0WEurQ2yBMO1/IYWFCirKJW0NkHcHU1iGQlG36mHpvzVWHxLkaD R/6vmoGxbKJvLZdEQgYlEpeuSAwnZ6tyHjsuIWKXv82XasbaGX3FjH9O3+u309unZdxG IOwg==
X-Gm-Message-State: ABUngve6TiW6+zCH4LNlzojpYJUoWI/buLPgieMsYYDRFsSSh8LY0ISK9ELxYjEqKiG8sg==
X-Received: by 10.99.242.5 with SMTP id v5mr21438687pgh.137.1477668968240; Fri, 28 Oct 2016 08:36:08 -0700 (PDT)
Received: from [172.17.200.204] (redrock.intuit.com. [199.16.140.28]) by smtp.gmail.com with ESMTPSA id 188sm19831106pfd.9.2016.10.28.08.36.05 for <acme@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2016 08:36:07 -0700 (PDT)
From: Yaron Sheffer <yaronf.ietf@gmail.com>
To: "acme@ietf.org" <acme@ietf.org>
Message-ID: <82349095-170f-83ca-749d-168509051a30@gmail.com>
Date: Fri, 28 Oct 2016 18:36:03 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/0J2_8Y7VpR3p7BYxjJ1WINKuSyg>
Subject: [Acme] draft-ietf-acme-caa-00 - security considerations
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: Fri, 28 Oct 2016 15:36:10 -0000

Hi,

In the security considerations, specifically 5.6, we omit the trivial 
but most pertinent risk: the CAA record type must be implemented by all 
CAs in order to be fully effective. Any CA that does not honor CAA can 
potentially (mis-)issue a rogue cert for the domain in question.

I suspect that this is by far not the case today. In fact many managed 
DNS servers still do not support this record type either.

Thanks,

     Yaron


From nobody Fri Oct 28 13:57:47 2016
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 AC025129691 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 13:57:45 -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 wvZQvISlH1vD for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 13:57:43 -0700 (PDT)
Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a]) (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 7FBA012967A for <acme@ietf.org>; Fri, 28 Oct 2016 13:57:43 -0700 (PDT)
Received: by mail-ua0-x22a.google.com with SMTP id 64so58181948uap.3 for <acme@ietf.org>; Fri, 28 Oct 2016 13:57:43 -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=rh4sRSvEjmqjeOnslu68C3R9f3mgqDusy0M2YbmlF6o=; b=Mi3Y5a1gwIeg3ESifxuD6136BCW985v9gUqyhGAbriaNHff/qVjNplHeerRFPoRceg BTB3M4LEHjoTRVHKMeW0fbKF4Y5PWKSEco7y+ze0tqC/ncgnEXbC0nmVX78IIHLT8KbT 9fS993u2KiLvGySlKQ347oCQRw+sVpTb4+T1e+SDwCbFt2EY6WqMkR+qQDiYXhVX1pE8 +TCtlshxNT4kznNld369QThbzljOQ5Dh7CeKiCYr/Q9IXAzEE3U4fo65bG4jrXu1GIO9 1sV5dBg0hlipxZmp2Ubhe1i/9eNQoIPqyzBMU2lNgKs+kK/nDMB5IoQHk1zeJr82WjJy OEEg==
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=rh4sRSvEjmqjeOnslu68C3R9f3mgqDusy0M2YbmlF6o=; b=iYzUhzWUdfHebD++c9CZ2OdDlv3qx/GhzrJCCn2ly6P90IteA7FO2bprIqibD2pEfH fsGacczToYz96Ardn7HbrRDYAKPbL1MQz2ekE7efwuToK6I+QnKBvdbSOkdf2DqrNn+2 40qATywIEdqysClhxeBJBkTNTupgqWQ7xtTacmeLXUzms2jBMErmK5k3kb1Axpam+V/x DQ+8HiYhsZ3b8wVjWU7wvuQcTH6A6a3r1C4NpwJRo62e1E6oin13JqeKprYvnJ5lhbUq +rlDgknfo1YsmC30/EuX0S3+/86v83BKg2Sog3geyrVZAxGAWevnRFaxXAEQsjRfempa JgeA==
X-Gm-Message-State: ABUngve7GIlEg7qMttjsy1O1e7fJmKY901ZfP+/upDnjp3WzQUPmebnu1B1RmNZXV9Evs9S5iWHTSxYmrno84w==
X-Received: by 10.159.49.28 with SMTP id m28mr14255057uab.72.1477688262532; Fri, 28 Oct 2016 13:57:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.41.17 with HTTP; Fri, 28 Oct 2016 13:57:41 -0700 (PDT)
In-Reply-To: <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Fri, 28 Oct 2016 16:57:41 -0400
Message-ID: <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=f403045dd910fa3831053ff31bab
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/6As2uRypUcoCgD9lnArTYSB7a20>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Fri, 28 Oct 2016 20:57:46 -0000

--f403045dd910fa3831053ff31bab
Content-Type: text/plain; charset=UTF-8

OK, I gave the PR a closer read, and recognize that I misunderstood some
stuff below.  Let me try again :)  It seems like this PR does basically two
things:

1. Remove "requirements" as a level of abstraction
2. Convert from "identifier authorization" to "DNS name authorization"

Can you explain to me why (2) is desirable?  It seems like a pure reduction
in extensibility.

As for (1), I don't really think you're getting what you think you're
getting.  The functionality we need here is going to require two levels of
abstraction:

1. The CA wants you to do something -- "requirement" vs. "authorization"
2. The CA wants you to do this specific thing -- "authorization" vs.
"subtype-of-authorization"

You just haven't gotten to the second level of abstraction in this PR
because you haven't re-added OOB.  I think when you do that (or any other
function), you'll find that you're going to want separate subsections for
"authorization authorizations" and "OOB authorizations", with different
content, etc.

The net effect of this is just to push the multiplexing out a layer -- you
have to dereference the URL in the requirements array before you figure out
what the specific task is (from the "type" in the authorization object), as
opposed to being able to figure it out from a requirement object.

--Richard

On Wed, Oct 26, 2016 at 2:27 PM, Jacob Hoffman-Andrews <jsha@eff.org> wrote:

> On 10/02/2016 07:46 AM, Richard Barnes wrote:
> > I'm worried that we're losing a lot of useful, clear semantics here in
> > order to save a few bytes.
> This misunderstands the intent of this change. I'm not trying to save
> bytes here, I'm trying to clarify the semantics by (a) having fewer
> distinct types of objects, and (b) having a single, canonical place for
> clients to check the status of things.
>
> The current approach of inlining the status field, or even inlining the
> whole authorization as your propose, would reduce semantic clarity and
> potentially introduce adding bugs, for the sake of saving a request.
>
> Here's another way of looking at it: The "requirements" notion has a lot
> in common with authorizations, in particular the need to do an action,
> poll for ready status, and ensure that each one present in a set is
> satisfied. Why define an entirely separate type? Also: Why are they not
> individually addressable, when authorizations are? If we make them
> individually addressable, why not make them the same type of object?
> This will make it easier for clients to implement them.
>
> > However, I'm not really sure that even that is worthwhile.  Consider
> > that authorizations can be re-usable for multiple applications; we
> > envisage clients being able to authorize a bunch of domains, then
> > issue certificates for arbitrary combinations.
> I don't see how my proposal conflicts with authorization reuse. The
> server chooses which authorizations to require for a new application. It
> can choose to reuse those that are reusable (dns-name) and generate a
> new one each time for those that are a per-issuance requirement (payments).
>
> > This PR also removes two important pieces of functionality:
> > - The generic OOB requirement type - Would need to be replaced by new
> > authorization types
> This is a good point, I'll re-introduce an OOB authorization type to
> satisfy this need.
>
> > - The ability of the protocol to cleanly support new identifier types;
> > instead of just defining a new identifier type and some challenges,
> > you need to copy / paste the whole definition of the dns-name challenge.
> I'm not sure what this means. There's no "dns-name challenge." There are
> a set of challenges that are valid for dns-name authorizations. If
> somone defines a new identifier type, say email address, the set of
> challenges that are valid for that identifier type will definitely be
> different. This PR actually clarifies that situation.
>
>

--f403045dd910fa3831053ff31bab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>OK, I gave the PR a closer read, and recognize that I=
 misunderstood some stuff below.=C2=A0 Let me try again :)=C2=A0 It seems l=
ike this PR does basically two things:<br><br></div><div>1. Remove &quot;re=
quirements&quot; as a level of abstraction<br></div><div>2. Convert from &q=
uot;identifier authorization&quot; to &quot;DNS name authorization&quot;<br=
><br></div><div>Can you explain to me why (2) is desirable?=C2=A0 It seems =
like a pure reduction in extensibility.<br></div><div><br></div><div>As for=
 (1), I don&#39;t really think you&#39;re getting what you think you&#39;re=
 getting.=C2=A0 The functionality we need here is going to require two leve=
ls of abstraction:<br><br></div><div>1. The CA wants you to do something --=
 &quot;requirement&quot; vs. &quot;authorization&quot;<br></div><div>2. The=
 CA wants you to do this specific thing -- &quot;authorization&quot; vs. &q=
uot;subtype-of-authorization&quot;<br></div><div><br></div><div>You just ha=
ven&#39;t gotten to the second level of abstraction in this PR because you =
haven&#39;t re-added OOB.=C2=A0 I think when you do that (or any other func=
tion), you&#39;ll find that you&#39;re going to want separate subsections f=
or &quot;authorization authorizations&quot; and &quot;OOB authorizations&qu=
ot;, with different content, etc.<br><br></div><div>The net effect of this =
is just to push the multiplexing out a layer -- you have to dereference the=
 URL in the requirements array before you figure out what the specific task=
 is (from the &quot;type&quot; in the authorization object), as opposed to =
being able to figure it out from a requirement object.<br></div><div><br></=
div><div>--Richard<br></div><div><div><div><div><div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Wed, Oct 26, 2016 at 2:27 PM, Jacob =
Hoffman-Andrews <span dir=3D"ltr">&lt;<a href=3D"mailto:jsha@eff.org" targe=
t=3D"_blank">jsha@eff.org</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><span>On 10/02/2016 07:46 AM, Richard Barnes wrote:<br>
&gt; I&#39;m worried that we&#39;re losing a lot of useful, clear semantics=
 here in<br>
&gt; order to save a few bytes.<br>
</span>This misunderstands the intent of this change. I&#39;m not trying to=
 save<br>
bytes here, I&#39;m trying to clarify the semantics by (a) having fewer<br>
distinct types of objects, and (b) having a single, canonical place for<br>
clients to check the status of things.<br>
<br>
The current approach of inlining the status field, or even inlining the<br>
whole authorization as your propose, would reduce semantic clarity and<br>
potentially introduce adding bugs, for the sake of saving a request.<br>
<br>
Here&#39;s another way of looking at it: The &quot;requirements&quot; notio=
n has a lot<br>
in common with authorizations, in particular the need to do an action,<br>
poll for ready status, and ensure that each one present in a set is<br>
satisfied. Why define an entirely separate type? Also: Why are they not<br>
individually addressable, when authorizations are? If we make them<br>
individually addressable, why not make them the same type of object?<br>
This will make it easier for clients to implement them.<br>
<span><br>
&gt; However, I&#39;m not really sure that even that is worthwhile.=C2=A0 C=
onsider<br>
&gt; that authorizations can be re-usable for multiple applications; we<br>
&gt; envisage clients being able to authorize a bunch of domains, then<br>
&gt; issue certificates for arbitrary combinations.<br>
</span>I don&#39;t see how my proposal conflicts with authorization reuse. =
The<br>
server chooses which authorizations to require for a new application. It<br=
>
can choose to reuse those that are reusable (dns-name) and generate a<br>
new one each time for those that are a per-issuance requirement (payments).=
<br>
<span><br>
&gt; This PR also removes two important pieces of functionality:<br>
&gt; - The generic OOB requirement type - Would need to be replaced by new<=
br>
&gt; authorization types<br>
</span>This is a good point, I&#39;ll re-introduce an OOB authorization typ=
e to<br>
satisfy this need.<br>
<span><br>
&gt; - The ability of the protocol to cleanly support new identifier types;=
<br>
&gt; instead of just defining a new identifier type and some challenges,<br=
>
&gt; you need to copy / paste the whole definition of the dns-name challeng=
e.<br>
</span>I&#39;m not sure what this means. There&#39;s no &quot;dns-name chal=
lenge.&quot; There are<br>
a set of challenges that are valid for dns-name authorizations. If<br>
somone defines a new identifier type, say email address, the set of<br>
challenges that are valid for that identifier type will definitely be<br>
different. This PR actually clarifies that situation.<br>
<br>
</blockquote></div><br></div></div></div></div></div></div></div>

--f403045dd910fa3831053ff31bab--


From nobody Fri Oct 28 14:18:09 2016
Return-Path: <hlandau@devever.net>
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 6FF811295A4 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 14:18:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.432
X-Spam-Level: 
X-Spam-Status: No, score=-2.432 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=devever.net
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 MF_TvTqPQHKu for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 14:18:07 -0700 (PDT)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F26212952E for <acme@ietf.org>; Fri, 28 Oct 2016 14:18:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id AD22C1CF9F; Fri, 28 Oct 2016 23:18:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devever.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mimas; t=1477689484; x=1495878845; bh=aHEKYFRms/i78N4LCRqjK/MUnBspCzmrKcUDuByAYD0=; b= AHzbMpfpjB8g/9ZsfCeygy+0iS0DM7esv5SldCXRls6V6O+AUwosl+9RU6TTAZlR ShQc0qJVvq+sCE9nL5/uPdPmxw+BmwunyS8bZBLiE6Xyryj2y4Fsi4YZyDEgB2pP Fmghqy9YKWceaLaBhchahL1s00218xKhEdHKJ2rycMIaWZzD8aBwvDZzA90N8tfT 6dPVWxh117UZdkTw6OYkzUNXPLofkvlrD7Z/ysaWAvTE0NnzVms0tZyuMfeusklu ds+C2PnbiAz4R5+9uSNC23dR8xiu6bYnJ9gbhy9D+37Naxqow5IvMOUeLjD5Eez2 XO43gmrNt2IWBHDEfVuxBg==
Received: from umbriel.devever.net ([127.0.0.1]) by localhost (umbriel.devever.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id mgJ7U-2Y34TD; Fri, 28 Oct 2016 23:18:04 +0200 (CEST)
Received: from andover.lhh.devever.net (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 347FF1CF9C; Fri, 28 Oct 2016 23:18:04 +0200 (CEST)
Date: Fri, 28 Oct 2016 22:18:04 +0100
From: Hugo Landau <hlandau@devever.net>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
Message-ID: <20161028211803.GA11611@andover.lhh.devever.net>
References: <82349095-170f-83ca-749d-168509051a30@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <82349095-170f-83ca-749d-168509051a30@gmail.com>
User-Agent: Mutt/1.7.1 (2016-10-04)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/5eyKE_CE_qT4P6XFq2qjM4-eG4A>
Cc: acme@ietf.org
Subject: Re: [Acme] draft-ietf-acme-caa-00 - security considerations
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: Fri, 28 Oct 2016 21:18:08 -0000

> In the security considerations, specifically 5.6, we omit the trivial but
> most pertinent risk: the CAA record type must be implemented by all CAs in
> order to be fully effective. Any CA that does not honor CAA can potentially
> (mis-)issue a rogue cert for the domain in question.
> 
> I suspect that this is by far not the case today. In fact many managed DNS
> servers still do not support this record type either.
I think it's implied that all security considerations applicable to CAA
are inherited by ACME-CAA. But the specification could probably stand to
be more clear about this.

Hugo Landau


From nobody Fri Oct 28 15:01:56 2016
Return-Path: <jsha@eff.org>
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 BDC7712967B for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:01:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 sc5Yq1qsi5ni for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:01:53 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 06FE1129672 for <acme@ietf.org>; Fri, 28 Oct 2016 15:01:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=/Ca8tCqajFVcpD0fSwAGeIXn+GIyzgqRrYGtLjJ7soM=;  b=5TbE7zgiElgEoDBOtaWkIEzi3KaWtqUrPuWqjjSHaJARapnJ5Kwn8KRtrXlG3FwAD8p/UD9ebUtB/tVLCklYz2Od4xsdiSQfK5jQ1ZqLH7SPgluTUcTscGxJ456U/v+U4kp4QYzq3xqMWpWwC/6nWOs9qkpaIhCQsJASedB9RH8=;
Received: ; Fri, 28 Oct 2016 15:01:52 -0700
To: Richard Barnes <rlb@ipv.sx>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org>
Date: Fri, 28 Oct 2016 15:01:52 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/9fMhC8lyzO2F4grWYwGvcXVtpPA>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Fri, 28 Oct 2016 22:01:55 -0000

On 10/28/2016 01:57 PM, Richard Barnes wrote:
> OK, I gave the PR a closer read, and recognize that I misunderstood
> some stuff below.  Let me try again :)  It seems like this PR does
> basically two things:
>
> 1. Remove "requirements" as a level of abstraction
> 2. Convert from "identifier authorization" to "DNS name authorization"

Yep, good summary.

> Can you explain to me why (2) is desirable?  It seems like a pure
> reduction in extensibility.
Same reason as (1), to remove a level abstraction. If we do just (1), we
would have authorizations with two type fields:

{
  "type": "identifier",
  "identifier": { "type": "dns", "value": "example.com"},
  ...
}

This is a bit awkward, but more to the point, it doesn't increase
expressivity. A DNS identifier authorization doesn't have anything in
common with a hypothetical telephone number authorization, except (a)
they both have a status, and (b) they both have a list of challenges. It
turns out those properties are also shared in common with an "oob"
authorization. So we can flatten that abstraction neatly. We could have
authorizations with types: "dns-name", "telephone-number",
"email-address", and "oob".

> As for (1), I don't really think you're getting what you think you're
> getting.  The functionality we need here is going to require two
> levels of abstraction:
>
> 1. The CA wants you to do something -- "requirement" vs. "authorization=
"
> 2. The CA wants you to do this specific thing -- "authorization" vs.
> "subtype-of-authorization"
Can you explain this more? I don't think I understand the distinction
you're getting at, or why it needs a separate type of object.

The main thing that you want a separate "requirement" type for is OOB
actions. That means both "the CA wants you to do something" AND "the CA
wants you do do this specific thing (click on the link and follow the
instructions)."


From nobody Fri Oct 28 15:18:55 2016
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 AE86F12965A for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:18:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 yRZApsVo6H8K for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:18:51 -0700 (PDT)
Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (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 6D7971296B0 for <acme@ietf.org>; Fri, 28 Oct 2016 15:18:51 -0700 (PDT)
Received: by mail-vk0-x232.google.com with SMTP id d65so37514831vkg.0 for <acme@ietf.org>; Fri, 28 Oct 2016 15:18:51 -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=n1knT20CYbf8PTlMzH3r5BiUcCbs0ISxPIe2jnFczg0=; b=rnUC4eOCLS9r7CzGWJqhLzr+ZDN4ZpWaq0rByMKNqjrCo1UP23fTjy/yjKeAnEE/0U w2qe2+IYA1qKNCF/UJ4c4keYenILHidOFMfVC3CsFQG8Vw/kebfr5kmZksInjtlJUF4T o/O5n6oUyVRDDRr0aU3ZSTipUBbkllRGrn5VWg2NNIIjDcpnNIhkSRTpczJAtD2IZJoc LepnTHoCNj0PCuKyR4mmqu5ETjN21UkxYjNWyvTadJVeN3U7KD8cNe4nJupvInbXk+U2 aR/PY2bsmVV3bO8RZ1kj8yyGtg/652bCFH08EKIK422D6aYrmCc1FzGxsPHIdjs6hJNW 8Vrw==
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=n1knT20CYbf8PTlMzH3r5BiUcCbs0ISxPIe2jnFczg0=; b=T9wAuo+nR0BX2sfyrGnqg0M8KUcKg0sDEfKXZXpzY3d+JBYIUt/OxVgoYiCzctnLeb QcnHPAx8fqfJEfLhgdpj7S+mMhRmAl1JrfqQKvOzirEks8DmWmUwHS686XeKP+TM3zq/ qeetWy6aW51/jE7/U+m6d/2SwUIPEtL+bgwn1RNXnWeEOc7cPsr+H2bwlvkt5nPVct16 wcjtQCWDyoGVp2ecKs0M22Vjc+kic64Oc4js3tefXFTcIpuPlsJ14SBQUUQnw6l/OZ9L 3/uz+xeg7VgwFSwyvZ3iIUNa1kVhYshUn//N/KrMJCV/ZJRs1OsKOvNEAC32ehaKs797 56KA==
X-Gm-Message-State: ABUngvcx7lQBwpRkTBsnLgxSgK8ADXJplQMhLeFcwj1vPC5XQRfP7qBSL3J+cpIMrh8WySN5Zlfp+9PsDzgPtg==
X-Received: by 10.31.70.193 with SMTP id t184mr14107625vka.102.1477693130473;  Fri, 28 Oct 2016 15:18:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.41.17 with HTTP; Fri, 28 Oct 2016 15:18:49 -0700 (PDT)
In-Reply-To: <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Fri, 28 Oct 2016 18:18:49 -0400
Message-ID: <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=001a11489076211782053ff43eda
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/XVEkRC_X4H0YCwG7Yqnx5-X5Dw4>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Fri, 28 Oct 2016 22:18:54 -0000

--001a11489076211782053ff43eda
Content-Type: text/plain; charset=UTF-8

On Fri, Oct 28, 2016 at 6:01 PM, Jacob Hoffman-Andrews <jsha@eff.org> wrote:

> On 10/28/2016 01:57 PM, Richard Barnes wrote:
> > OK, I gave the PR a closer read, and recognize that I misunderstood
> > some stuff below.  Let me try again :)  It seems like this PR does
> > basically two things:
> >
> > 1. Remove "requirements" as a level of abstraction
> > 2. Convert from "identifier authorization" to "DNS name authorization"
>
> Yep, good summary.
>
> > Can you explain to me why (2) is desirable?  It seems like a pure
> > reduction in extensibility.
> Same reason as (1), to remove a level abstraction. If we do just (1), we
> would have authorizations with two type fields:
>
> {
>   "type": "identifier",
>   "identifier": { "type": "dns", "value": "example.com"},
>   ...
> }
>
> This is a bit awkward, but more to the point, it doesn't increase
> expressivity. A DNS identifier authorization doesn't have anything in
> common with a hypothetical telephone number authorization, except (a)
> they both have a status, and (b) they both have a list of challenges.


This is where you lose me.  You're underestimating the degree of
commonality here.  Yes, you're going to do different challenges per
identifier type (SMS vs. HTTP, say), but the overall flow at the *ACME*
level is the same:

1. Get the list of challenges offered by the server
2. Choose one and prepare to respond to it
3. POST a response to the challenge

That means you can build clients and servers that can be dynamically
configured with challenge/validation types, and use all the same ACME
code.  For example:

https://github.com/bifurcation/rocket-skates/#architecture

I don't think it's worth losing this flexibility just to go from
"type+value" to "value".


> It
> turns out those properties are also shared in common with an "oob"
> authorization. So we can flatten that abstraction neatly. We could have
> authorizations with types: "dns-name", "telephone-number",
> "email-address", and "oob".
>

Like I said, you would have to reinvent or copy/paste the whole
challenge/response machinery for each new identifier type.

Also: OOB has no challenges.  Not sure what you're referring to there.
It's totally different from the authz flow.


>
> > As for (1), I don't really think you're getting what you think you're
> > getting.  The functionality we need here is going to require two
> > levels of abstraction:
> >
> > 1. The CA wants you to do something -- "requirement" vs. "authorization"
> > 2. The CA wants you to do this specific thing -- "authorization" vs.
> > "subtype-of-authorization"
> Can you explain this more? I don't think I understand the distinction
> you're getting at, or why it needs a separate type of object.
>
> The main thing that you want a separate "requirement" type for is OOB
> actions. That means both "the CA wants you to do something" AND "the CA
> wants you do do this specific thing (click on the link and follow the
> instructions)."
>

I think the crux of our disagreement is actually above.  You seem to be
arguing that authz for different identifier types are as different from one
another as OOB is from DNS-name.  I'm saying that the identifier validation
process is going to be the same for many different identifiers, so the
"authorization" abstraction is meaningful.

--Richard

--001a11489076211782053ff43eda
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Oct 28, 2016 at 6:01 PM, Jacob Hoffman-Andrews <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span =
class=3D"gmail-">On 10/28/2016 01:57 PM, Richard Barnes wrote:<br>
&gt; OK, I gave the PR a closer read, and recognize that I misunderstood<br=
>
&gt; some stuff below.=C2=A0 Let me try again :)=C2=A0 It seems like this P=
R does<br>
&gt; basically two things:<br>
&gt;<br>
&gt; 1. Remove &quot;requirements&quot; as a level of abstraction<br>
&gt; 2. Convert from &quot;identifier authorization&quot; to &quot;DNS name=
 authorization&quot;<br>
<br>
</span>Yep, good summary.<br>
<span class=3D"gmail-"><br>
&gt; Can you explain to me why (2) is desirable?=C2=A0 It seems like a pure=
<br>
&gt; reduction in extensibility.<br>
</span>Same reason as (1), to remove a level abstraction. If we do just (1)=
, we<br>
would have authorizations with two type fields:<br>
<br>
{<br>
=C2=A0 &quot;type&quot;: &quot;identifier&quot;,<br>
=C2=A0 &quot;identifier&quot;: { &quot;type&quot;: &quot;dns&quot;, &quot;v=
alue&quot;: &quot;<a href=3D"http://example.com" rel=3D"noreferrer" target=
=3D"_blank">example.com</a>&quot;},<br>
=C2=A0 ...<br>
}<br>
<br>
This is a bit awkward, but more to the point, it doesn&#39;t increase<br>
expressivity. A DNS identifier authorization doesn&#39;t have anything in<b=
r>
common with a hypothetical telephone number authorization, except (a)<br>
they both have a status, and (b) they both have a list of challenges.</bloc=
kquote><div><br><div>This is where you lose me.=C2=A0 You&#39;re underestim=
ating the degree of commonality here.=C2=A0=20
Yes, you&#39;re going to do different challenges per identifier type (SMS=
=20
vs. HTTP, say), but the overall flow at the *ACME* level is the same:<br><b=
r></div><div>1. Get the list of challenges offered by the server<br></div><=
div>2. Choose one and prepare to respond to it<br></div><div>3. POST a resp=
onse to the challenge<br></div><div>=C2=A0<br></div>That means you can buil=
d clients and servers that can be dynamically configured with challenge/val=
idation types, and use all the same ACME code.=C2=A0 For example:<br><br><a=
 href=3D"https://github.com/bifurcation/rocket-skates/#architecture">https:=
//github.com/bifurcation/rocket-skates/#architecture</a><br><br></div><div>=
I don&#39;t think it&#39;s worth losing this flexibility just to go from &q=
uot;type+value&quot; to &quot;value&quot;.<br></div><div>=C2=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"> It<br>
turns out those properties are also shared in common with an &quot;oob&quot=
;<br>
authorization. So we can flatten that abstraction neatly. We could have<br>
authorizations with types: &quot;dns-name&quot;, &quot;telephone-number&quo=
t;,<br>
&quot;email-address&quot;, and &quot;oob&quot;.<br></blockquote><div><br></=
div><div>Like I said, you would have to reinvent or copy/paste the whole ch=
allenge/response machinery for each new identifier type.<br><br></div><div>=
Also: OOB has no challenges.=C2=A0 Not sure what you&#39;re referring to th=
ere.=C2=A0 It&#39;s totally different from the authz flow.<br></div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=3D"gmail-"><br>
&gt; As for (1), I don&#39;t really think you&#39;re getting what you think=
 you&#39;re<br>
&gt; getting.=C2=A0 The functionality we need here is going to require two<=
br>
&gt; levels of abstraction:<br>
&gt;<br>
&gt; 1. The CA wants you to do something -- &quot;requirement&quot; vs. &qu=
ot;authorization&quot;<br>
&gt; 2. The CA wants you to do this specific thing -- &quot;authorization&q=
uot; vs.<br>
&gt; &quot;subtype-of-authorization&quot;<br>
</span>Can you explain this more? I don&#39;t think I understand the distin=
ction<br>
you&#39;re getting at, or why it needs a separate type of object.<br>
<br>
The main thing that you want a separate &quot;requirement&quot; type for is=
 OOB<br>
actions. That means both &quot;the CA wants you to do something&quot; AND &=
quot;the CA<br>
wants you do do this specific thing (click on the link and follow the<br>
instructions).&quot;<br></blockquote><div><br></div><div>I think the crux o=
f our disagreement is actually above.=C2=A0 You seem to be arguing that aut=
hz for different identifier types are as different from one another as OOB =
is from DNS-name.=C2=A0 I&#39;m saying that the identifier validation proce=
ss is going to be the same for many different identifiers, so the &quot;aut=
horization&quot; abstraction is meaningful.<br><br></div><div>--Richard<br>=
</div><div>=C2=A0</div></div><br></div></div>

--001a11489076211782053ff43eda--


From nobody Fri Oct 28 15:32:09 2016
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 05752127ABE for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 W6IHNUWRh2ud for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:32:06 -0700 (PDT)
Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (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 56CBA1295E4 for <acme@ietf.org>; Fri, 28 Oct 2016 15:32:06 -0700 (PDT)
Received: by mail-vk0-x22a.google.com with SMTP id x186so6962018vkd.1 for <acme@ietf.org>; Fri, 28 Oct 2016 15:32:06 -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=tMLdWsT1RowFqyNQImq6UUy31OwNLrpqo53b6JWTgbs=; b=Ij4FmIy8ysddihTUchXc63QOvnmkDyf9niUklpp9tgV9uUCuGr1qfpB8zBLPeZ9MU9 gve45wZVXtBbNojCh4tOKNxSiE2bsALa9Gc31ypJC798TxEAcSN997rgeH29NLQfCFeu eyt1e3MaqAp1W9H5xtXiADdjwDPi8ICezKE1Mxfjd1H3zcXw4fwGIGrTZxnc0BwyceNb UDq+MZQdSjgKPVrdizT9rvmDJeRt/g+Br2sknToirV+oqHQzv6A/ZSM3bWjcwOMf/zq4 xhckJwHwPZvP7FePRX4wpTIRJc9i0NQyveM/LDh/mIHnDAq97Xo/2Cq+rgcBLe0uymGE YKwQ==
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=tMLdWsT1RowFqyNQImq6UUy31OwNLrpqo53b6JWTgbs=; b=Teye8MlriKlprH/UlRTF+qDMwlRJiYCnyk6WJ9j/5MpYHcYNFnK2brPTm2jo7HXqU3 0rR4QCfbP1rPTZFKyvsk2ewdUNq7gAcd3pn5t4xUpk8COdDNg53B4frxiidNeBjqrts9 9io63UwW/f/ObjBuoVJDkSdBVC5pxKVkyBnH3Fbi4j29B3VyU9whabxm6/xgMtg2Dzxq Lv82TIgD54XjERPdP7ELtw9gXOjjiyYzAI88qrl0cjn4jklddC99X0xHWOq5WOU7k3IW 0yalrH3nlwt+693JtR43q7IgMJegJwFH9itdHbbEh03ai9kIN3v+2Y3L3SZOGcPIpo1j aI7A==
X-Gm-Message-State: ABUngvfsPUK6YR0cDw/uegSP9kPZOmTmASAolK3iIvGcR+7a1dmp4FmwmjOl1hpj9vVEHu/98dJdY2J4BWO90w==
X-Received: by 10.31.156.205 with SMTP id f196mr13588060vke.45.1477693925268;  Fri, 28 Oct 2016 15:32:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.41.17 with HTTP; Fri, 28 Oct 2016 15:32:04 -0700 (PDT)
In-Reply-To: <21a0dc6172cf4bc68f271601cc5ae803@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <21a0dc6172cf4bc68f271601cc5ae803@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Fri, 28 Oct 2016 18:32:04 -0400
Message-ID: <CAL02cgTNUj91SkuDbuafYDABXORyEOShw+v8G8n9EA7tzsgyfQ@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: multipart/alternative; boundary=001a113d24ba80b1e9053ff46d14
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/mP2Sn9Nk_rxdr5NtH3T3XdUglVI>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] IETF-97 Agenda
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: Fri, 28 Oct 2016 22:32:08 -0000

--001a113d24ba80b1e9053ff46d14
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 26, 2016 at 2:58 PM, Salz, Rich <rsalz@akamai.com> wrote:

> Here=E2=80=99s the current agenda draft for IETF-97.  Please reply to the=
 list if
> you want any changes.
>
>                 -- Rich and Ted.
>
>
>
> ACME at IETF-97
>
>
>
> Wed Nov 16, 2016 at 13:30-15:00
>

For those who might be dialing in remotely, here's a time zone translation:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=3DACME+%40+IETF+97=
&iso=3D20161116T1330&p1=3D235&ah=3D1&am=3D30


>
>
> 5 min Administrivia
>
>
>
> 50 min Open Issues on ACME I-D
>
>     Including "ready for last call"
>
>
>
> 15 min Short-term certificates
>
>
>
> 10 min CAA document
>
>
>
> 10 min WG next steps
>
>
>
> --
>
> Senior Architect, Akamai Technologies
>
> Member, OpenSSL Dev Team
>
> IM: richsalz@jabber.at Twitter: RichSalz
>
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--001a113d24ba80b1e9053ff46d14
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Oct 26, 2016 at 2:58 PM, Salz, Rich <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-US">
<div class=3D"gmail-m_-935536731274213956WordSection1">
<p class=3D"MsoNormal">Here=E2=80=99s the current agenda draft for IETF-97.=
=C2=A0 Please reply to the list if you want any changes.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Rich and Ted.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">ACME at IETF-97<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Wed Nov 16, 2016 at 13:30-15:00</p></div></div></blo=
ckquote><div><br></div><div>For those who might be dialing in remotely, her=
e&#39;s a time zone translation:<br><br><a href=3D"http://www.timeanddate.c=
om/worldclock/fixedtime.html?msg=3DACME+%40+IETF+97&amp;iso=3D20161116T1330=
&amp;p1=3D235&amp;ah=3D1&amp;am=3D30">http://www.timeanddate.com/worldclock=
/fixedtime.html?msg=3DACME+%40+IETF+97&amp;iso=3D20161116T1330&amp;p1=3D235=
&amp;ah=3D1&amp;am=3D30</a><br></div><div>=C2=A0</div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div lang=3D"EN-US"><div class=3D"gmail-m_-935=
536731274213956WordSection1"><p class=3D"MsoNormal"><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">5 min Administrivia<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">50 min Open Issues on ACME I-D<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 Including &quot;ready for last ca=
ll&quot;<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">15 min Short-term certificates<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">10 min CAA document<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">10 min WG next steps<span class=3D"gmail-HOEnZb"><fo=
nt color=3D"#888888"><u></u><u></u></font></span></p><span class=3D"gmail-H=
OEnZb"><font color=3D"#888888">
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">--=C2=A0 <u></u><u></u></p>
<p class=3D"MsoNormal">Senior Architect, Akamai Technologies<u></u><u></u><=
/p>
<p class=3D"MsoNormal">Member, OpenSSL Dev Team<u></u><u></u></p>
<p class=3D"MsoNormal">IM: <a href=3D"mailto:richsalz@jabber.at" target=3D"=
_blank">richsalz@jabber.at</a> Twitter: RichSalz<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div></div>

--001a113d24ba80b1e9053ff46d14--


From nobody Fri Oct 28 15:34:09 2016
Return-Path: <jsha@eff.org>
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 063411295EE for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:34:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.434
X-Spam-Level: 
X-Spam-Status: No, score=-7.434 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 bQv_9nWUFbxK for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:34:05 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59FA1127ABE for <acme@ietf.org>; Fri, 28 Oct 2016 15:34:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=7GE744Kdx5dpoKgPiA1MeH9+LzeNaS0O1aJXzSK4yZU=;  b=C998DMc1AJYYUaiIt9QBbWTRoM6YcJcKXHa6b3HmK4TiCUlof+K/LvfSVpKK7dOSdvqOsSvX4ofp+aRzbg2gWFKYa4RAFvLhVdtJ12cCLdsPsuFP0cP1EdeNSuvrtSVzt2jG6sGZ6vOnKLh4BgRPtdGbWcN4LwciaQFMPyM0/AM=;
Received: ; Fri, 28 Oct 2016 15:34:04 -0700
To: Richard Barnes <rlb@ipv.sx>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org>
Date: Fri, 28 Oct 2016 15:34:04 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/sQUWKWcTpBrUkKoMnl_JY0KzrOM>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Fri, 28 Oct 2016 22:34:07 -0000

On 10/28/2016 03:18 PM, Richard Barnes wrote:
> I think the crux of our disagreement is actually above.  You seem to
> be arguing that authz for different identifier types are as different
> from one another as OOB is from DNS-name.  I'm saying that the
> identifier validation process is going to be the same for many
> different identifiers, so the "authorization" abstraction is meaningful.
Can you give an example of how they will be the same? The currently
defined dns-01, http-01, and tls-sni-02 challenges can only be used for
DNS identifiers.

The "oob" challenges can be used by what you propose currently fill the
"requirements" niche. Specifically, you would have an authorization of
type "oob", containing a single challenge of type "oob."


From nobody Fri Oct 28 16:00:00 2016
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 CED1A1295C8 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:59:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] 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 45dAUCzmGKzL for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 15:59:57 -0700 (PDT)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (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 1D134129572 for <acme@ietf.org>; Fri, 28 Oct 2016 15:59:57 -0700 (PDT)
Received: by mail-vk0-x22b.google.com with SMTP id q126so66252445vkd.2 for <acme@ietf.org>; Fri, 28 Oct 2016 15:59:57 -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=kczbo4uDM1BsF1S64VRxACNhcX4+nHrIlwkgwTVY66k=; b=xhhge22S/Oy9PGKrnIDnUDuh0JpFTsbq6kARIG58PFwitwlpDoEwohecdCA5UusUpF rRaoQ/VHcPcCOex0V2mcR9TFGfYT8qgEAaWaGu2+Ovve4W2AfgtWu75TSlA4tZWQzIzk N2G0yAGUULfEFtvqrcddz+1g/cO2G9KKyPZppfplvixR9xXN+v+RJUIJhSnoqmoLKfbE LjMoT5j/9UrQ7G9lNNwSZDMkSGoc732Q4q4vpdS3b5thJIeO6fO1MCPjreUB7as/BmPH 075DCp5aDyENb+96eKfGDhvMdFh1Te2nkeE7CxFX/khrIvx+vai7DJFNMF+BfDiT8k+g x9uA==
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=kczbo4uDM1BsF1S64VRxACNhcX4+nHrIlwkgwTVY66k=; b=dniixa8z7YZOGZvuQEr7F7pNzHgCkl8FGq0lmcC/166Wha0vvBUQUSUFUAi5rlRlMH u3xwVVb4zyGaT3butWF+yO+wDga6GrLq1OMU2Vk8aq3EmgL9EiUGR54Y/J7KJYtfcP5m 0xYfvOe+8W13XOKM95ewEIRwng4F9umfxzjubMHegfAssP4nhXg1ObZCLQ/JhAJ0OsX5 QA5q85HQxC6lYpKIPrt+iUbSZ9cMv7wekLQffk9ALNQ/OZGAJkaNEh8CB+H9ijanOiXR BEAXXJ4wqp8YaXNbOnn3GQI2iv8gRE5CIqoMkP5m6vsZ3YkY79tmV+lRU+xlwCEXVzCD RV+g==
X-Gm-Message-State: ABUngvelEzijvrBs/9/ubQehSF0wdwgiG8JOk5jFeJBdxSb8dNkQpCeJlMgENKA+fk80PVESmgGf15w4xocChA==
X-Received: by 10.31.208.195 with SMTP id h186mr5880279vkg.10.1477695596125; Fri, 28 Oct 2016 15:59:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.41.17 with HTTP; Fri, 28 Oct 2016 15:59:55 -0700 (PDT)
In-Reply-To: <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com> <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Fri, 28 Oct 2016 18:59:55 -0400
Message-ID: <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=001a114e2d9e180357053ff4d107
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/etWplzo65CMTXcN_rfgNIjpAXXE>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Fri, 28 Oct 2016 22:59:59 -0000

--001a114e2d9e180357053ff4d107
Content-Type: text/plain; charset=UTF-8

On Fri, Oct 28, 2016 at 6:34 PM, Jacob Hoffman-Andrews <jsha@eff.org> wrote:

> On 10/28/2016 03:18 PM, Richard Barnes wrote:
> > I think the crux of our disagreement is actually above.  You seem to
> > be arguing that authz for different identifier types are as different
> > from one another as OOB is from DNS-name.  I'm saying that the
> > identifier validation process is going to be the same for many
> > different identifiers, so the "authorization" abstraction is meaningful.
> Can you give an example of how they will be the same? The currently
> defined dns-01, http-01, and tls-sni-02 challenges can only be used for
> DNS identifiers.
>

Sure.  As I said before, you'll use different sets of challenges, but the
overall flow remains the same.

Imagine an ACME client / server has a module that implements the challenge
/ validation logic for a challenge types.  For an HTTP challenge, it things
like make the HTTP challenge object, configure an HTTP server, do the HTTP
requests.  For a putative SMS-based challenge, it would generate the
challenge object, and orchestrate the sending / responding-to of SMS
messages.

Then the flow from the server's perspective is:

1. On new-app requiring a new authz:
1.1. Query the list of challenge modules to see which support $IDENTIFIER
1.2. For each supported challenge type, construct a challenge object for
$IDENTIFIER
1.3. Assemble the challenges into an authorization object
2. When the client responds to a challenge:
2.1. Call out to the module that generated the challenge
2.2. [[ module goes off and validates the challenge ]]
2.3. When the module has finished validating, update the authz with the
results.

None of that is dependent on the type of identifier being validated.  This
is a very clean abstraction boundary.  You can see this with the simplicity
of the API in rocket-skates; the above is exactly what it does.



> The "oob" challenges can be used by what you propose currently fill the
> "requirements" niche. Specifically, you would have an authorization of
> type "oob", containing a single challenge of type "oob."
>

Now you're the one adding unnecessary levels of abstraction ;)

--Richard

--001a114e2d9e180357053ff4d107
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Oct 28, 2016 at 6:34 PM, Jacob Hoffman-Andrews <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span =
class=3D"gmail-">On 10/28/2016 03:18 PM, Richard Barnes wrote:<br>
&gt; I think the crux of our disagreement is actually above.=C2=A0 You seem=
 to<br>
&gt; be arguing that authz for different identifier types are as different<=
br>
&gt; from one another as OOB is from DNS-name.=C2=A0 I&#39;m saying that th=
e<br>
&gt; identifier validation process is going to be the same for many<br>
&gt; different identifiers, so the &quot;authorization&quot; abstraction is=
 meaningful.<br>
</span>Can you give an example of how they will be the same? The currently<=
br>
defined dns-01, http-01, and tls-sni-02 challenges can only be used for<br>
DNS identifiers.<br></blockquote><div><br></div><div>Sure.=C2=A0 As I said =
before, you&#39;ll use different sets of challenges, but the overall flow r=
emains the same.<br><br></div><div>Imagine an ACME client / server has a mo=
dule that implements the challenge / validation logic for a challenge types=
.=C2=A0 For an HTTP challenge, it things like make the HTTP challenge objec=
t, configure an HTTP server, do the HTTP requests.=C2=A0 For a putative SMS=
-based challenge, it would generate the challenge object, and orchestrate t=
he sending / responding-to of SMS messages.<br><br></div><div>Then the flow=
 from the server&#39;s perspective is:<br></div><div><br></div><div>1. On n=
ew-app requiring a new authz:<br></div><div>1.1. Query the list of challeng=
e modules to see which support $IDENTIFIER<br></div><div>1.2. For each supp=
orted challenge type, construct a challenge object for $IDENTIFIER<br></div=
><div>1.3. Assemble the challenges into an authorization object<br></div><d=
iv>2. When the client responds to a challenge:<br></div><div>2.1. Call out =
to the module that generated the challenge<br></div><div>2.2. [[ module goe=
s off and validates the challenge ]]<br></div><div>2.3. When the module has=
 finished validating, update the authz with the results.<br></div><div><br>=
</div><div>None of that is dependent on the type of identifier being valida=
ted.=C2=A0 This is a very clean abstraction boundary.=C2=A0 You can see thi=
s with the simplicity of the API in rocket-skates; the above is exactly wha=
t it does.<br><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
The &quot;oob&quot; challenges can be used by what you propose currently fi=
ll the<br>
&quot;requirements&quot; niche. Specifically, you would have an authorizati=
on of<br>
type &quot;oob&quot;, containing a single challenge of type &quot;oob.&quot=
;<br>
</blockquote></div><br></div><div class=3D"gmail_extra">Now you&#39;re the =
one adding unnecessary levels of abstraction ;)<br></div><div class=3D"gmai=
l_extra"><br></div><div class=3D"gmail_extra">--Richard<br></div></div>

--001a114e2d9e180357053ff4d107--


From nobody Fri Oct 28 16:09:26 2016
Return-Path: <jsha@eff.org>
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 5322512948D for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 16:09:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.432
X-Spam-Level: 
X-Spam-Status: No, score=-7.432 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 ux5p5inS53bm for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 16:09:23 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9184F129435 for <acme@ietf.org>; Fri, 28 Oct 2016 16:09:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=yw1H1VtmFanQIlBdb5K7mKaxPmftGCeNr/WVt4a34Bk=;  b=6xKiez7uhzOHduTqHs14rJfyUrIeQMp809bE77WUdQ7EXAWvX0CVCvJtfcyKqwKWgHEm0ASxV0nnnRsxO4SRd1qd6dOmCmRgl8VhG8wpDvMFE/Jd51x/je20Epw9++aVgcPF13x0Rzv7KuOoiwDpn4grI9ZGtZb3Re0IVjNmqrg=;
Received: ; Fri, 28 Oct 2016 16:09:22 -0700
To: Richard Barnes <rlb@ipv.sx>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com> <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org> <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <819127d3-ac9c-0681-cf3e-601df4d16fe2@eff.org>
Date: Fri, 28 Oct 2016 16:09:22 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------C0DBF2EC40BE0DEFBB1CD18C"
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/R9X1pOd_xcrR8w4v32WVKbmSxxc>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Fri, 28 Oct 2016 23:09:25 -0000

This is a multi-part message in MIME format.
--------------C0DBF2EC40BE0DEFBB1CD18C
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

On 10/28/2016 03:59 PM, Richard Barnes wrote:
> 1. On new-app requiring a new authz:
> 1.1. Query the list of challenge modules to see which support $IDENTIFIER
> 1.2. For each supported challenge type, construct a challenge object
> for $IDENTIFIER
> 1.3. Assemble the challenges into an authorization object
> 2. When the client responds to a challenge:
> 2.1. Call out to the module that generated the challenge
> 2.2. [[ module goes off and validates the challenge ]]
> 2.3. When the module has finished validating, update the authz with
> the results.
This flow seems reasonable. Why would it be different for what is
currently called a "requirement?"

>  
>
>     The "oob" challenges can be used by what you propose currently
>     fill the
>     "requirements" niche. Specifically, you would have an authorization of
>     type "oob", containing a single challenge of type "oob."
>
>
> Now you're the one adding unnecessary levels of abstraction ;)
Nope, the "oob" challenge is already defined, and the "oob"
authorization type is equivalent to what is currently called a
"requirement." So I'm making better use of things we already define.

--------------C0DBF2EC40BE0DEFBB1CD18C
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 10/28/2016 03:59 PM, Richard Barnes wrote:<br>
    <blockquote
cite="mid:CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com"
      type="cite">
      <div dir="ltr">1. On new-app requiring a new authz:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>1.1. Query the list of challenge modules to see which
              support $IDENTIFIER<br>
            </div>
            <div>1.2. For each supported challenge type, construct a
              challenge object for $IDENTIFIER<br>
            </div>
            <div>1.3. Assemble the challenges into an authorization
              object<br>
            </div>
            <div>2. When the client responds to a challenge:<br>
            </div>
            <div>2.1. Call out to the module that generated the
              challenge<br>
            </div>
            <div>2.2. [[ module goes off and validates the challenge ]]<br>
            </div>
            <div>2.3. When the module has finished validating, update
              the authz with the results.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    This flow seems reasonable. Why would it be different for what is
    currently called a "requirement?"<br>
    <br>
    <blockquote
cite="mid:CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">Â 
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              The "oob" challenges can be used by what you propose
              currently fill the<br>
              "requirements" niche. Specifically, you would have an
              authorization of<br>
              type "oob", containing a single challenge of type "oob."<br>
            </blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">Now you're the one adding unnecessary
          levels of abstraction ;)<br>
        </div>
      </div>
    </blockquote>
    Nope, the "oob" challenge is already defined, and the "oob"
    authorization type is equivalent to what is currently called a
    "requirement." So I'm making better use of things we already define.<br>
  </body>
</html>

--------------C0DBF2EC40BE0DEFBB1CD18C--


From nobody Fri Oct 28 17:24:55 2016
Return-Path: <ekr@rtfm.com>
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 64097129420 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 17:24:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.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 0Ud4_ZWagxkG for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 17:24:52 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (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 32B661293F2 for <acme@ietf.org>; Fri, 28 Oct 2016 17:24:52 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id h14so107792778ywa.2 for <acme@ietf.org>; Fri, 28 Oct 2016 17:24:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wYneAMfeDwJesvFs/3R+LB6YafH6Yqsh3WlrwAytA2g=; b=oKJS49Qn7jF+pxHcs1ITB6wXgecTBo8S1Lk6w9MmVV7cu1tZX9PIlzySi/sLxAJCjh v5n22aR2Wdog/f9tDVyMK/kX57TMbm2PZKqoNOmCib78DgMPUluS5MHIn76e7HKtHtNg jhCXJbRZT5yv1A+IHuYr3iturNRjyQXOB18Vl2Jd3wmwdrutedwMmoZBTZP4+BcXZwoV ojXB7N0EoCOYzaCPyQ0NoCSiH2ziS3a+JHlSAQiL6t2e867QZfPTsOR01RUw5GEUtyLO 1DqCFQoQCv0PLQh/3EG2kxsGWree72qlH3H/4MRMRwuKm27qBDG2k2QokCYM9xF9UsOi kSDw==
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=wYneAMfeDwJesvFs/3R+LB6YafH6Yqsh3WlrwAytA2g=; b=BHWIb2kXlJdnq2hCQqxoUJFk46l1WcX8Ac6e+GkapcAnXei1GCBDByz74zcw3xc3Os 29AXx8eLljdwLUBSg5/I6gkWw53R2Wqo0IzqJBNNghyzv0ihbYl0QBV42uo41vbLrUn9 FTCpqYTf4I6CTVNwcClbRc7qBOFVAiJHlarjo9TrfNR7Y1HFwUbUEQ5o7rhptIQZuMNE gQ9ZFnPpNwECrZo/YnOFWTXr8TidM5kFyq9z4HoqoU57KuPy6jl3duhZ//bo6Vouq9eQ 295Fj1yk6cX4wcvLpf0VVBchWeGrxf+PLBTXKVHBtQHcAqXoFLIwIucq8VUt8lgm6TEW 9lhg==
X-Gm-Message-State: ABUngvda2OMkSpHMHDlRkj0kvwZeGKQu6Pcu7+acgArsppMVBOF8E6mx0UmbQ3e54RJ16tMaomy8Y9Z8kE5M1Q==
X-Received: by 10.129.121.206 with SMTP id u197mr14518661ywc.146.1477700691471;  Fri, 28 Oct 2016 17:24:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.82.210 with HTTP; Fri, 28 Oct 2016 17:24:11 -0700 (PDT)
In-Reply-To: <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com> <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org> <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sat, 29 Oct 2016 11:24:11 +1100
Message-ID: <CABcZeBMgog=x=m7s8Cr_=X80NbeZOjq-W9ZYSnRTdVRgeLojKA@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Content-Type: multipart/alternative; boundary=94eb2c0b0f68ccf0a6053ff60038
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/0IlJ2jYtBPj3ToXp_Mrclrh67PA>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Sat, 29 Oct 2016 00:24:54 -0000

--94eb2c0b0f68ccf0a6053ff60038
Content-Type: text/plain; charset=UTF-8

I'm basically with Richard here. I don't think that the change that Jacob
suggests is disastrous but it also doesn't seem very well-motivated and
given that we're trying to get to done, the bar for changes like this
should be fairly high. I don't think this rises to it.

On Sat, Oct 29, 2016 at 9:59 AM, Richard Barnes <rlb@ipv.sx> wrote:

>
>
> On Fri, Oct 28, 2016 at 6:34 PM, Jacob Hoffman-Andrews <jsha@eff.org>
> wrote:
>
>> On 10/28/2016 03:18 PM, Richard Barnes wrote:
>> > I think the crux of our disagreement is actually above.  You seem to
>> > be arguing that authz for different identifier types are as different
>> > from one another as OOB is from DNS-name.  I'm saying that the
>> > identifier validation process is going to be the same for many
>> > different identifiers, so the "authorization" abstraction is meaningful.
>> Can you give an example of how they will be the same? The currently
>> defined dns-01, http-01, and tls-sni-02 challenges can only be used for
>> DNS identifiers.
>>
>
> Sure.  As I said before, you'll use different sets of challenges, but the
> overall flow remains the same.
>
> Imagine an ACME client / server has a module that implements the challenge
> / validation logic for a challenge types.  For an HTTP challenge, it things
> like make the HTTP challenge object, configure an HTTP server, do the HTTP
> requests.  For a putative SMS-based challenge, it would generate the
> challenge object, and orchestrate the sending / responding-to of SMS
> messages.
>
> Then the flow from the server's perspective is:
>
> 1. On new-app requiring a new authz:
> 1.1. Query the list of challenge modules to see which support $IDENTIFIER
> 1.2. For each supported challenge type, construct a challenge object for
> $IDENTIFIER
> 1.3. Assemble the challenges into an authorization object
> 2. When the client responds to a challenge:
> 2.1. Call out to the module that generated the challenge
> 2.2. [[ module goes off and validates the challenge ]]
> 2.3. When the module has finished validating, update the authz with the
> results.
>
> None of that is dependent on the type of identifier being validated.  This
> is a very clean abstraction boundary.  You can see this with the simplicity
> of the API in rocket-skates; the above is exactly what it does.
>
>
>
>> The "oob" challenges can be used by what you propose currently fill the
>> "requirements" niche. Specifically, you would have an authorization of
>> type "oob", containing a single challenge of type "oob."
>>
>
> Now you're the one adding unnecessary levels of abstraction ;)
>
> --Richard
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--94eb2c0b0f68ccf0a6053ff60038
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m basically with Richard here. I don&#39;t think tha=
t the change that Jacob suggests is disastrous but it also doesn&#39;t seem=
 very well-motivated and given that we&#39;re trying to get to done, the ba=
r for changes like this should be fairly high. I don&#39;t think this rises=
 to it.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On S=
at, Oct 29, 2016 at 9:59 AM, Richard Barnes <span dir=3D"ltr">&lt;<a href=
=3D"mailto:rlb@ipv.sx" target=3D"_blank">rlb@ipv.sx</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote"><span class=3D"">On Fri, Oct 28, 2016 =
at 6:34 PM, Jacob Hoffman-Andrews <span dir=3D"ltr">&lt;<a href=3D"mailto:j=
sha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><span class=3D"m_83201261970519=
28382gmail-">On 10/28/2016 03:18 PM, Richard Barnes wrote:<br>
&gt; I think the crux of our disagreement is actually above.=C2=A0 You seem=
 to<br>
&gt; be arguing that authz for different identifier types are as different<=
br>
&gt; from one another as OOB is from DNS-name.=C2=A0 I&#39;m saying that th=
e<br>
&gt; identifier validation process is going to be the same for many<br>
&gt; different identifiers, so the &quot;authorization&quot; abstraction is=
 meaningful.<br>
</span>Can you give an example of how they will be the same? The currently<=
br>
defined dns-01, http-01, and tls-sni-02 challenges can only be used for<br>
DNS identifiers.<br></blockquote><div><br></div></span><div>Sure.=C2=A0 As =
I said before, you&#39;ll use different sets of challenges, but the overall=
 flow remains the same.<br><br></div><div>Imagine an ACME client / server h=
as a module that implements the challenge / validation logic for a challeng=
e types.=C2=A0 For an HTTP challenge, it things like make the HTTP challeng=
e object, configure an HTTP server, do the HTTP requests.=C2=A0 For a putat=
ive SMS-based challenge, it would generate the challenge object, and orches=
trate the sending / responding-to of SMS messages.<br><br></div><div>Then t=
he flow from the server&#39;s perspective is:<br></div><div><br></div><div>=
1. On new-app requiring a new authz:<br></div><div>1.1. Query the list of c=
hallenge modules to see which support $IDENTIFIER<br></div><div>1.2. For ea=
ch supported challenge type, construct a challenge object for $IDENTIFIER<b=
r></div><div>1.3. Assemble the challenges into an authorization object<br><=
/div><div>2. When the client responds to a challenge:<br></div><div>2.1. Ca=
ll out to the module that generated the challenge<br></div><div>2.2. [[ mod=
ule goes off and validates the challenge ]]<br></div><div>2.3. When the mod=
ule has finished validating, update the authz with the results.<br></div><d=
iv><br></div><div>None of that is dependent on the type of identifier being=
 validated.=C2=A0 This is a very clean abstraction boundary.=C2=A0 You can =
see this with the simplicity of the API in rocket-skates; the above is exac=
tly what it does.<br><br></div><span class=3D""><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">
The &quot;oob&quot; challenges can be used by what you propose currently fi=
ll the<br>
&quot;requirements&quot; niche. Specifically, you would have an authorizati=
on of<br>
type &quot;oob&quot;, containing a single challenge of type &quot;oob.&quot=
;<br>
</blockquote></span></div><br></div><div class=3D"gmail_extra">Now you&#39;=
re the one adding unnecessary levels of abstraction ;)<span class=3D"HOEnZb=
"><font color=3D"#888888"><br></font></span></div><span class=3D"HOEnZb"><f=
ont color=3D"#888888"><div class=3D"gmail_extra"><br></div><div class=3D"gm=
ail_extra">--Richard<br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div>

--94eb2c0b0f68ccf0a6053ff60038--


From nobody Fri Oct 28 17:52:14 2016
Return-Path: <ekr@rtfm.com>
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 4E6D8129468 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 17:52:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.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 GrQE56oteVKf for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 17:52:10 -0700 (PDT)
Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 9DE58128E18 for <acme@ietf.org>; Fri, 28 Oct 2016 17:52:10 -0700 (PDT)
Received: by mail-yw0-x22c.google.com with SMTP id h14so108005442ywa.2 for <acme@ietf.org>; Fri, 28 Oct 2016 17:52:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ko1tSpErrF2oY6NOtN+XHpVuyR1jrJmSd1RNS6aq+M8=; b=jT+ZE7QT+i3ai4RTAL7EIkFVoRh9J9A6zczVS1J+3kGOFNOlPGYH6R7BjD2dYKAnTK 4Mn74WgQNc6ytyFQgBijRMzKTd2KqAmOvNJ6EXPnD6bI4mcZE7CfTEwvBxBeWPgIpFjd TwtW5eohk6tsgp6249ocKmX8Eq+C+b2Buy26tnPAwtxOACLmUUVD6yVpKcUkhQ2Skhno 2mktK42rUrXzz3ll4vu9RyfTBF88Xsuhg5WiP4fPYHAzDxoyFHOUgZGlatM0s7fH1rYY MgyRRaxNFKRhywsQfDZdN+riepF2KY0VEMFeq3ma+ZRDt+PD57JPyuIeY76NnQkc33io ol8Q==
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=Ko1tSpErrF2oY6NOtN+XHpVuyR1jrJmSd1RNS6aq+M8=; b=NaZj7u2MR6D9mUyoTQI/vU4iAh8VXiwxaVrJw0z9k5gbW/rIyDInhihX//P4QkIe0o Q2DVMyCuK5sxpZF1FcD+5EU7EXcDZ+KybdFQR/dJFbhyJbDGTZ6KqnU4Xa/9swsBQ8nu vKnq7TEArK0aIWCcvwjW4lSdew4yOjEDF2FVC18ie0RH0rsv/FEX6l6LdhE1CJvErP7J DbZgL6MrP0ZUzXONvb9Y/LqTlgxe0ikeyHVIYqmbnUFhPP1gWkJgWJsV6mHEAE7czcRC TWrc8Lznbq1eB1EyoeU35FvmtVdQJUE98B2tZYUMFqZo29mpPT6gs3jr9Kv1pareOkIe qWmA==
X-Gm-Message-State: ABUngvefj6+V44xfobXPtCMmQVYYjSmFQiTKXYtF1+gYQ2YSz+8rNjD5+hxqKHWBzBd4F0+LRIg5fYBZ/hIT2w==
X-Received: by 10.129.121.206 with SMTP id u197mr14561353ywc.146.1477702329905;  Fri, 28 Oct 2016 17:52:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.82.210 with HTTP; Fri, 28 Oct 2016 17:51:29 -0700 (PDT)
In-Reply-To: <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com> <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org> <CAL02cgQtvs5Lh4Ndnb9N=sAbz2osk0Xt4N16L+ow76e1+oEqSw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sat, 29 Oct 2016 11:51:29 +1100
Message-ID: <CABcZeBPGYpcnO-QJ9nhgJ9MUH08_WULLpL4CQdwa8g12xEsY7Q@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Content-Type: multipart/alternative; boundary=94eb2c0b0f68755f73053ff66248
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/_B4OcDP1wRauGHlcTouwoGdH9EI>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>, Jacob Hoffman-Andrews <jsha@eff.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Sat, 29 Oct 2016 00:52:12 -0000

--94eb2c0b0f68755f73053ff66248
Content-Type: text/plain; charset=UTF-8

I'm basically with Richard here. I don't think that the change that Jacob
suggests is disastrous but it also doesn't seem very well-motivated and
given that we're trying to get to done, the bar for changes like this
should be fairly high. I don't think this rises to it.

On Sat, Oct 29, 2016 at 9:59 AM, Richard Barnes <rlb@ipv.sx> wrote:

>
>
> On Fri, Oct 28, 2016 at 6:34 PM, Jacob Hoffman-Andrews <jsha@eff.org>
> wrote:
>
>> On 10/28/2016 03:18 PM, Richard Barnes wrote:
>> > I think the crux of our disagreement is actually above.  You seem to
>> > be arguing that authz for different identifier types are as different
>> > from one another as OOB is from DNS-name.  I'm saying that the
>> > identifier validation process is going to be the same for many
>> > different identifiers, so the "authorization" abstraction is meaningful.
>> Can you give an example of how they will be the same? The currently
>> defined dns-01, http-01, and tls-sni-02 challenges can only be used for
>> DNS identifiers.
>>
>
> Sure.  As I said before, you'll use different sets of challenges, but the
> overall flow remains the same.
>
> Imagine an ACME client / server has a module that implements the challenge
> / validation logic for a challenge types.  For an HTTP challenge, it things
> like make the HTTP challenge object, configure an HTTP server, do the HTTP
> requests.  For a putative SMS-based challenge, it would generate the
> challenge object, and orchestrate the sending / responding-to of SMS
> messages.
>
> Then the flow from the server's perspective is:
>
> 1. On new-app requiring a new authz:
> 1.1. Query the list of challenge modules to see which support $IDENTIFIER
> 1.2. For each supported challenge type, construct a challenge object for
> $IDENTIFIER
> 1.3. Assemble the challenges into an authorization object
> 2. When the client responds to a challenge:
> 2.1. Call out to the module that generated the challenge
> 2.2. [[ module goes off and validates the challenge ]]
> 2.3. When the module has finished validating, update the authz with the
> results.
>
> None of that is dependent on the type of identifier being validated.  This
> is a very clean abstraction boundary.  You can see this with the simplicity
> of the API in rocket-skates; the above is exactly what it does.
>
>
>
>> The "oob" challenges can be used by what you propose currently fill the
>> "requirements" niche. Specifically, you would have an authorization of
>> type "oob", containing a single challenge of type "oob."
>>
>
> Now you're the one adding unnecessary levels of abstraction ;)
>
> --Richard
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

--94eb2c0b0f68755f73053ff66248
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m basically with Richard here. I don&#39;t think tha=
t the change that Jacob suggests is disastrous but it also doesn&#39;t seem=
 very well-motivated and given that we&#39;re trying to get to done, the ba=
r for changes like this should be fairly high. I don&#39;t think this rises=
 to it.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On S=
at, Oct 29, 2016 at 9:59 AM, Richard Barnes <span dir=3D"ltr">&lt;<a href=
=3D"mailto:rlb@ipv.sx" target=3D"_blank">rlb@ipv.sx</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote"><span class=3D"">On Fri, Oct 28, 2016 =
at 6:34 PM, Jacob Hoffman-Andrews <span dir=3D"ltr">&lt;<a href=3D"mailto:j=
sha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><span class=3D"m_83201261970519=
28382gmail-">On 10/28/2016 03:18 PM, Richard Barnes wrote:<br>
&gt; I think the crux of our disagreement is actually above.=C2=A0 You seem=
 to<br>
&gt; be arguing that authz for different identifier types are as different<=
br>
&gt; from one another as OOB is from DNS-name.=C2=A0 I&#39;m saying that th=
e<br>
&gt; identifier validation process is going to be the same for many<br>
&gt; different identifiers, so the &quot;authorization&quot; abstraction is=
 meaningful.<br>
</span>Can you give an example of how they will be the same? The currently<=
br>
defined dns-01, http-01, and tls-sni-02 challenges can only be used for<br>
DNS identifiers.<br></blockquote><div><br></div></span><div>Sure.=C2=A0 As =
I said before, you&#39;ll use different sets of challenges, but the overall=
 flow remains the same.<br><br></div><div>Imagine an ACME client / server h=
as a module that implements the challenge / validation logic for a challeng=
e types.=C2=A0 For an HTTP challenge, it things like make the HTTP challeng=
e object, configure an HTTP server, do the HTTP requests.=C2=A0 For a putat=
ive SMS-based challenge, it would generate the challenge object, and orches=
trate the sending / responding-to of SMS messages.<br><br></div><div>Then t=
he flow from the server&#39;s perspective is:<br></div><div><br></div><div>=
1. On new-app requiring a new authz:<br></div><div>1.1. Query the list of c=
hallenge modules to see which support $IDENTIFIER<br></div><div>1.2. For ea=
ch supported challenge type, construct a challenge object for $IDENTIFIER<b=
r></div><div>1.3. Assemble the challenges into an authorization object<br><=
/div><div>2. When the client responds to a challenge:<br></div><div>2.1. Ca=
ll out to the module that generated the challenge<br></div><div>2.2. [[ mod=
ule goes off and validates the challenge ]]<br></div><div>2.3. When the mod=
ule has finished validating, update the authz with the results.<br></div><d=
iv><br></div><div>None of that is dependent on the type of identifier being=
 validated.=C2=A0 This is a very clean abstraction boundary.=C2=A0 You can =
see this with the simplicity of the API in rocket-skates; the above is exac=
tly what it does.<br><br></div><span class=3D""><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">
The &quot;oob&quot; challenges can be used by what you propose currently fi=
ll the<br>
&quot;requirements&quot; niche. Specifically, you would have an authorizati=
on of<br>
type &quot;oob&quot;, containing a single challenge of type &quot;oob.&quot=
;<br>
</blockquote></span></div><br></div><div class=3D"gmail_extra">Now you&#39;=
re the one adding unnecessary levels of abstraction ;)<span class=3D"HOEnZb=
"><font color=3D"#888888"><br></font></span></div><span class=3D"HOEnZb"><f=
ont color=3D"#888888"><div class=3D"gmail_extra"><br></div><div class=3D"gm=
ail_extra">--Richard<br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
<br></blockquote></div><br></div>

--94eb2c0b0f68755f73053ff66248--


From nobody Fri Oct 28 17:55:34 2016
Return-Path: <jsha@eff.org>
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 2735C128E18 for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 17:55:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.433
X-Spam-Level: 
X-Spam-Status: No, score=-7.433 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eff.org
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 7iePJBzZLjCy for <acme@ietfa.amsl.com>; Fri, 28 Oct 2016 17:55:30 -0700 (PDT)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E6DAD1293E8 for <acme@ietf.org>; Fri, 28 Oct 2016 17:55:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=UQdfPGp4rq1Zaf7DZ21p9Lp58vCbY+iryVISeeHQxBI=;  b=aZRHVOXN0jU1rMFAsQlHseZbZP18w+UAc0GaVWtq6DiSSCFuPbEbUffFfdp+GIwvvCudS2Xb/ohjiJRvC5q7N1cxAjijupfp00/hILDPLHhfc1F3vaLis63VxgEnH2VnVcO98ewLd8H+PBUV7FyYPC3fv0e//9zGfJOXsYcYrVQ=;
Received: ; Fri, 28 Oct 2016 17:55:29 -0700
To: Richard Barnes <rlb@ipv.sx>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com> <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <b546ed39-c8a8-27ca-d8ce-0e47e8716c8d@eff.org>
Date: Fri, 28 Oct 2016 17:55:29 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/ms_qJc7bLEtGD3dQjzARVLpK75k>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Sat, 29 Oct 2016 00:55:33 -0000

Let me put it a different way: Offering the same value in multiple
places is really bad API design. I'm trying to fix that. We could remove
the inlined authorization status, leaving the requirements with an
inline status. But while we're at it, why not give requirements their
own addressable URLs? And what, fundamentally, is different about
requirements vs authorizations?


From nobody Sat Oct 29 09:26:19 2016
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 BE6F51295E6 for <acme@ietfa.amsl.com>; Sat, 29 Oct 2016 09:26:17 -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 eqQPFpjs4D3z for <acme@ietfa.amsl.com>; Sat, 29 Oct 2016 09:26:16 -0700 (PDT)
Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232]) (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 6514712958C for <acme@ietf.org>; Sat, 29 Oct 2016 09:26:16 -0700 (PDT)
Received: by mail-ua0-x232.google.com with SMTP id 12so76415989uas.2 for <acme@ietf.org>; Sat, 29 Oct 2016 09:26:16 -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=/N/ogG6wMeIX/1pUXKX7NyyPxDxitBG7ugK8B/lg4F4=; b=iee5kHOU65b9FrJbtRgBUcfbtqd4/jbwkScTH5qgjqRDuXq03s/OH29y52FgOrZ1cl br4Nu1g1I8bCwhEf5Z+dNLFLpqHG1N03pTVZKCI1/qsD8fhu7dL+fXaMvNSKGeiMTlO2 61zW7sVlKC40Ae5VDD61VoUP6eHLP0TZhHFgcDuk2s+1I/0f4mV0GlJPSaXRa3MsgrvK m/huvGo7F1jI5VmFdnajBPSHZ0F72wRXB0RKUzhdShj1ionngyPqKShnZwiH2r/Vm3up U8Zw1SBTogJbvMcZ9a/IZRrLuYkY2W8w7O3M570jg1J7h6vaCbdvvsQkUte5IxqVeMrF 8LHg==
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=/N/ogG6wMeIX/1pUXKX7NyyPxDxitBG7ugK8B/lg4F4=; b=geoz6wNhFB+CRR1i+cbPZdF8cu/e7a5SZPGakO6AlKqT3NrW+e0xo8dUa14/fzWsqa Cyapuke2NFkyhuy9CGlytQWwhPb5Wf+9SD088tWOK1IdLku9bWnfhA9kXePfiM4iPn8w AMKYQtDHkhtnOUGG40pIa431YiyEfxN1pbp4N0+pJc/Pws1AjG3plFFcKUdrpv4UUHD1 j4J+fp+rp63FZIna5N1NkSnVOg4ae8CCN+7WTJW6Xws9Q3B74tTz9trlP4Kn839O6iM7 q/1Mn1fu6QYLyYc5WgZyxzf83VK4NjaBsyaQeLsRqmaj4undaxBKZimRhKMlAwnhQ1vO 62GQ==
X-Gm-Message-State: ABUngvenWbUANu1DwZhrYCqAQXvPZHeymmY7pk/1rCJVDL2MzaephVuT26n1Xjm8PIIxsSKp6oNmJHVHHG2RGw==
X-Received: by 10.176.5.137 with SMTP id e9mr12398661uae.109.1477758375398; Sat, 29 Oct 2016 09:26:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.41.17 with HTTP; Sat, 29 Oct 2016 09:26:14 -0700 (PDT)
In-Reply-To: <b546ed39-c8a8-27ca-d8ce-0e47e8716c8d@eff.org>
References: <19953783-aad8-2108-1547-7c777d023959@eff.org> <20160927072613.GA19572@andover.lhh.devever.net> <4093b85d-c031-b67a-6ed6-500e82b8e4fb@eff.org> <CA+9kkMAa3CUHmvsGNROLJRKkt7Zo9L2R7p3Rm75uhX+f6-W6eA@mail.gmail.com> <e780b823-0bef-8058-43d0-25fff279ba03@eff.org> <CA+9kkMC473G_jAQ7ojg7rcR42Go1FHzBqoByGsBKtr2t5KmMjQ@mail.gmail.com> <CAL02cgS5=80mya7hBbFrL3xhOKJa1atYUFF=gzxRe72DuO1KjQ@mail.gmail.com> <127e8f64-3d65-2e43-77dd-3e74c5c98239@eff.org> <CAL02cgSkohEVz2k4ff0FSAemYemMAaKHBpLhfG9jAQPGEwH=fw@mail.gmail.com> <2727a2f1-c433-b00f-9aff-33bb46ff6c90@eff.org> <CAL02cgSvxg1N=rv_bWbGJbr4-LUA-gri=4La6Nv8h-a8SwXmgA@mail.gmail.com> <d9bbfc2e-1920-9d52-7603-539a2f31f84c@eff.org> <b546ed39-c8a8-27ca-d8ce-0e47e8716c8d@eff.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Sat, 29 Oct 2016 12:26:14 -0400
Message-ID: <CAL02cgT+qyx9p=ikerRvg-c20E9sbUSBG-rAQTDp_1=f0JOEGQ@mail.gmail.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=94eb2c12321807c6de0540036f4b
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/yeA6kauDaywvvQcBZ0Pia8prSCo>
Cc: Ted Hardie <ted.ietf@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Combine "requirements" and "authorizations."
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: Sat, 29 Oct 2016 16:26:18 -0000

--94eb2c12321807c6de0540036f4b
Content-Type: text/plain; charset=UTF-8

On Fri, Oct 28, 2016 at 8:55 PM, Jacob Hoffman-Andrews <jsha@eff.org> wrote:

> Let me put it a different way: Offering the same value in multiple
> places is really bad API design. I'm trying to fix that. We could remove
> the inlined authorization status, leaving the requirements with an
> inline status. But while we're at it, why not give requirements their
> own addressable URLs? And what, fundamentally, is different about
> requirements vs authorizations?
>

Good, these are the right questions.  I do think there's a clear set of
concepts here:

* Requirement == What you have to do to get *this* *particular* certificate
issued
* Authz == You must do one of N things to prove you control the identifier
* Challenge == Do this to prove you control the identifier

The current structure is basically a conjunctive normal form:

App <= (Chall1 || Chall2) && (Chall3 || Chall4) && Req1

That is, there are two things that tell the client what to do, requirements
and challenges.  Authorizations allow the CA to offer groups of challenges
"or"ed together.

So if you wanted to simplify things, I guess the thing you would want to do
is define a general "or" grouping.  But I don't think even that's
worthwhile at this point, given that (1) the specialization of the authz
grouping means you don't have to repeat the identifier in each challenge,
and (2) we have no other requirements that require such an "or" grouping
right now.

As far as addressable URLs, I don't have a strong objection, but I don't
see any need for it.  If future types of requirements want to be
addressable, they can define pointers to addressable objects, like the
authz does right now.

--Richard

--94eb2c12321807c6de0540036f4b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Oct 28, 2016 at 8:55 PM, Jacob Hoffman-Andrews <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jsha@eff.org" target=3D"_blank">jsha@eff.org</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">Let me put it a different=
 way: Offering the same value in multiple<br>
places is really bad API design. I&#39;m trying to fix that. We could remov=
e<br>
the inlined authorization status, leaving the requirements with an<br>
inline status. But while we&#39;re at it, why not give requirements their<b=
r>
own addressable URLs? And what, fundamentally, is different about<br>
requirements vs authorizations?<br></blockquote><div><br></div><div>Good, t=
hese are the right questions.=C2=A0 I do think there&#39;s a clear set of c=
oncepts here:<br><br></div><div>* Requirement =3D=3D What you have to do to=
 get *this* *particular* certificate issued<br></div><div>* Authz =3D=3D Yo=
u must do one of N things to prove you control the identifier<br></div><div=
>* Challenge =3D=3D Do this to prove you control the identifier<br><br></di=
v><div>The current structure is basically a conjunctive normal form:<br><br=
></div><div>App &lt;=3D (Chall1 || Chall2) &amp;&amp; (Chall3 || Chall4) &a=
mp;&amp; Req1<br></div><div><br></div><div>That is, there are two things th=
at tell the client what to do, requirements and challenges.=C2=A0 Authoriza=
tions allow the CA to offer groups of challenges &quot;or&quot;ed together.=
<br><br></div><div>So if you wanted to simplify things, I guess the thing y=
ou would want to do is define a general &quot;or&quot; grouping.=C2=A0 But =
I don&#39;t think even that&#39;s worthwhile at this point, given that (1) =
the specialization of the authz grouping means you don&#39;t have to repeat=
 the identifier in each challenge, and (2) we have no other requirements th=
at require such an &quot;or&quot; grouping right now.<br></div><div><br></d=
iv><div>As far as addressable URLs, I don&#39;t have a strong objection, bu=
t I don&#39;t see any need for it.=C2=A0 If future types of requirements wa=
nt to be addressable, they can define pointers to addressable objects, like=
 the authz does right now.<br><br></div><div>--Richard<br></div></div><br><=
/div></div>

--94eb2c12321807c6de0540036f4b--


From nobody Mon Oct 31 08:43:24 2016
Return-Path: <Ray.Cheng@entrustdatacard.com>
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 6A0091294DA for <acme@ietfa.amsl.com>; Mon, 31 Oct 2016 08:43:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.398
X-Spam-Level: 
X-Spam-Status: No, score=-3.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 MXP7afH0NZw0 for <acme@ietfa.amsl.com>; Mon, 31 Oct 2016 08:43:20 -0700 (PDT)
Received: from mx1.entrustdatacard.com (mx1.entrustdatacard.com [204.124.80.220]) by ietfa.amsl.com (Postfix) with ESMTP id 8B6F2129499 for <acme@ietf.org>; Mon, 31 Oct 2016 08:43:20 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.31,575,1473138000";  d="scan'208";a="4428396"
Received: from pmspex04.corporate.datacard.com (HELO owa.datacard.com) ([192.168.211.51]) by pmspesa03inside.corporate.datacard.com with ESMTP/TLS/AES256-SHA; 31 Oct 2016 10:43:20 -0500
Received: from PMSPEX04.corporate.datacard.com (192.168.211.51) by PMSPEX04.corporate.datacard.com (192.168.211.51) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 31 Oct 2016 10:43:19 -0500
Received: from PMSPEX04.corporate.datacard.com ([fe80::7548:efe7:13ed:d3e3]) by PMSPEX04.corporate.datacard.com ([fe80::7548:efe7:13ed:d3e3%15]) with mapi id 15.00.1210.000; Mon, 31 Oct 2016 10:43:19 -0500
From: Ray Cheng <Ray.Cheng@entrustdatacard.com>
To: Jacob Hoffman-Andrews <jsha@eff.org>, "acme@ietf.org" <acme@ietf.org>
Thread-Topic: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
Thread-Index: AdIeP7an8iLT4ky2TH+14edOnahvFwSgyaIAACOz+jA=
Date: Mon, 31 Oct 2016 15:43:19 +0000
Message-ID: <e2e2a14279344164b2043dc3dcebed7c@PMSPEX04.corporate.datacard.com>
References: <e5b85cf66e8d481489614de4c3ce58e7@PMSPEX04.corporate.datacard.com> <640a3258-76f1-4c5d-4649-b330289d432f@eff.org>
In-Reply-To: <640a3258-76f1-4c5d-4649-b330289d432f@eff.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.160.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/FS2dMo147aFrx-ocMmg8Whnh6ss>
Subject: Re: [Acme] Proposal for adding arbitrary CA-specific name-value pairs to registration object
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: Mon, 31 Oct 2016 15:43:22 -0000

Hi Jacob,

From: Jacob Hoffman-Andrews, Thursday, October 27, 2016 5:28 PM:
>=20
> On 10/04/2016 06:11 AM, Ray Cheng wrote:
> > One way to accomplish this in the protocol is to simply add a "ca-
> extension" object to the registration object, where the "ca-extension"
> object is an array of name-value pairs of strings. For example:
> I think this makes a lot of sense, and is in the spirit of the other
> places we've intentional left hooks for CA-specific customization, like
> OOB challenges. I'm inclined to accept it.
>=20
> Additionally, your experience as a commercial implementer of ACME may be
> valuable to spot places where the current protocol is lacking. For
> instance, you need an "account" field, and StartCom needs
> (https://github.com/ietf-wg-acme/acme/pull/172) a "token" field. Can we
> support those use cases natively in ACME so they don't need to be
> extensions? What do you put in the "account" field, and how do you
> authenticate the link between the ACME account and the Entrust account.
>=20

We are effectively using "ca-account-id" and "ca-account-secret" fields to =
authenticate the link to the Entrust account. Since these fields do not cur=
rently exist in draft-03 and certbot, we are embedding them in the URL that=
 a particular customer uses to access our ACME server.

The "external_secret"/"token" is slightly different but is also useful as a=
n "API key" type of authentication.

Although we see value in a "ca-extension" object, we also support adding ex=
plicit fields in ACME. There are some advantages to explicit fields - one i=
n particular is the special handling of designated secret fields by clients=
.

Thanks for your feedback.



From nobody Mon Oct 31 10:10:49 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: acme@ietf.org
Delivered-To: acme@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F2B41298B7; Mon, 31 Oct 2016 10:10:44 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147793384464.32398.3782044119901762918.idtracker@ietfa.amsl.com>
Date: Mon, 31 Oct 2016 10:10:44 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/YK0PehMG40N8ae6TCfEp_kTTQWY>
Cc: acme@ietf.org
Subject: [Acme] I-D Action: draft-ietf-acme-acme-04.txt
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 31 Oct 2016 17:10:45 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Automated Certificate Management Environment of the IETF.

        Title           : Automatic Certificate Management Environment (ACME)
        Authors         : Richard Barnes
                          Jacob Hoffman-Andrews
                          James Kasten
	Filename        : draft-ietf-acme-acme-04.txt
	Pages           : 67
	Date            : 2016-10-31

Abstract:
   Certificates in the Web's X.509 PKI (PKIX) are used for a number of
   purposes, the most significant of which is the authentication of
   domain names.  Thus, certificate authorities in the Web PKI are
   trusted to verify that an applicant for a certificate legitimately
   represents the domain name(s) in the certificate.  Today, this
   verification is done through a collection of ad hoc mechanisms.  This
   document describes a protocol that a certificate authority (CA) and
   an applicant can use to automate the process of verification and
   certificate issuance.  The protocol also provides facilities for
   other certificate management functions, such as certificate
   revocation.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-acme-acme/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-ietf-acme-acme-04

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-acme-acme-04


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Oct 31 10:26:08 2016
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 CA02B129954 for <acme@ietfa.amsl.com>; Mon, 31 Oct 2016 10:26:06 -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 oDcAqM5qbWax for <acme@ietfa.amsl.com>; Mon, 31 Oct 2016 10:26:04 -0700 (PDT)
Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (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 7116912996B for <acme@ietf.org>; Mon, 31 Oct 2016 10:25:50 -0700 (PDT)
Received: by mail-ua0-x22c.google.com with SMTP id b35so37792561uaa.3 for <acme@ietf.org>; Mon, 31 Oct 2016 10:25:50 -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; bh=QMyR0HtyXgmaW9mjjevgqaHf9D5s9IWbgtoysCnxRUQ=; b=1FECqsuiZyrwdBGGPnuVtm3LW/GqPK9+yxf6Y5qs4fcOQuQxaD8yXK+38owprAMfP0 qQaBYmrI0BzT/Za8wn/yFL/Kivc0Mj8oP3FumVa3OkTkAbZMNYhc9Ybh5sAndA6aMD9W i6fNUnDoo4xfcbtFEyL39fwtZt3qnwWZETfRrxYQNYXDopS+mVeH5fVSfr/buc2rcfJB +T9rVmWo2Dr2Y5KStxjuM4u64/WSbq/9FUPo8mWa0pAN1In/38nc7okBeNDxVomSUOhh 9gNcdrqrMnCJG361jrDUBoIM9FMxQDSlu3gbqzr6YvfaQXbMg9tocewdHeeW2jKvXZ1l S2+g==
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; bh=QMyR0HtyXgmaW9mjjevgqaHf9D5s9IWbgtoysCnxRUQ=; b=eGWM8W7VVY3s5BAi2luaijo4AjZDKeLMCBys0ieHhpjMsqli8NoANbWkPwbbpxM7oG Ix0TYwIwcevapZ/142ORKE7pD5bX23J+F7mvV3PS8Bb+xcJjfAaN5h1QJTlfmmuVXOF9 fmvd4PCJqVyIfrwlrWgzghWvi/95Hu2sr+cEJnFcPfye6kOpjqRpRAuu9Jq+VTbMbc3X 8UULYaq7DD5Y4AQS72A9OcEuu5HQ1sF2W1a1Zjug3eZBnmt71eWNMaUUG/ZXufbe6WF1 C8v0Y7CBizEsDLDeSvtqLxWPd460sHDOAQ6yip9VFFkcVde2s6IVlRQlqydvHUS4N3l7 84kQ==
X-Gm-Message-State: ABUngveJqTFTYmiIbTl+RRAfcsdOxlQKCMtECVMoYmde6AXwkmY/i2KLKx1vHEaHCx7h+exVvYBqNV7tTjv0VQ==
X-Received: by 10.176.5.137 with SMTP id e9mr17572813uae.109.1477934749207; Mon, 31 Oct 2016 10:25:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.41.17 with HTTP; Mon, 31 Oct 2016 10:25:48 -0700 (PDT)
In-Reply-To: <147793384464.32398.3782044119901762918.idtracker@ietfa.amsl.com>
References: <147793384464.32398.3782044119901762918.idtracker@ietfa.amsl.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 31 Oct 2016 13:25:48 -0400
Message-ID: <CAL02cgQqYjqiwXWv0pe=OK6b-AMwiH2mDtiahN7FHkdua7mqbQ@mail.gmail.com>
To: "acme@ietf.org" <acme@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c123218ba60f005402c7f8e
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/qQI0zD0bfDVBNRbPemHQLCHOJTA>
Subject: [Acme] Fwd:  I-D Action: draft-ietf-acme-acme-04.txt
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: Mon, 31 Oct 2016 17:26:07 -0000

--94eb2c123218ba60f005402c7f8e
Content-Type: text/plain; charset=UTF-8

Dear WG,

Over the past couple of days, Jacob and I got back to work on the draft,
and got a bunch of PRs tuned up and landed, and now published in this new
version.

There are three issues / PRs that we didn't feel were settled enough to
include in this round (in addition to the late-breaking #204/#205):

#170 add a special token parameter in registration
#172 Add an external secret field to registration.
#195 Combine "requirements" and "authorizations."

I think our goal through the next IETF meeting should be to drive toward
closure on these, and get any last issues on the table.  (CAs thinking
about ACME, I'm looking at you!)  If we can get that done, I'm hopeful
we'll be able to update the draft and request WGLC shortly after the IETF.

Thanks,
--Richard


## Closed

#128 Indicate ACME version in /directory (or elsewhere?)

## Merged

#159 Hard-fail on unrecognized contact URI schemes
#165 Re-add new-authz as pre-authorization
#167 Simplify terms-of-service flow.
#182 Clarify flows around agreement to terms
#183 Add 'revoked' status to registrations and use standard language
#186 Remove extraneous statuses
#190 Explicitly limit to TCP ports 80 and 443
#192 Updates Section 6.1.2 - "Registration Objects" for Applications.
#193 Specify account by kid (reg URL) rather than key.
#200 Clarify that HTTP and TLS go over ports 80 and 443
#202 Clarifies TLS port requirement for SNI challenge.
#203 Hard fail on invalid contacts


---------- Forwarded message ----------
From: <internet-drafts@ietf.org>
Date: Mon, Oct 31, 2016 at 1:10 PM
Subject: [Acme] I-D Action: draft-ietf-acme-acme-04.txt
To: i-d-announce@ietf.org
Cc: acme@ietf.org



A New Internet-Draft is available from the on-line Internet-Drafts
directories.
This draft is a work item of the Automated Certificate Management
Environment of the IETF.

        Title           : Automatic Certificate Management Environment
(ACME)
        Authors         : Richard Barnes
                          Jacob Hoffman-Andrews
                          James Kasten
        Filename        : draft-ietf-acme-acme-04.txt
        Pages           : 67
        Date            : 2016-10-31

Abstract:
   Certificates in the Web's X.509 PKI (PKIX) are used for a number of
   purposes, the most significant of which is the authentication of
   domain names.  Thus, certificate authorities in the Web PKI are
   trusted to verify that an applicant for a certificate legitimately
   represents the domain name(s) in the certificate.  Today, this
   verification is done through a collection of ad hoc mechanisms.  This
   document describes a protocol that a certificate authority (CA) and
   an applicant can use to automate the process of verification and
   certificate issuance.  The protocol also provides facilities for
   other certificate management functions, such as certificate
   revocation.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-acme-acme/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-ietf-acme-acme-04

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-acme-acme-04


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
Acme mailing list
Acme@ietf.org
https://www.ietf.org/mailman/listinfo/acme

--94eb2c123218ba60f005402c7f8e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div><div><div>Dear WG,<br><br>Over the p=
ast couple of days, Jacob and I
 got back to work on the draft, and got a bunch of PRs tuned up and=20
landed, and now published in this new version.<br></div><br></div>There=20
are three issues / PRs that we didn&#39;t feel were settled enough to=20
include in this round (in addition to the late-breaking #204/#205):<br><spa=
n class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-au=
thor-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7"></span><div id=3D"gmail-m_-64036=
69924913554343gmail-m_-1866261533230710096gmail-magicdomid572" class=3D"gma=
il-m_-6403669924913554343gmail-m_-1866261533230710096gmail-ace-line"><span =
class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-auth=
or-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7"><br>#170 add a special token param=
eter in registration</span></div><div id=3D"gmail-m_-6403669924913554343gma=
il-m_-1866261533230710096gmail-magicdomid646" class=3D"gmail-m_-64036699249=
13554343gmail-m_-1866261533230710096gmail-ace-line"><span class=3D"gmail-m_=
-6403669924913554343gmail-m_-1866261533230710096gmail-author-a-z69z5z77zz88=
zwz73zkz72zgz77z4k8us7">#172 Add an external secret field to registration.<=
/span></div><div id=3D"gmail-m_-6403669924913554343gmail-m_-186626153323071=
0096gmail-magicdomid645" class=3D"gmail-m_-6403669924913554343gmail-m_-1866=
261533230710096gmail-ace-line"><span class=3D"gmail-m_-6403669924913554343g=
mail-m_-1866261533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us=
7">#195 Combine &quot;requirements&quot; and &quot;authorizations.&quot;</s=
pan></div><br></div><div>I
 think our goal through the next IETF meeting should be to drive toward=20
closure on these, and get any last issues on the table.=C2=A0 (CAs thinking=
=20
about ACME, I&#39;m looking at you!)=C2=A0 If we can get that done, I&#39;m=
 hopeful=20
we&#39;ll be able to update the draft and request WGLC shortly after the IE=
TF.<br><br></div><div>Thanks,<br></div><div>--Richard<br></div><div><br><br=
></div>## Closed<br><div><br><span class=3D"gmail-m_-6403669924913554343gma=
il-m_-1866261533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7"=
>#128 Indicate ACME version in /directory (or elsewhere?)</span><br><br><di=
v id=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-magic=
domid427" class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096=
gmail-ace-line"><span class=3D"gmail-m_-6403669924913554343gmail-m_-1866261=
533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">## Merged</s=
pan></div><div id=3D"gmail-m_-6403669924913554343gmail-m_-18662615332307100=
96gmail-magicdomid618" class=3D"gmail-m_-6403669924913554343gmail-m_-186626=
1533230710096gmail-ace-line"><br></div><div id=3D"gmail-m_-6403669924913554=
343gmail-m_-1866261533230710096gmail-magicdomid635" class=3D"gmail-m_-64036=
69924913554343gmail-m_-1866261533230710096gmail-ace-line"><span class=3D"gm=
ail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-author-a-z69z5z=
77zz88zwz73zkz72zgz77z4k8us7">#159 Hard-fail on unrecognized contact URI sc=
hemes<br></span><span class=3D"gmail-m_-6403669924913554343gmail-m_-1866261=
533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#165 Re-add =
new-authz as pre-authorization</span></div><div id=3D"gmail-m_-640366992491=
3554343gmail-m_-1866261533230710096gmail-magicdomid641" class=3D"gmail-m_-6=
403669924913554343gmail-m_-1866261533230710096gmail-ace-line"><span class=
=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-author-a-=
z69z5z77zz88zwz73zkz72zgz77z4k8us7">#167 Simplify terms-of-service flow.</s=
pan></div><div id=3D"gmail-m_-6403669924913554343gmail-m_-18662615332307100=
96gmail-magicdomid640" class=3D"gmail-m_-6403669924913554343gmail-m_-186626=
1533230710096gmail-ace-line"><span class=3D"gmail-m_-6403669924913554343gma=
il-m_-1866261533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7"=
>#182 Clarify flows around agreement to terms</span></div><div id=3D"gmail-=
m_-6403669924913554343gmail-m_-1866261533230710096gmail-magicdomid628" clas=
s=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-ace-line=
"><span class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gm=
ail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#183 Add &#39;revoked&#39;=
 status to registrations and use standard language</span></div><div id=3D"g=
mail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-magicdomid622"=
 class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-ace=
-line"><span class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710=
096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#186 Remove extraneou=
s statuses</span></div><div id=3D"gmail-m_-6403669924913554343gmail-m_-1866=
261533230710096gmail-magicdomid380" class=3D"gmail-m_-6403669924913554343gm=
ail-m_-1866261533230710096gmail-ace-line"><span class=3D"gmail-m_-640366992=
4913554343gmail-m_-1866261533230710096gmail-author-a-z69z5z77zz88zwz73zkz72=
zgz77z4k8us7">#190 Explicitly limit to TCP ports 80 and 443</span></div><di=
v id=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-magic=
domid630" class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096=
gmail-ace-line"><span class=3D"gmail-m_-6403669924913554343gmail-m_-1866261=
533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#192 Updates=
 Section 6.1.2 - &quot;Registration Objects&quot; for Applications.</span><=
/div><div id=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gma=
il-magicdomid631" class=3D"gmail-m_-6403669924913554343gmail-m_-18662615332=
30710096gmail-ace-line"><span class=3D"gmail-m_-6403669924913554343gmail-m_=
-1866261533230710096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#193=
 Specify account by kid (reg URL) rather than key.</span></div><div id=3D"g=
mail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-magicdomid304"=
 class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-ace=
-line"><span class=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710=
096gmail-author-a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#200 Clarify that HTT=
P and TLS go over ports 80 and 443</span></div><div id=3D"gmail-m_-64036699=
24913554343gmail-m_-1866261533230710096gmail-magicdomid620" class=3D"gmail-=
m_-6403669924913554343gmail-m_-1866261533230710096gmail-ace-line"><span cla=
ss=3D"gmail-m_-6403669924913554343gmail-m_-1866261533230710096gmail-author-=
a-z69z5z77zz88zwz73zkz72zgz77z4k8us7">#202 Clarifies TLS port requirement f=
or SNI challenge.</span></div><div id=3D"gmail-m_-6403669924913554343gmail-=
m_-1866261533230710096gmail-magicdomid616" class=3D"gmail-m_-64036699249135=
54343gmail-m_-1866261533230710096gmail-ace-line"><span class=3D"gmail-m_-64=
03669924913554343gmail-m_-1866261533230710096gmail-author-a-z69z5z77zz88zwz=
73zkz72zgz77z4k8us7">#203 Hard fail on invalid contacts<br><br><br></span><=
/div></div></div><div class=3D"gmail_quote">---------- Forwarded message --=
--------<br>From: <b class=3D"gmail_sendername"></b> <span dir=3D"ltr">&lt;=
<a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a>&gt=
;</span><br>Date: Mon, Oct 31, 2016 at 1:10 PM<br>Subject: [Acme] I-D Actio=
n: draft-ietf-acme-acme-04.txt<br>To: <a href=3D"mailto:i-d-announce@ietf.o=
rg">i-d-announce@ietf.org</a><br>Cc: <a href=3D"mailto:acme@ietf.org">acme@=
ietf.org</a><br><br><br><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
This draft is a work item of the Automated Certificate Management Environme=
nt of the IETF.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 Automatic Certificate Management Environment (ACME)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Authors=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Rich=
ard Barnes<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Jacob Hoffman-Andrews<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 James Kasten<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Filename=C2=A0 =C2=A0 =C2=A0 =C2=A0 : draft-iet=
f-acme-acme-04.txt<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 67<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :=
 2016-10-31<br>
<br>
Abstract:<br>
=C2=A0 =C2=A0Certificates in the Web&#39;s X.509 PKI (PKIX) are used for a =
number of<br>
=C2=A0 =C2=A0purposes, the most significant of which is the authentication =
of<br>
=C2=A0 =C2=A0domain names.=C2=A0 Thus, certificate authorities in the Web P=
KI are<br>
=C2=A0 =C2=A0trusted to verify that an applicant for a certificate legitima=
tely<br>
=C2=A0 =C2=A0represents the domain name(s) in the certificate.=C2=A0 Today,=
 this<br>
=C2=A0 =C2=A0verification is done through a collection of ad hoc mechanisms=
.=C2=A0 This<br>
=C2=A0 =C2=A0document describes a protocol that a certificate authority (CA=
) and<br>
=C2=A0 =C2=A0an applicant can use to automate the process of verification a=
nd<br>
=C2=A0 =C2=A0certificate issuance.=C2=A0 The protocol also provides facilit=
ies for<br>
=C2=A0 =C2=A0other certificate management functions, such as certificate<br=
>
=C2=A0 =C2=A0revocation.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-acme-acme/" rel=3D"n=
oreferrer" target=3D"_blank">https://datatracker.ietf.org/<wbr>doc/draft-ie=
tf-acme-acme/</a><br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"https://tools.ietf.org/html/draft-ietf-acme-acme-04" rel=3D"nore=
ferrer" target=3D"_blank">https://tools.ietf.org/html/<wbr>draft-ietf-acme-=
acme-04</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-acme-acme-04" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/rfcdiff?<wbr>url2=3D=
draft-ietf-acme-acme-04</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" rel=3D"noreferrer" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"noreferrer" target=
=3D"_blank">ftp://ftp.ietf.org/internet-<wbr>drafts/</a><br>
<br>
______________________________<wbr>_________________<br>
Acme mailing list<br>
<a href=3D"mailto:Acme@ietf.org">Acme@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/acme" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/acme</a><br>
</div><br></div>

--94eb2c123218ba60f005402c7f8e--


From nobody Mon Oct 31 11:48:00 2016
Return-Path: <frederic.fieau@orange.com>
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 8E3D11299C2 for <acme@ietfa.amsl.com>; Mon, 31 Oct 2016 11:47:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.619
X-Spam-Level: 
X-Spam-Status: No, score=-2.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 rZW-OdD2lFZs for <acme@ietfa.amsl.com>; Mon, 31 Oct 2016 11:47:56 -0700 (PDT)
Received: from relais-inet.francetelecom.com (relais-ias91.francetelecom.com [193.251.215.91]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FC09129A25 for <acme@ietf.org>; Mon, 31 Oct 2016 11:47:47 -0700 (PDT)
Received: from omfedm08.si.francetelecom.fr (unknown [xx.xx.xx.4]) by omfedm10.si.francetelecom.fr (ESMTP service) with ESMTP id C9E5C264640; Mon, 31 Oct 2016 19:47:45 +0100 (CET)
Received: from Exchangemail-eme2.itn.ftgroup (unknown [10.114.31.59]) by omfedm08.si.francetelecom.fr (ESMTP service) with ESMTP id A988623805E; Mon, 31 Oct 2016 19:47:45 +0100 (CET)
Received: from OPEXCLILMA1.corporate.adroot.infra.ftgroup ([fe80::95e2:eb4b:3053:fabf]) by OPEXCLILM43.corporate.adroot.infra.ftgroup ([fe80::ec23:902:c31f:731c%19]) with mapi id 14.03.0319.002; Mon, 31 Oct 2016 19:47:43 +0100
From: <frederic.fieau@orange.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: New Version Notification for draft-fieau-cdni-https-delegation-00.txt
Thread-Index: AQHSM6ZdHIm/6mnmSUWXHPn/B8WM36DC5ZsAgAABd9A=
Date: Mon, 31 Oct 2016 18:47:42 +0000
Message-ID: <12225_1477939665_581791D1_12225_341_1_08936c8a-738f-4438-b6d8-264a750f9418@OPEXCLILM43.corporate.adroot.infra.ftgroup>
References: <147793927334.23317.17375833425140956435.idtracker@ietfa.amsl.com> 
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.168.234.3]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-PMX-Version: 6.2.1.2478543, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2016.6.17.114517
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/qFoFJRWOnCLyywEjO-te9nnsmRw>
Cc: "Mishra, Sanjay \(sanjay.mishra@verizon.com\)" <sanjay.mishra@verizon.com>, STEPHAN Emile IMT/OLN <emile.stephan@orange.com>
Subject: [Acme] TR: New Version Notification for draft-fieau-cdni-https-delegation-00.txt
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: Mon, 31 Oct 2016 18:47:58 -0000

SGkgQWxsLA0KDQpKdXN0IHBvc3RlZCBhIG5ldyBkcmFmdCBoaWdobGlnaHRpbmcgT3V0LW9mLUJh
bmQgInJlZGlyZWN0aW9uIiwgU3ViQ2VydHMgYW5kIFNob3J0LUxpdmVkIGNlcnRzIGFwcHJvYWNo
ZXMgZm9yIEhUVFBTIGRlbGVnYXRpb24gaW4gQ0ROSS4NCkZlZWwgZnJlZSB0byBjb21tZW50Lg0K
DQpCZXN0IHJlZ2FyZHMsDQpGcsOpZMOpcmljDQoNCi0tLS0tTWVzc2FnZSBkJ29yaWdpbmUtLS0t
LQ0KRGXCoDogaW50ZXJuZXQtZHJhZnRzQGlldGYub3JnIFttYWlsdG86aW50ZXJuZXQtZHJhZnRz
QGlldGYub3JnXSBFbnZvecOpwqA6IGx1bmRpIDMxIG9jdG9icmUgMjAxNiAxOTo0MSDDgMKgOiBG
SUVBVSBGcsOpZMOpcmljIElNVC9PTE47IFNURVBIQU4gRW1pbGUgSU1UL09MTjsgU1RFUEhBTiBF
bWlsZSBJTVQvT0xOOyBTYW5qYXkgTWlzaHJhIE9iamV0wqA6IE5ldyBWZXJzaW9uIE5vdGlmaWNh
dGlvbiBmb3IgZHJhZnQtZmllYXUtY2RuaS1odHRwcy1kZWxlZ2F0aW9uLTAwLnR4dA0KDQoNCkEg
bmV3IHZlcnNpb24gb2YgSS1ELCBkcmFmdC1maWVhdS1jZG5pLWh0dHBzLWRlbGVnYXRpb24tMDAu
dHh0DQpoYXMgYmVlbiBzdWNjZXNzZnVsbHkgc3VibWl0dGVkIGJ5IEZyZWRlcmljIEZpZWF1IGFu
ZCBwb3N0ZWQgdG8gdGhlIElFVEYgcmVwb3NpdG9yeS4NCg0KTmFtZToJCWRyYWZ0LWZpZWF1LWNk
bmktaHR0cHMtZGVsZWdhdGlvbg0KUmV2aXNpb246CTAwDQpUaXRsZToJCUhUVFBTIGRlbGVnYXRp
b24gaW4gQ0ROSQ0KRG9jdW1lbnQgZGF0ZToJMjAxNi0xMC0zMQ0KR3JvdXA6CQlJbmRpdmlkdWFs
IFN1Ym1pc3Npb24NClBhZ2VzOgkJMTgNClVSTDogICAgICAgICAgICBodHRwczovL3d3dy5pZXRm
Lm9yZy9pbnRlcm5ldC1kcmFmdHMvZHJhZnQtZmllYXUtY2RuaS1odHRwcy1kZWxlZ2F0aW9uLTAw
LnR4dA0KU3RhdHVzOiAgICAgICAgIGh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2Ry
YWZ0LWZpZWF1LWNkbmktaHR0cHMtZGVsZWdhdGlvbi8NCkh0bWxpemVkOiAgICAgICBodHRwczov
L3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtZmllYXUtY2RuaS1odHRwcy1kZWxlZ2F0aW9uLTAw
DQoNCg0KQWJzdHJhY3Q6DQogICBUaGlzIGRvY3VtZW50IGV4YW1pbmVzIHByb2JhYmxlIHNvbHV0
aW9ucyBmb3IgZGVsZWdhdGluZyBvZiBlbmNyeXB0ZWQNCiAgIGNvbnRlbnQgd2l0aGluIHRoZSBj
b250ZXh0IG9mIENETiBpbnRlcmNvbm5lY3Rpb24uICBIVFRQUyBkZWxlZ2F0aW9uDQogICBhbGxv
d3MgYSBkZWxpdmVyaW5nIHBhcnR5LCBlLmcuIGEgQ0ROLCB0byBkZWxpdmVyIGNvbnRlbnQgZm9y
IGFuZCBvbi0NCiAgIGJlaGFsZiBvZiBhbiBvcmlnaW4gc2VydmVyLiAgVGhlIEhUVFBTIGRlbGVn
YXRpb24gYWxzbyBleHBlY3RzDQogICBkZWxpdmVyaW5nIGNvbnRlbnQgd2l0aG91dCBjb21wcm9t
aXNpbmcgc2VjdXJpdHksIGludGVncml0eSBhbmQNCiAgIHByaXZhY3kgb2YgdGhlIHVzZXIuICBU
aGlzIGRvY3VtZW50IGV4YW1pbmVzIEludGVybmV0IERyYWZ0cyB0aGF0DQogICBoYXZlIGJlZW4g
c3VibWl0dGVkIGFsb25nIHdpdGggdGhlaXIgaW1wbGVtZW50YXRpb24gc3RhdHVzLg0KDQogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgDQoNCg0KUGxlYXNlIG5vdGUgdGhhdCBpdCBtYXkgdGFrZSBh
IGNvdXBsZSBvZiBtaW51dGVzIGZyb20gdGhlIHRpbWUgb2Ygc3VibWlzc2lvbiB1bnRpbCB0aGUg
aHRtbGl6ZWQgdmVyc2lvbiBhbmQgZGlmZiBhcmUgYXZhaWxhYmxlIGF0IHRvb2xzLmlldGYub3Jn
Lg0KDQpUaGUgSUVURiBTZWNyZXRhcmlhdA0KDQoKX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwoKQ2UgbWVzc2FnZSBldCBzZXMg
cGllY2VzIGpvaW50ZXMgcGV1dmVudCBjb250ZW5pciBkZXMgaW5mb3JtYXRpb25zIGNvbmZpZGVu
dGllbGxlcyBvdSBwcml2aWxlZ2llZXMgZXQgbmUgZG9pdmVudCBkb25jCnBhcyBldHJlIGRpZmZ1
c2VzLCBleHBsb2l0ZXMgb3UgY29waWVzIHNhbnMgYXV0b3Jpc2F0aW9uLiBTaSB2b3VzIGF2ZXog
cmVjdSBjZSBtZXNzYWdlIHBhciBlcnJldXIsIHZldWlsbGV6IGxlIHNpZ25hbGVyCmEgbCdleHBl
ZGl0ZXVyIGV0IGxlIGRldHJ1aXJlIGFpbnNpIHF1ZSBsZXMgcGllY2VzIGpvaW50ZXMuIExlcyBt
ZXNzYWdlcyBlbGVjdHJvbmlxdWVzIGV0YW50IHN1c2NlcHRpYmxlcyBkJ2FsdGVyYXRpb24sCk9y
YW5nZSBkZWNsaW5lIHRvdXRlIHJlc3BvbnNhYmlsaXRlIHNpIGNlIG1lc3NhZ2UgYSBldGUgYWx0
ZXJlLCBkZWZvcm1lIG91IGZhbHNpZmllLiBNZXJjaS4KClRoaXMgbWVzc2FnZSBhbmQgaXRzIGF0
dGFjaG1lbnRzIG1heSBjb250YWluIGNvbmZpZGVudGlhbCBvciBwcml2aWxlZ2VkIGluZm9ybWF0
aW9uIHRoYXQgbWF5IGJlIHByb3RlY3RlZCBieSBsYXc7CnRoZXkgc2hvdWxkIG5vdCBiZSBkaXN0
cmlidXRlZCwgdXNlZCBvciBjb3BpZWQgd2l0aG91dCBhdXRob3Jpc2F0aW9uLgpJZiB5b3UgaGF2
ZSByZWNlaXZlZCB0aGlzIGVtYWlsIGluIGVycm9yLCBwbGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIg
YW5kIGRlbGV0ZSB0aGlzIG1lc3NhZ2UgYW5kIGl0cyBhdHRhY2htZW50cy4KQXMgZW1haWxzIG1h
eSBiZSBhbHRlcmVkLCBPcmFuZ2UgaXMgbm90IGxpYWJsZSBmb3IgbWVzc2FnZXMgdGhhdCBoYXZl
IGJlZW4gbW9kaWZpZWQsIGNoYW5nZWQgb3IgZmFsc2lmaWVkLgpUaGFuayB5b3UuCgo=

