
From nobody Wed Feb  3 10:12:44 2016
Return-Path: <hallam@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB4BC1B2A5C for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 10:12:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 KpUFOtIcXlOu for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 10:12:42 -0800 (PST)
Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::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 939011A802E for <acme@ietf.org>; Wed,  3 Feb 2016 10:12:41 -0800 (PST)
Received: by mail-lb0-x22b.google.com with SMTP id dx2so16950406lbd.3 for <acme@ietf.org>; Wed, 03 Feb 2016 10:12:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=i+8GMqcfpZLfPGJV4oy7NEAHUWK+UD3EVeyfplkveps=; b=pd9GsdhleOyVZG4rFEOLAfAwJ+gmlEKTyUTY70BcZxm0iCvsypvGo80cNf8VtnpKa9 tujvCaJ9ANfmZRw/YbkK/qQbZLSBzkMPEvxURdG6a/dAmQrBliMbVGRWJzU7FJT79K0b rO1SWY5NqYntU7EYjWTJcEIWEgmMLO2YDRuaAUHm2wGPCZ2TFni78yh9LAjd3srbJn0C tJZFbLIUQNhuqdKHa2EsnKaP9irpYRPWaIISya9VjrStEQ/uP8fLPbaOJU2P4386veob eR8z8FS21UyTWZlUuNLtB9E//1c1Xr0pY7g5Xn/vBSn2idR1DGS/kiBm34dTFXpuHWeq oRkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type:content-transfer-encoding; bh=i+8GMqcfpZLfPGJV4oy7NEAHUWK+UD3EVeyfplkveps=; b=SvNkNRdUNgT8bAmvZttCK62TUyvjqM9s0F+MoK8r+ra5D6dnr4CBxWQJhB97ds1lG7 xJFxwo+QyreBq+lkocw5CD2FuDwi3dsqY6qwNsguyggxqU6n6/XHQjOxBLW3+r9AcbsY 4MHJA/NsMKAN4Vs1ob500cP+VjA4fe/CM7aRQw/RlMN8NA0YARIbPUjX6evGne7moxvH BnWVHZm8vmlyIupvc0VygJlgwPna2tEjnnESpqNKuxD2OxCZyBOCSUJHliIuDrbht9Y+ GeOSXEFZX6BSwCUR3uOgOi+8OOD0YR+RMMOo0PXQswf1vHjPdtU3ehNwFkFVIb5JSh6U qbTw==
X-Gm-Message-State: AG10YOTnQoJ8NEPLLW/7wdBKyOPeM90vtUPJAH+fEnePejInKuGPFCq5OFGJb7RV/2bD7zKPkQrEGLHNckUeTg==
MIME-Version: 1.0
X-Received: by 10.112.64.5 with SMTP id k5mr1464193lbs.133.1454523159615; Wed, 03 Feb 2016 10:12:39 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.49.80 with HTTP; Wed, 3 Feb 2016 10:12:39 -0800 (PST)
Date: Wed, 3 Feb 2016 13:12:39 -0500
X-Google-Sender-Auth: vwP6bmbztQ97Y5TxMixAUpBd1Ww
Message-ID: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: "acme@ietf.org" <acme@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/7ThDRWSZdonudi8_3Mo7nTlnP6U>
Subject: [Acme] Comments on draft-ietf-acme-acme-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 18:12:43 -0000

Section 3.

ACME does not use Base64 encoding, it uses Base64url. This is the
correct choice but the document specifies this indirectly.

--- Definitions

Account Key Pair: A public key pair to authenticate certificate
management requests. An ACME server considers the holder of the
private key authorized to manage certificates for a given identifier.
A single key pair MAY be authorized for multiple identifiers.



--- Base64

" ACME messaging is based on HTTPS [RFC2818] and JSON [RFC7159]. Since
JSON is a text-based format, binary fields are Base64-encoded. For
Base64 encoding, we use the variant defined in [RFC7515]."

RFC7515 has:

 Base64url Encoding Base64 encoding using the URL- and filename-safe
character set defined in Section 5 of RFC 4648 [RFC4648], with all
trailing =E2=80=99=3D=E2=80=99 characters omitted (as permitted by Section =
3.2) and
without the inclusion of any line breaks, whitespace, or other
additional characters. Note that the base64url encoding of the empty
octet sequence is the empty string. (See Appendix C for notes on
implementing base64url encoding without padding.)

I suggest changing the text to

"ACME messaging is based on HTTPS [RFC2818] and JSON [RFC7159].

Binary fields are encoded using Base64url encoding described in
[RFC4648] Section 5, according to the profile specified in JSON Web
Signature  [RFC7515] Section 2. This encoding uses a URL safe
character set. Trailing '=3D' characters MUST be stripped."

[If it isn't a MUST strip then readers MUST accept padding so no point
talking about it.]


Section 3 is headed Terminology but actually contains normative
descriptive text. I suggest using 'Terminology and References' to make
this clear. I would also suggest that people are more used to finding
this as section 2.

It is a better way to organize though. I am changing some of my docs
to follow suit. Basically, put all the material that relates to
external dependencies in one place.

Suggest more use of subsections though, gather all the JWS stuff into
one place, all the JSON, etc.


From nobody Wed Feb  3 10:38:23 2016
Return-Path: <martin.thomson@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C9C11B2AE9 for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 10:38:21 -0800 (PST)
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
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 QzVguHuKYOGp for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 10:38:20 -0800 (PST)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001: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 361581B2AE7 for <acme@ietf.org>; Wed,  3 Feb 2016 10:38:20 -0800 (PST)
Received: by mail-io0-x236.google.com with SMTP id 9so66247118iom.1 for <acme@ietf.org>; Wed, 03 Feb 2016 10:38:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I37hXyPdslgDDSoSjoXo05FEjNLApvPZ1u0OVVPU3ew=; b=IprwXTltH3EWOay/Y+a1otCJfSwz1Om+64tiYkdIKoKL33eMLt5y7fLVAgXQrYm9mD DCRKoc1YeyS5EMD4uLrcSpM9yPaYR9ajiEBUgH5kGY9oPAfx9GOboxWAoJ84EyK3BNnk w7h0uKscBd63w2WExmLEbFeEdVrGFgGRL0S2+UKP7ylpiAxy96Ns4lpo1WBt8HrQtIX9 a1/62fikWxOVx+uKdBbHnplLp6R7Rn3MAGuwDRumVrr284pEackhieicBOzh+9kxEtda ahKjs+AZSAUo4Ps0TwlgQt+msOe4gZVxiQy19+DlTj8DrNU+NZ0S9KW38uTuucw3X+yf iqGQ==
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:date :message-id:subject:from:to:cc:content-type; bh=I37hXyPdslgDDSoSjoXo05FEjNLApvPZ1u0OVVPU3ew=; b=DeJ/ogPYvIRnB/286m5JABqDyvhj1A5ivWzSgd1sKL23PoY593cQsSDUj4/1kqqvYx HzpAenb39lzPxBgFe77pPLGA1liNsjGTXoLSJsTx8WWQXzQtssjPSVDWbGvEFPx4c4HF A0REHfjvMHjoD358jiGo1RG78YjPl3XC0qI4QaDc/FZUD/qoOFs6I2s8d821NtkhTBNa H3YrN1lbCTuiikwiLsGJZEknCF21Q7H9Ih6J0KFbHxFlZBmIwsaA02/5N+wiRHmgPqgE BU8MQ7y+UFKE/5jxzocXqApMa58vp9++sMQb0iE8bqBkIL888NdUqqc5k7v15Crs6HiG oHwA==
X-Gm-Message-State: AG10YOSLZvYW5RurCdgZQcCEyZguD79B8P4RECS40fRERc81hx3Zm3PfsB14gXaNaliSB3ioCIYFYd+Jdn39YQ==
MIME-Version: 1.0
X-Received: by 10.107.131.38 with SMTP id f38mr5208367iod.190.1454524699618; Wed, 03 Feb 2016 10:38:19 -0800 (PST)
Received: by 10.36.53.79 with HTTP; Wed, 3 Feb 2016 10:38:19 -0800 (PST)
In-Reply-To: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com>
References: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com>
Date: Thu, 4 Feb 2016 05:38:19 +1100
Message-ID: <CABkgnnXyn1nA=HNh8whskQ5No7VC9nk_2g-Xc8_rW1AggWCxAA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/DU0AFNbCG2FArHvpNMJQEQHwZ44>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Comments on draft-ietf-acme-acme-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 18:38:21 -0000

On 4 February 2016 at 05:12, Phillip Hallam-Baker <phill@hallambaker.com> wrote:
> ACME does not use Base64 encoding, it uses Base64url. This is the
> correct choice but the document specifies this indirectly.


See https://github.com/ietf-wg-acme/acme/pull/80


From nobody Wed Feb  3 11:17:29 2016
Return-Path: <hallam@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB18B1B2B7C for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 11:17:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 8zXnH_0rr-xU for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 11:17:26 -0800 (PST)
Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::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 20CD21B2B78 for <acme@ietf.org>; Wed,  3 Feb 2016 11:17:26 -0800 (PST)
Received: by mail-lf0-x233.google.com with SMTP id l143so21099608lfe.2 for <acme@ietf.org>; Wed, 03 Feb 2016 11:17:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:date:message-id:subject:from:to:content-type;  bh=6Vz391TIHaHOJgbsoM/GxdOyNIX4OlgdQHVI5JAtZns=; b=Oe8TwM+sWJcpHIdR+41E2l37DWoNosm0Bx+tT/d9px6u6yBgAUoU3xfjFVItrsa+Z7 ZSY5c0jLGgihLe2ZMHYA5Vz42c7Gs5WNFc8E/AGTge8TA+KMJDS5uZGYGAku6+ovtUbo H0A8GE32CHOegsOh3fCIsp8f5YkXMlYz6i8hSt4Rj8q/QTrD/xJnDMurE2gK6Bp5/cRP 1D4JOHrzSn+PcIZdI6yfYl5iKTSQsDT4TBg2KXsYVOikaiXMKnPalbNiyodV2LgedSHn cZlR5GZnOATcPwgGICN7L3a8kFLGM3QTbe4yBGnikLWPNkpA2WLvidsZCt+FIHhRlJtt Qp6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=6Vz391TIHaHOJgbsoM/GxdOyNIX4OlgdQHVI5JAtZns=; b=T28eg5iuI9fQKYalpS8FK2y2JAra8spgSTtkuv2URkeGYeqLKSnQ//bkKo3zdvBJ4g osK5cipA4cPmldRL7OyOQv+7dY572nKwWdyZbGAvuyuin29Uf8avrjbsXkM9IW7H2Ike uLDrr+EZKLMJUL6TqdbTtqlPNLHPXdKBtd0+rKuKpAFBI0kpBduRBjLWsC2InncEK/i5 DRyoo6uWHDJvhou5NulO6vK4L5up5kCb1/GJ50EVwHtuuO/+o6/S52BIm4Zygh2pfugw 3RLGZHG53v4JsoumsGpREAaj0FFydLI+Ne8gqoRiLjh3lVZpNxy+l2Qs4PGj034y2hE1 Wm1w==
X-Gm-Message-State: AG10YORsGXDNHB6wy49FT5YUjG5dVVpawSjKucCTIpfZaSyoImXiZvOmLkvZEIpqSBUyXhcHlpPN/1MjyvpTOw==
MIME-Version: 1.0
X-Received: by 10.25.156.198 with SMTP id f189mr1648266lfe.70.1454527044336; Wed, 03 Feb 2016 11:17:24 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.49.80 with HTTP; Wed, 3 Feb 2016 11:17:24 -0800 (PST)
Date: Wed, 3 Feb 2016 14:17:24 -0500
X-Google-Sender-Auth: BST2RtN7TOI0aeNfGFx8Qtb9LjA
Message-ID: <CAMm+LwjPUSWeFAXYdrt0RCHfHvgCuzn54iSgF+-fSKsh1QzjnA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: "acme@ietf.org" <acme@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/HfOcZyLAEFwdK1v7LdRpqN3kiX4>
Subject: [Acme] Use of CAA in ACME
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 19:17:27 -0000

I would like to propose that we use RFC6844 to allow clients to
discover the CA to direct requests to.

A DNS name MAY have multiple CAA records. Each record has a tag
specifying the purpose and a text field. So we would add in a text
field for ACME.

The simplest version would be something of the form:

example.com CAA 0 acme "comodo.com"


The typical enterprise case has the request going to an LRA because
that is where the account key pair is held and that is what did the
validation against the CA.

I am thinking through that part.


From nobody Wed Feb  3 11:55:53 2016
Return-Path: <hallam@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9D301B2C10 for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 11:55:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 GMqKdcowVNMo for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 11:55:49 -0800 (PST)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::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 03CD01B2C0F for <acme@ietf.org>; Wed,  3 Feb 2016 11:55:49 -0800 (PST)
Received: by mail-lf0-x232.google.com with SMTP id j78so21811776lfb.1 for <acme@ietf.org>; Wed, 03 Feb 2016 11:55:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=JR/4rGomhd+QqSSkuA5qXMRuocyfpPmIxnvdZ/VZXl0=; b=ZqNYA0bR1tIN2Qk/z+a4qsn7fWY6QVkLLKxWe8zDtedQ9nkKPL0iUxGuJlttEdN8DN J+GP3N2fKAmskmBzaEfaehhjOZLFqB1gnpqFFFnmAPIKOnQgC6VTdQ1Vg3TUgCL8aaEF LX/5H7UKLbI48U9tKICdgkXg0w5eCpGW5DM6KOgMO8G6+64sGcNTH2DO9IH8u5R6P6oP Sl9aI4K/cgiqsACGBtrObxGbrEuPK1EJfd04chXTOfPC2E+YzI+Q7rPx1jMUvzVrmXbB tlJK9Z3dp+tLmKpea34iyIceaYDGD8Xx6RtRe0AcdGC0YbjwUK92c1Z0jnRXmno67HYp aPuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=JR/4rGomhd+QqSSkuA5qXMRuocyfpPmIxnvdZ/VZXl0=; b=cllgphddqG461Zj762QCEohlP05fCr96NyDUqhnQ9ty71TLoyW15vwAG8PqN+Ja/E3 +vwTyYlyByyLaFw4RQ3jmbAspviwyT8KWxuwgMnS6aVw+D55InLSk+3HUpuAExUKVFWZ Lb4FNzISl7ewwT6qI+0OhTRFJmltyLtW+9BCPrnJezLRa+9TivbvYoyStMfrOzgb82nr KsBxoTYSRFQhYBMW+BtqfgE+lh1naYTHbZzQpkMcegRSX0EcYSZGJWEhzcE7ftXaprbx C8+T5MypY5Ks0310ZZMrilfpjU4Xxkso9Qb0YQIJCpOf3OBTZBeVG4gkctO/0YA2HEPQ lnDw==
X-Gm-Message-State: AG10YOQ9/rfYL9MpW5i2m6OKd9YPhZEDQVO6rJNMFaqaQXlBZOPDglg/XJlsEt59HlHwiI3zF9OaVv1jDWMXNQ==
MIME-Version: 1.0
X-Received: by 10.25.168.15 with SMTP id r15mr1432276lfe.166.1454529347208; Wed, 03 Feb 2016 11:55:47 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.49.80 with HTTP; Wed, 3 Feb 2016 11:55:46 -0800 (PST)
In-Reply-To: <CABkgnnXyn1nA=HNh8whskQ5No7VC9nk_2g-Xc8_rW1AggWCxAA@mail.gmail.com>
References: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com> <CABkgnnXyn1nA=HNh8whskQ5No7VC9nk_2g-Xc8_rW1AggWCxAA@mail.gmail.com>
Date: Wed, 3 Feb 2016 14:55:46 -0500
X-Google-Sender-Auth: u21vNz6UqLBex8FJGEGLiAjJ7EU
Message-ID: <CAMm+LwgTjWS-W+XUyjVMR3hwWDtzUVj0uTL46xGRtoV58yPftg@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/hLmlH1lEEQ2GgkhgDnl5bbhhNXQ>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Comments on draft-ietf-acme-acme-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 19:55:50 -0000

I think Terminology and Dependencies should also have a mention of
HTTP / HTTPS, also RFC3339 (time format).

What I would like to get to eventually is some external document
describing a particular style of JOSE /JSON / HTTP / TLS Web service
that can simply be referenced by a Web Service spec. This means:

* We don't keep having to write out the same thing
* We don't have slightly different versions in different specs
* This can be handled by code synthesizers and support libraries.

I did a pass on this for the Mesh:

https://tools.ietf.org/html/draft-hallambaker-json-web-service-01

So far it looks pretty similar to ACME except that I am introducing a
new JOSE serialization format as I am looking at supporting future
apps that can't tolerate the Base64url encoding of the payload (which
will likely be in GB).


In section 5, actual examples of the messages would be nice.

5.1 There is a mention of cross origin but no explanation of what is involved.

This is worrying, what use is being made of HTTP state mechanisms in
ACME? Why is cross origin relevant? So far I have not read anything
that gives a rationale.

I would prefer to decouple ACME from HTTP as far as possible. HTTP is
far to complex to be analyzed at this point. Reinventing the wheel is
precisely what to do when someone is offering you jet propelled roller
skates.

5.2

I start to get lost at this point. The "resource" values look to me
like protocol transaction requests.

I think it is important to be clear on this because at some point we
are going to want to add in request types that are expressly command
like. Commands like "Hello".

The reason I would like to have consistency across JSON/HTTP type
services is that we are going to hit a requirement for 'service
management' type functions at some point. Things like negotiating
protocol version, features, declaring end of service, transfer to
another, scheduled outages, that sort of thing.

That is a module that I would hope we could define once and then
incorporate by reference in many Web Services.


The syntax of the request is currently:

{
  "resource": "new-reg",
  "contact": [ "mailto:cert-admin@example.com", ..]
  }

Now that has all the information we want but there is no guarantee
"resource" is going to be emitted first in the serialization. That
could be a problem if you are dealing with abuse cases like very long
messages.

As a structural matter, I prefer to guarantee that the description of
the object precedes the object. So I prefer to describe 'new-reg'
object like so:

{
  "new-reg" : {
    "contact": [ "mailto:cert-admin@example.com", ..]
    }
  }

Again, this is something that doesn't make a huge deal of difference
for ACME message sizes but would be critical if you were sending a 1GB
email.

Where it does give a lot of leverage however is when you are using a
protocol synthesizer like ProtoGen. The parser knows what type of
object it is parsing when it starts on that object. That allows for a
more efficient process than having to first scan for the 'resource'
tag and then construct the object to emit.


5.6: We are going to do CFRG curves, right?


From nobody Wed Feb  3 12:07:35 2016
Return-Path: <me@kelunik.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EBB61B2C2A for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 12:07:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.027
X-Spam-Level: 
X-Spam-Status: No, score=-1.027 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001] autolearn=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 aZfkDQOIErLX for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 12:07:30 -0800 (PST)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::6]) (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 8034D1B2C1F for <acme@ietf.org>; Wed,  3 Feb 2016 12:07:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1454530048; l=9982; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=3zh84+SA1bDZCQ/gc9fMyuvWPulCMSx2hP2jIs9Dfdg=; b=TR1samu6BArIg0+ndM3Gs6cJ6YWUk8EaYTLrX+5Ow9OVzirNYhfHamxS7MNzdtSWAyv i5qwZBoraKeLVwrAemOxoc0rfe7/qy4Xe+sqUJUzCKR/AZNxwYL+oOG6pnn73bQrenfaK Bo3rpfCCgEQNZMaAZ2Q+dWWHEPwuK3STUGE=
X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtOnA6
X-RZG-CLASS-ID: mo00
Received: from mail-wm0-f53.google.com ([74.125.82.53]) by smtp.strato.de (RZmta 37.17 AUTH) with ESMTPSA id C05f5as13K7S9cU (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for <acme@ietf.org>; Wed, 3 Feb 2016 21:07:28 +0100 (CET)
Received: by mail-wm0-f53.google.com with SMTP id l66so87320616wml.0 for <acme@ietf.org>; Wed, 03 Feb 2016 12:07:28 -0800 (PST)
X-Gm-Message-State: AG10YOStBK0LwOkVz8eQXjwiNJEk4y1eTYUkGAeLR1OnmjyF42YmYRB2T5xQSz0evpxNStvZX3OAv+J+Akr+Ng==
MIME-Version: 1.0
X-Received: by 10.28.101.131 with SMTP id z125mr25300858wmb.60.1454530048078;  Wed, 03 Feb 2016 12:07:28 -0800 (PST)
Received: by 10.194.78.133 with HTTP; Wed, 3 Feb 2016 12:07:28 -0800 (PST)
In-Reply-To: <CAMm+LwgTjWS-W+XUyjVMR3hwWDtzUVj0uTL46xGRtoV58yPftg@mail.gmail.com>
References: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com> <CABkgnnXyn1nA=HNh8whskQ5No7VC9nk_2g-Xc8_rW1AggWCxAA@mail.gmail.com> <CAMm+LwgTjWS-W+XUyjVMR3hwWDtzUVj0uTL46xGRtoV58yPftg@mail.gmail.com>
Date: Wed, 3 Feb 2016 21:07:28 +0100
X-Gmail-Original-Message-ID: <CANUQDCj+i2NHwJV89635fkRsa7Sb+b3KrTBQGEF9z=qimZfPdQ@mail.gmail.com>
Message-ID: <CANUQDCj+i2NHwJV89635fkRsa7Sb+b3KrTBQGEF9z=qimZfPdQ@mail.gmail.com>
From: Niklas Keller <me@kelunik.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=001a114af706d4c394052ae32af1
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/PnLokUR4KBITyDC-El6hNFYmEgk>
Cc: "acme@ietf.org" <acme@ietf.org>, Martin Thomson <martin.thomson@gmail.com>
Subject: Re: [Acme] Comments on draft-ietf-acme-acme-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 20:07:33 -0000

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

2016-02-03 20:55 GMT+01:00 Phillip Hallam-Baker <phill@hallambaker.com>:

> I think Terminology and Dependencies should also have a mention of
> HTTP / HTTPS, also RFC3339 (time format).
>
> What I would like to get to eventually is some external document
> describing a particular style of JOSE /JSON / HTTP / TLS Web service
> that can simply be referenced by a Web Service spec. This means:
>
> * We don't keep having to write out the same thing
> * We don't have slightly different versions in different specs
> * This can be handled by code synthesizers and support libraries.
>
> I did a pass on this for the Mesh:
>
> https://tools.ietf.org/html/draft-hallambaker-json-web-service-01
>
> So far it looks pretty similar to ACME except that I am introducing a
> new JOSE serialization format as I am looking at supporting future
> apps that can't tolerate the Base64url encoding of the payload (which
> will likely be in GB).
>
>
> In section 5, actual examples of the messages would be nice.
>
> 5.1 There is a mention of cross origin but no explanation of what is
> involved.
>
> This is worrying, what use is being made of HTTP state mechanisms in
> ACME? Why is cross origin relevant? So far I have not read anything
> that gives a rationale.
>
> I would prefer to decouple ACME from HTTP as far as possible. HTTP is
> far to complex to be analyzed at this point. Reinventing the wheel is
> precisely what to do when someone is offering you jet propelled roller
> skates.
>
> 5.2
>
> I start to get lost at this point. The "resource" values look to me
> like protocol transaction requests.
>
> I think it is important to be clear on this because at some point we
> are going to want to add in request types that are expressly command
> like. Commands like "Hello".
>
> The reason I would like to have consistency across JSON/HTTP type
> services is that we are going to hit a requirement for 'service
> management' type functions at some point. Things like negotiating
> protocol version, features, declaring end of service, transfer to
> another, scheduled outages, that sort of thing.
>
> That is a module that I would hope we could define once and then
> incorporate by reference in many Web Services.
>
>
> The syntax of the request is currently:
>
> {
>   "resource": "new-reg",
>   "contact": [ "mailto:cert-admin@example.com", ..]
>   }
>
> Now that has all the information we want but there is no guarantee
> "resource" is going to be emitted first in the serialization. That
> could be a problem if you are dealing with abuse cases like very long
> messages.
>

And hopefully there will never be such a restriction. The order shouldn't
matter in any JSON representation. It does already matter in key
authorization hashes. I think if it matters, no JSON should be used.


> As a structural matter, I prefer to guarantee that the description of
> the object precedes the object. So I prefer to describe 'new-reg'
> object like so:
>

The description is just a protection. The server accepting the request
should already know what to expect based on the URI and header values.


> {
>   "new-reg" : {
>     "contact": [ "mailto:cert-admin@example.com", ..]
>     }
>   }
>
> Again, this is something that doesn't make a huge deal of difference
> for ACME message sizes but would be critical if you were sending a 1GB
> email.
>

We don't have large payloads in ACME and having to care about order makes
ACME harder to implement.


> Where it does give a lot of leverage however is when you are using a
> protocol synthesizer like ProtoGen. The parser knows what type of
> object it is parsing when it starts on that object. That allows for a
> more efficient process than having to first scan for the 'resource'
> tag and then construct the object to emit.
>
>
> 5.6: We are going to do CFRG curves, right?
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-02-03 20:55 GMT+01:00 Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a href=
=3D"mailto:phill@hallambaker.com" target=3D"_blank">phill@hallambaker.com</=
a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">I think Terminology and De=
pendencies should also have a mention of<br>
HTTP / HTTPS, also RFC3339 (time format).<br>
<br>
What I would like to get to eventually is some external document<br>
describing a particular style of JOSE /JSON / HTTP / TLS Web service<br>
that can simply be referenced by a Web Service spec. This means:<br>
<br>
* We don&#39;t keep having to write out the same thing<br>
* We don&#39;t have slightly different versions in different specs<br>
* This can be handled by code synthesizers and support libraries.<br>
<br>
I did a pass on this for the Mesh:<br>
<br>
<a href=3D"https://tools.ietf.org/html/draft-hallambaker-json-web-service-0=
1" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html/draft-h=
allambaker-json-web-service-01</a><br>
<br>
So far it looks pretty similar to ACME except that I am introducing a<br>
new JOSE serialization format as I am looking at supporting future<br>
apps that can&#39;t tolerate the Base64url encoding of the payload (which<b=
r>
will likely be in GB).<br>
<br>
<br>
In section 5, actual examples of the messages would be nice.<br>
<br>
5.1 There is a mention of cross origin but no explanation of what is involv=
ed.<br>
<br>
This is worrying, what use is being made of HTTP state mechanisms in<br>
ACME? Why is cross origin relevant? So far I have not read anything<br>
that gives a rationale.<br>
<br>
I would prefer to decouple ACME from HTTP as far as possible. HTTP is<br>
far to complex to be analyzed at this point. Reinventing the wheel is<br>
precisely what to do when someone is offering you jet propelled roller<br>
skates.<br>
<br>
5.2<br>
<br>
I start to get lost at this point. The &quot;resource&quot; values look to =
me<br>
like protocol transaction requests.<br>
<br>
I think it is important to be clear on this because at some point we<br>
are going to want to add in request types that are expressly command<br>
like. Commands like &quot;Hello&quot;.<br>
<br>
The reason I would like to have consistency across JSON/HTTP type<br>
services is that we are going to hit a requirement for &#39;service<br>
management&#39; type functions at some point. Things like negotiating<br>
protocol version, features, declaring end of service, transfer to<br>
another, scheduled outages, that sort of thing.<br>
<br>
That is a module that I would hope we could define once and then<br>
incorporate by reference in many Web Services.<br>
<br>
<br>
The syntax of the request is currently:<br>
<br>
{<br>
=C2=A0 &quot;resource&quot;: &quot;new-reg&quot;,<br>
=C2=A0 &quot;contact&quot;: [ &quot;mailto:<a href=3D"mailto:cert-admin@exa=
mple.com">cert-admin@example.com</a>&quot;, ..]<br>
=C2=A0 }<br>
<br>
Now that has all the information we want but there is no guarantee<br>
&quot;resource&quot; is going to be emitted first in the serialization. Tha=
t<br>
could be a problem if you are dealing with abuse cases like very long<br>
messages.<br></blockquote><div><br></div><div>And hopefully there will neve=
r be such a restriction. The order shouldn&#39;t matter in any JSON represe=
ntation. It does already matter in key authorization hashes. I think if it =
matters, no JSON should be used.</div><div>=C2=A0</div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
As a structural matter, I prefer to guarantee that the description of<br>
the object precedes the object. So I prefer to describe &#39;new-reg&#39;<b=
r>
object like so:<br></blockquote><div><br></div><div>The description is just=
 a protection. The server accepting the request should already know what to=
 expect based on the URI and header values.</div><div>=C2=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">
{<br>
=C2=A0 &quot;new-reg&quot; : {<br>
=C2=A0 =C2=A0 &quot;contact&quot;: [ &quot;mailto:<a href=3D"mailto:cert-ad=
min@example.com">cert-admin@example.com</a>&quot;, ..]<br>
=C2=A0 =C2=A0 }<br>
=C2=A0 }<br>
<br>
Again, this is something that doesn&#39;t make a huge deal of difference<br=
>
for ACME message sizes but would be critical if you were sending a 1GB<br>
email.<br></blockquote><div><br></div><div>We don&#39;t have large payloads=
 in ACME and having to care about order makes ACME harder to implement.</di=
v><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Where it does give a lot of leverage however is when you are using a<br>
protocol synthesizer like ProtoGen. The parser knows what type of<br>
object it is parsing when it starts on that object. That allows for a<br>
more efficient process than having to first scan for the &#39;resource&#39;=
<br>
tag and then construct the object to emit.<br>
<br>
<br>
5.6: We are going to do CFRG curves, right?<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<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/listinfo/acme</a><br>
</div></div></blockquote></div><br></div></div>

--001a114af706d4c394052ae32af1--


From nobody Wed Feb  3 12:42:59 2016
Return-Path: <rlb@ipv.sx>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83D9F1B2C9D for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 12:42:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001] autolearn=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 N2uuGVUtomaf for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 12:42:57 -0800 (PST)
Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (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 C99231B2C9B for <acme@ietf.org>; Wed,  3 Feb 2016 12:42:56 -0800 (PST)
Received: by mail-vk0-x22d.google.com with SMTP id n1so23391777vkb.3 for <acme@ietf.org>; Wed, 03 Feb 2016 12:42:56 -0800 (PST)
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:date:message-id:subject:from:to :cc:content-type; bh=rcIstH2D+0mI5GvqBWkqQMiOsk1jyCl6L2qg1kdO5eA=; b=GdDecDSh+XQsC82cIMzWCeGkxNF2gKmcp3w5W24ei3J13nOBTTycTNidbHHdp4N65h rulJ5By2oM97dlotjzbKB61J5ue1eN0MClktO0wN896/K/6pO1hW8OSjvNwLdEeqAt2y ld3hsRGtXDCar3GxK0Isr4+jJpYBquj3k9b2zY6+JjFC+hQ06bCqp1IIwFuGFNbEPvtC IIXvnjpeolONtK+MEAf3bVrrykJHcYz99LdiMcBLE89L59T9w+64h1BYI9cl9LlrWWBO hsQ4fdUJjYOMmAEa+H+8xMFOBsqS6DsxXiJgn8xHmqyYoDVe9eEmAVApgzx4DIy2BoJP 8GBA==
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:date :message-id:subject:from:to:cc:content-type; bh=rcIstH2D+0mI5GvqBWkqQMiOsk1jyCl6L2qg1kdO5eA=; b=DHaWnxXz8Y9oo7/zOC9Xf83S3EELJSLuCQiRTwo1ydD99HJbLGCGClLsw5ZkVzjZag JDkAdUpD7g8V52/LH+v4UZPIuduTlavHaJfzmhw3x2crV3VitpUTaPF1rdWLF5Fwd2VO Y/TJ3EHrIpUyITWR2bhUPsJZGNFj1p90o+7FL7n/FaPxpJKuUAqhnbB3xkTTgzr0SGNh oQAu4gYk7AdAz49b8xO9waaacTW1BVV8N8zWvMGDmiGSWuMxK8M58U/m8CDhbk9MnNwc h7WFXKO3CbfnQCTPq24cwZujQBugNBOJNgFMBTMutdPRzSApJELPLZbuC23YBcokHoSX 3iFQ==
X-Gm-Message-State: AG10YOQ6BY72mEP3Fy3BBp+WDmz8tHXV1iMrGgGttHZssOYNAiMZ8uF7iIlUyhIVxqdSRV1pUrZwiml2vCnySA==
MIME-Version: 1.0
X-Received: by 10.31.107.194 with SMTP id k63mr2626633vki.27.1454532175854; Wed, 03 Feb 2016 12:42:55 -0800 (PST)
Received: by 10.31.151.85 with HTTP; Wed, 3 Feb 2016 12:42:55 -0800 (PST)
In-Reply-To: <CAMm+LwjPUSWeFAXYdrt0RCHfHvgCuzn54iSgF+-fSKsh1QzjnA@mail.gmail.com>
References: <CAMm+LwjPUSWeFAXYdrt0RCHfHvgCuzn54iSgF+-fSKsh1QzjnA@mail.gmail.com>
Date: Wed, 3 Feb 2016 15:42:55 -0500
Message-ID: <CAL02cgSt4Bv2LMkuMmkx7ybzJ_z6upC2Wzry84PaT2MipXJrNg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=001a114786c2a81262052ae3a9d6
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/Tk41kG51bhGpAxIqxMHyeD9O4sU>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Use of CAA in ACME
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 20:42:58 -0000

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

This seems like a fine idea.  You would need either a way to map from
domain names to ACME server URLs, or a new CAA record type to hold the
URL.  I would honestly kind of prefer the former, to avoid confusion.

I would also like to have a CAA record type for authorizing validation
methods, so that a domain holder can request that CAs only use certain
validation methods, regardless of what the ACME client requests.

Both of these ideas are good targets for a separate spec, since it's pretty
well decoupled from ACME itself.

On Wed, Feb 3, 2016 at 2:17 PM, Phillip Hallam-Baker <phill@hallambaker.com>
wrote:

> I would like to propose that we use RFC6844 to allow clients to
> discover the CA to direct requests to.
>
> A DNS name MAY have multiple CAA records. Each record has a tag
> specifying the purpose and a text field. So we would add in a text
> field for ACME.
>
> The simplest version would be something of the form:
>
> example.com CAA 0 acme "comodo.com"
>
>
> The typical enterprise case has the request going to an LRA because
> that is where the account key pair is held and that is what did the
> validation against the CA.
>
> I am thinking through that part.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>

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

<div dir=3D"ltr"><div><div>This seems like a fine idea.=C2=A0 You would nee=
d either a way to map from domain names to ACME server URLs, or a new CAA r=
ecord type to hold the URL.=C2=A0 I would honestly kind of prefer the forme=
r, to avoid confusion.<br><br></div>I would also like to have a CAA record =
type for authorizing validation methods, so that a domain holder can reques=
t that CAs only use certain validation methods, regardless of what the ACME=
 client requests.<br><br></div>Both of these ideas are good targets for a s=
eparate spec, since it&#39;s pretty well decoupled from ACME itself.<br></d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Feb 3,=
 2016 at 2:17 PM, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:phill@hallambaker.com" target=3D"_blank">phill@hallambaker.com</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">I would like to propose tha=
t we use RFC6844 to allow clients to<br>
discover the CA to direct requests to.<br>
<br>
A DNS name MAY have multiple CAA records. Each record has a tag<br>
specifying the purpose and a text field. So we would add in a text<br>
field for ACME.<br>
<br>
The simplest version would be something of the form:<br>
<br>
<a href=3D"http://example.com" rel=3D"noreferrer" target=3D"_blank">example=
.com</a> CAA 0 acme &quot;<a href=3D"http://comodo.com" rel=3D"noreferrer" =
target=3D"_blank">comodo.com</a>&quot;<br>
<br>
<br>
The typical enterprise case has the request going to an LRA because<br>
that is where the account key pair is held and that is what did the<br>
validation against the CA.<br>
<br>
I am thinking through that part.<br>
<br>
_______________________________________________<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/listinfo/acme</a><br>
</blockquote></div><br></div>

--001a114786c2a81262052ae3a9d6--


From nobody Wed Feb  3 12:48:59 2016
Return-Path: <hallam@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E17A1B2CA5 for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 12:48:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 F8xmXV2AeFwr for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 12:48:56 -0800 (PST)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::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 07CE71B2C9B for <acme@ietf.org>; Wed,  3 Feb 2016 12:48:56 -0800 (PST)
Received: by mail-lf0-x230.google.com with SMTP id j78so22741000lfb.1 for <acme@ietf.org>; Wed, 03 Feb 2016 12:48:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=c+47KLqK5sQDtDJOoYE5eclqrZo2KAb5wlKvrjMDDxE=; b=L6pJmldMws9uX+gBkhsJ8KmsnNQV0YhT7+bKzgj1uUFQEvTHKR9U5aA9CrcCMG0kYg unEi5/ETOiMtlbD+SgsSXc236XpOGdowLoVgNOnLisBU57hqLIhfygWffhSMSPu8lnqv FDhlO+iGP2qvX+iJzplDB3hE23LqiA/S0tYN7Xl/K1DAX6zsD2k6fDcxQiygtyCihGNs ihnK8TVNE3iQECrG2pxMUjxelwgrcKAIv3GIols2S0ti42NoIinFn00rOdQtCLj6Fa1z o091JKDC0DgCfQhmuke3QnxrDXa66cWQ7C88fUF12kqemyFVbucHyMagB3FCYzSlh48i SmEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=c+47KLqK5sQDtDJOoYE5eclqrZo2KAb5wlKvrjMDDxE=; b=d9mrROVKscuFc8S4Xgj3NoPkt7n6GvyWYS5R7kE8ADk6TKFJkiLYXb4XW+6Oj8ADxX 22KdEJX92KuzIHCRzvIGdSngs+KuY5qTC5sp1Jho1rguqA6oPbAnetKOcgRTkC+v42wk smioAn3hCpflFXm9cB0S1RVP4zPpwPjKxLDc6axDqrkt3kmEZOFb4GqDeDvR8d8Rs1sU K/GX32oyeuK4n2qI5ZpJHd0PaWK3Zua+vwhcT7Vr6uo1KuIYP+Xc6eyc6A7qnC2ATZuU 2MtcOSJ44lehYfalt7UoZjT4jR3/hnUO/gYb9ccIGN34SSbYHqc6TJvviaK8NdROFgqc 7GXg==
X-Gm-Message-State: AG10YOTzEvUalHdVHkOwoBbz6JarWlZLFny9rvRb/6bXhFErkao/bL7xBzc8rlBGe60BAixgQysEC/X8++fFdw==
MIME-Version: 1.0
X-Received: by 10.25.163.76 with SMTP id m73mr1540254lfe.39.1454532534186; Wed, 03 Feb 2016 12:48:54 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.49.80 with HTTP; Wed, 3 Feb 2016 12:48:54 -0800 (PST)
In-Reply-To: <CANUQDCj+i2NHwJV89635fkRsa7Sb+b3KrTBQGEF9z=qimZfPdQ@mail.gmail.com>
References: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com> <CABkgnnXyn1nA=HNh8whskQ5No7VC9nk_2g-Xc8_rW1AggWCxAA@mail.gmail.com> <CAMm+LwgTjWS-W+XUyjVMR3hwWDtzUVj0uTL46xGRtoV58yPftg@mail.gmail.com> <CANUQDCj+i2NHwJV89635fkRsa7Sb+b3KrTBQGEF9z=qimZfPdQ@mail.gmail.com>
Date: Wed, 3 Feb 2016 15:48:54 -0500
X-Google-Sender-Auth: GLUHTyYfoeEzA96dadkUNjj3jQk
Message-ID: <CAMm+LwimsgTSvXCwcpT53q+Bcux7pr2fSxXHf-gRhZ34HOk40A@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Niklas Keller <me@kelunik.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/FZL4RSOwZR97PWiamSyXubLAR-k>
Cc: "acme@ietf.org" <acme@ietf.org>, Martin Thomson <martin.thomson@gmail.com>
Subject: Re: [Acme] Comments on draft-ietf-acme-acme-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Feb 2016 20:48:57 -0000

On Wed, Feb 3, 2016 at 3:07 PM, Niklas Keller <me@kelunik.com> wrote:
> 2016-02-03 20:55 GMT+01:00 Phillip Hallam-Baker <phill@hallambaker.com>:

>> The syntax of the request is currently:
>>
>> {
>>   "resource": "new-reg",
>>   "contact": [ "mailto:cert-admin@example.com", ..]
>>   }
>>
>> Now that has all the information we want but there is no guarantee
>> "resource" is going to be emitted first in the serialization. That
>> could be a problem if you are dealing with abuse cases like very long
>> messages.
>
>
> And hopefully there will never be such a restriction. The order shouldn't
> matter in any JSON representation. It does already matter in key
> authorization hashes. I think if it matters, no JSON should be used.

There cannot be a restriction on the order of tags inside a JSON
object and it still be JSON. That is XML Schema nonsense we have left
behind.


>> As a structural matter, I prefer to guarantee that the description of
>> the object precedes the object. So I prefer to describe 'new-reg'
>> object like so:
>
>
> The description is just a protection. The server accepting the request
> should already know what to expect based on the URI and header values.

Assuming that we are going to be wedded to HTTP forever.

I don't think that is a very good plan. I am very much a HTTP
supporter, I worked on HTTP/1.0. But it is a protocol that is designed
to support Web Browsers, not Web Services.

As we get into Internet of Things we are going to want to register for
certificates on devices that have JSON serialization but not TCP/IP,
let alone HTTP.

There should be a clean separation between the application and the
transport/presentation layer.



>>
>> {
>>   "new-reg" : {
>>     "contact": [ "mailto:cert-admin@example.com", ..]
>>     }
>>   }
>>
>> Again, this is something that doesn't make a huge deal of difference
>> for ACME message sizes but would be critical if you were sending a 1GB
>> email.
>
>
> We don't have large payloads in ACME and having to care about order makes
> ACME harder to implement.

My point was that we don't have to worry about order if we do nesting
instead. ACME already has nested objects.

The structure I am proposing is:

{ <Request-Name>  :  { <Request-Data> } }

That will ensure that <Request-Name> is always emitted first as a
matter of course. It is also slightly shorter and avoids the need to
create a reserved name for the resource type.


From nobody Wed Feb  3 19:15:13 2016
Return-Path: <hlandau@devever.net>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 640751B38EE for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 19:15:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.601
X-Spam-Level: 
X-Spam-Status: No, score=-0.601 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, TVD_PH_BODY_ACCOUNTS_PRE=0.001] autolearn=ham
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 bbhndTLn9fdS for <acme@ietfa.amsl.com>; Wed,  3 Feb 2016 19:15:10 -0800 (PST)
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 00C951B38EC for <acme@ietf.org>; Wed,  3 Feb 2016 19:15:09 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 0F4D11C60F; Thu,  4 Feb 2016 04:15:08 +0100 (CET)
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=1454555707; x=1472745068; bh=+AM9REM6MiHSMNcAV82fSp/HzkYiMGo05CLf1E2AhBQ=; b= bqRujQ5FIIb7QXolp/973/03S3Vq5HKIQGMH7DTQxWaFismOCbiua73mZDnQ08Wf 4PEOH8VlDL5+j+fThg5bDM7fDqsTEJKB1QssMGI8fScS9BW6c1t2oORwyPyWRwXT QpzXVIlclPXXJBY5TAeJZ0S3zbC2FQGA8akBLovjBYmShexa9gFK//MxPQ9hjerj fxKqu1zeIkSobFOv8h4t3TtmFo3qevdVlbvbkxXSYlKbUoahFRlxGzug4mXUE/vW 41rIKdL6a85AwzotRrr+ASX8GQomlrT8GerYrj+2Lh0x/NCiJq6VA2cBt3IgfgOi xXUPo1aUQUHgxs2F3dBETw==
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 vxNFlk7geN8Q; Thu,  4 Feb 2016 04:15:07 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id C9C1F1C60D; Thu,  4 Feb 2016 04:15:07 +0100 (CET)
Date: Thu, 4 Feb 2016 03:15:07 +0000
From: Hugo Landau <hlandau@devever.net>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Message-ID: <20160204031507.GA13965@andover>
References: <CAMm+LwjPUSWeFAXYdrt0RCHfHvgCuzn54iSgF+-fSKsh1QzjnA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+LwjPUSWeFAXYdrt0RCHfHvgCuzn54iSgF+-fSKsh1QzjnA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/zEO4RA9aPe6uKb4yzT6rWMlNl84>
Cc: acme@ietf.org
Subject: Re: [Acme] Use of CAA in ACME
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 04 Feb 2016 03:15:12 -0000

So here's a list of issues to be satisfied for CAA:

1. Maybe say that ACME CAs SHOULD use CAA.

2. Provide a standardized ACME account key binding parameter for CAA records.

3. Allow discovery of the correct ACME CA 'issuer' value from an ACME
   directory URL.

4. If we suppose that the CAB Forum determination that challenges
   should be nondeterministic might someday get overturned, there are
   various ways issuance could be authorized via DNS.  One is using CAA.
   Due to the nature of CAA, this would authorize an account key thumbprint
   for an entire domain hierarchy.

   My main reservation about this approach is that it changes the CAA
   semantics from being necessary to sufficient. I can't immediately
   see any issue with this, but it seems like a substantial change, and
   to some extent is an 'overloading' of the CAA record.

   Another possibility is modifying dns-01 to be deterministic, or doing
   things with DANE, however this would only apply to a single name.

5. If I think I am understanding this right, the idea is that an
   enterprise runs its own ACME server which essentially proxies requests
   to the real ACME server.

   I really don't think the CAA record is the right place for this. The
   CAA record is a means of communication from a domain to CA, not from
   a domain to its subsidiary components.

   I think what you are essentially saying is that ACME clients might
   be modified so that they use either a configured or autodiscovered
   organizationally specific directory URL.

   You could reuse the CAA discovery rules of finding the nearest CAA
   record in the tree, only for something like this:

   _acme-server.example.com. IN TXT "https://foo.example.com/directory"

   Whether or not CAA is used, a directory URL should be used and not
   a domain name. Note that the "domain; params" syntax applies only
   to the issue and issuewild tags. iodef, for example, uses an URI.

I covered #3 in PR#72.

I have an unsubmitted change here
<https://github.com/hlandauf/acme/commit/3a91fccd2fef8fc5a966beac95837500c32c2788>
which covers #1, #2 and #4. I haven't submitted it yet because I'm a bit
ambivalent about the sufficiency part. Might want to consider that
separately.

Hugo Landau

On Wed, Feb 03, 2016 at 02:17:24PM -0500, Phillip Hallam-Baker wrote:
> I would like to propose that we use RFC6844 to allow clients to
> discover the CA to direct requests to.
> 
> A DNS name MAY have multiple CAA records. Each record has a tag
> specifying the purpose and a text field. So we would add in a text
> field for ACME.
> 
> The simplest version would be something of the form:
> 
> example.com CAA 0 acme "comodo.com"
> 
> 
> The typical enterprise case has the request going to an LRA because
> that is where the account key pair is held and that is what did the
> validation against the CA.
> 
> I am thinking through that part.
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme


From nobody Thu Feb  4 11:33:58 2016
Return-Path: <jsha@eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 368B71ACE24 for <acme@ietfa.amsl.com>; Thu,  4 Feb 2016 11:33:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.003
X-Spam-Level: 
X-Spam-Status: No, score=-7.003 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.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 DtYBbh82mQ3Q for <acme@ietfa.amsl.com>; Thu,  4 Feb 2016 11:33:54 -0800 (PST)
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 55B411ACE2B for <acme@ietf.org>; Thu,  4 Feb 2016 11:33:54 -0800 (PST)
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=ZMDaXgJvzzs+wVOAQtWp9pgbU9Cpt/bjK+oBe7F1WKE=;  b=AAAaRWK8G9nhOXAyLsxvyr4LiGqVZLEKG6ekfk1zBs7ttCwc7oblybaHJVeO+dJ1lTyH9bihL3boqEuqw1cSmiwvGZ0f0HcnGq9VAqXBkqHbPtG7a5tgzylmkCFwBsjRnoIpPFx3EUiKmtN85XROSHiYN2ep8JBjhPfHenHBxXM=;
Received: ; Thu, 04 Feb 2016 11:33:53 -0800
To: Phillip Hallam-Baker <phill@hallambaker.com>, Martin Thomson <martin.thomson@gmail.com>
References: <CAMm+LwjnngkD7GTz3z3u4tjnuzDL+WGpHcpjohCxmZLoPGFuJA@mail.gmail.com> <CABkgnnXyn1nA=HNh8whskQ5No7VC9nk_2g-Xc8_rW1AggWCxAA@mail.gmail.com> <CAMm+LwgTjWS-W+XUyjVMR3hwWDtzUVj0uTL46xGRtoV58yPftg@mail.gmail.com>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <56B3A7A1.8010900@eff.org>
Date: Thu, 4 Feb 2016 11:33:53 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <CAMm+LwgTjWS-W+XUyjVMR3hwWDtzUVj0uTL46xGRtoV58yPftg@mail.gmail.com>
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: <http://mailarchive.ietf.org/arch/msg/acme/0VEPiGwo6ksWBrmAxi4AX19JgxA>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Comments on draft-ietf-acme-acme-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 04 Feb 2016 19:33:56 -0000

On 02/03/2016 11:55 AM, Phillip Hallam-Baker wrote:
> The reason I would like to have consistency across JSON/HTTP type
> services is that we are going to hit a requirement for 'service
> management' type functions at some point. Things like negotiating
> protocol version, features, declaring end of service, transfer to
> another, scheduled outages, that sort of thing.
>
> That is a module that I would hope we could define once and then
> incorporate by reference in many Web Services.
>
>
> The syntax of the request is currently:
>
> {
>   "resource": "new-reg",
>   "contact": [ "mailto:cert-admin@example.com", ..]
>   }
>
> Now that has all the information we want but there is no guarantee
> "resource" is going to be emitted first in the serialization. That
> could be a problem if you are dealing with abuse cases like very long
> messages.
>
> As a structural matter, I prefer to guarantee that the description of
> the object precedes the object. So I prefer to describe 'new-reg'
> object like so:
>
> {
>   "new-reg" : {
>     "contact": [ "mailto:cert-admin@example.com", ..]
>     }
>   }
I strongly support this. In implementing Boulder for Let's Encrypt, we
ran into a similar problem with challenge types. Since challenges are
distinguished by a "type" field within the JSON itself, we wind up
representing all challenge types as a single super-type that encompasses
all their fields, and then switching on the string value of the type
field. I'd definitely prefer to be able to keep the different types
separate, which is possible in a system like the one you propose.


From nobody Tue Feb  9 02:22:25 2016
Return-Path: <jonas@wielicki.name>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C86C1A8845 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 02:22:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham
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 vUz0Ol2CQPdC for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 02:22:23 -0800 (PST)
Received: from sol.sotecware.net (sol.sotecware.net [78.47.24.226]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D79D31A8849 for <acme@ietf.org>; Tue,  9 Feb 2016 02:22:22 -0800 (PST)
Received: from altair.sotecware.net (x4d0d56a3.dyn.telefonica.de [77.13.86.163]) by sol.sotecware.net (Postfix) with ESMTPSA id 3FAE8200096 for <acme@ietf.org>; Tue,  9 Feb 2016 10:22:19 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1455013339; bh=0PUYyfViknGDyIUd5+rC7tHmWWxWCa73yb6e0umufLY=; h=Subject:To:References:From:Date:In-Reply-To; b=fa9xGkNphBddnNIP3Y5Kxl8Pv0VAmtdKR02cRvsjBwNBFVhrRdl7uUV0KAdQtg9kN xUxy8P5zOnw8iWFuZpHVr+gbr/qH/Lh2BnysTsuiZZd1kHt2tPx4J/MY2PraOcpfvT iYEhB0oezDa3AGJHw9WtzEdnCPSA04QfNHUfX3r+N0mmWysL7vmsNta+AX1AjUjuEh bcx9si0fgWCAjwn4uXxDPzFItrUkOzt/mHSoa8lVyUImm21lV7o3/JXsIgSafdPrBn bNChlcHmui5Rr6KYmBIBfD2t3NbYby/2L2Aeujyt6xdvjLAOKFW/1Gp2Wb3dydg27s 9U/gvmF1Y+O0g==
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Jonas Wielicki <jonas@wielicki.name>
Message-ID: <56B9BDD8.9010008@wielicki.name>
Date: Tue, 9 Feb 2016 11:22:16 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/GzLAnAee6RyoAdyJC8PJkyLIZxk>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 10:22:25 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 21.01.2016 15:13, Salz, Rich wrote:
> 
>> I am not at all familiar with the processes in an IETF WG. What
>> is the way forward to get my proposal either into the protocol or
>> officially dismissed?
> 
> This is the way it works. :)  People post to the mailing list and
> there's discussion.  At some point, the chairs will see if there is
> consensus to do it.
> 
> So things are working as designed.  It's informal and a bit messy.
> 
> What might help focus discussion is if you made a pull request with
> your specific wording changes.

I gave it a shot: https://github.com/ietf-wg-acme/acme/pull/82

I will appreciate any feedback on that proposal.

best regards,
jwi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWub2+AAoJEMBiAyWXYliKdPQP/RyadYaVYunmFn9/TKelN3CO
ewdgsnbneS7KZ8TbhDEi788N9w2t1EIUBuqmEtSmUy3SYbsSg2ufVFYIGn9LSsL1
GT0XpNQ16f/+x8qgNGGSyV9ZddORo4dq20Lkf5TTvj8TTuJOzGrQWIq9tKk7/Bcf
ytXVqQpAhZd933RSRaBfFfxFv2Yq4dcq9WiccLurtmTLOXDbUXWK1Ij1WEVlMNeD
9R7V9DRDIFtItEG/6haMqzNECeFeP+GDE85JqzK03aRxjE994Rp24Cb6VnloWvxH
tFxm+olRMmB7YqyQ3+Xk0CXMHqtnqTjVQzuQaqVVrSLMXB0200okmcTzcNbLGWpk
DCzOel2iVNtRxb/R4Oaw6TAPLj7UQZQD2n2GaqJL4bJVHttsFrW8AW0PY3MWurGr
0xCyleVyGeJGcqVF6c4x25chcN35sT1uP+JoqJufomHlF5Mp7zY8r8hVPzLHic38
Ym+nPGebs35x7uKgtwyctx89v5d0NoN3HzOu0nsvDGizyLtmVxKWxUhOcsKL5rfX
N/6FdW7aCo0qqtqlSt+OYTiBAeknktG5vV6N90o5NEvv8WhOPPGSPSJ/cmwWyKlD
jymlTNu0XUIH6kq+enby1/f4cgwbC1srTAulz68SDz67B8V71EeI0O50XLV91Zq+
Qpm9rpOURUoG1KAnlDnK
=YzqS
-----END PGP SIGNATURE-----


From nobody Tue Feb  9 03:11:56 2016
Return-Path: <michael@wyraz.de>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CF781A8909 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 03:11:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001] autolearn=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 KSKVP-ZnkVxd for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 03:11:53 -0800 (PST)
Received: from mail.wyraz.de (web.wyraz.de [37.120.164.129]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0F5E1A8908 for <acme@ietf.org>; Tue,  9 Feb 2016 03:11:52 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.wyraz.de (Postfix) with ESMTP id 5B0E1A30A4 for <acme@ietf.org>; Tue,  9 Feb 2016 12:11:49 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at web.wyraz.de
Received: from mail.wyraz.de ([127.0.0.1]) by localhost (web.wyraz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MDqegBuf7y1t for <acme@ietf.org>; Tue,  9 Feb 2016 12:11:48 +0100 (CET)
Received: from [192.168.1.200] (p578521F0.dip0.t-ipconnect.de [87.133.33.240]) (Authenticated sender: michael@wyraz.de) by mail.wyraz.de (Postfix) with ESMTPSA id 7A9E8A30A3 for <acme@ietf.org>; Tue,  9 Feb 2016 12:11:48 +0100 (CET)
From: Michael Wyraz <michael@wyraz.de>
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name>
Message-ID: <56B9C974.6000700@wyraz.de>
Date: Tue, 9 Feb 2016 12:11:48 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56B9BDD8.9010008@wielicki.name>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PiiDoiVeMOH2BLfpwR4wtHOmo1smdql7P"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/YOpNQk0Uppbf0JgCWu9sbDoWJ-c>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 11:11:55 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--PiiDoiVeMOH2BLfpwR4wtHOmo1smdql7P
Content-Type: multipart/alternative;
 boundary="------------090606060504000807010004"

This is a multi-part message in MIME format.
--------------090606060504000807010004
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hello Jonas,

thank you for the proposal. I think addressing such setups is a good idea=
=2E

The solution you propose works only if dns round robin is used (i.e. all
the real server ips in A or AAAA). But there are similar setups where
the redundant servers are behind some load balancer where a completely
different ip is used. Another widely used scenario is geo-based dns. In
this case, the Acme server would only see his "nearest" ip address.

IMO a better way to support your scenario as well as those I described
above would be to check for an SRV-Record before checking A-Records.
This would be 100% compatible with existing acme http-01 clients. In
your case you would resolve the SRV record to the machine that has the
acme client running on. The acme-server would check for the SRV-Record
for an address to lookup the challenge's response at. If no SRV record
is specified, it would continue with A and AAAA records.

Kind regards,
Michael.

>
>
> On 21.01.2016 15:13, Salz, Rich wrote:
>
> >> I am not at all familiar with the processes in an IETF WG. What
> >> is the way forward to get my proposal either into the protocol or
> >> officially dismissed?
>
> > This is the way it works. :)  People post to the mailing list and
> > there's discussion.  At some point, the chairs will see if there is
> > consensus to do it.
>
> > So things are working as designed.  It's informal and a bit messy.
>
> > What might help focus discussion is if you made a pull request with
> > your specific wording changes.
>
> I gave it a shot: https://github.com/ietf-wg-acme/acme/pull/82
>
> I will appreciate any feedback on that proposal.
>
> best regards,
> jwi
> > _______________________________________________ > Acme mailing list >=

Acme@ietf.org > https://www.ietf.org/mailman/listinfo/acme



--------------090606060504000807010004
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    Hello Jonas,<br>
    <br>
    thank you for the proposal. I think addressing such setups is a good
    idea.<br>
    <br>
    The solution you propose works only if dns round robin is used (i.e.
    all the real server ips in A or AAAA). But there are similar setups
    where the redundant servers are behind some load balancer where a
    completely different ip is used. Another widely used scenario is
    geo-based dns. In this case, the Acme server would only see his
    "nearest" ip address.<br>
    <br>
    IMO a better way to support your scenario as well as those I
    described above would be to check for an SRV-Record before checking
    A-Records. This would be 100% compatible with existing acme http-01
    clients. In your case you would resolve the SRV record to the
    machine that has the acme client running on. The acme-server would
    check for the SRV-Record for an address to lookup the challenge's
    response at. If no SRV record is specified, it would continue with A
    and AAAA records.<br>
    <br>
    Kind regards,<br>
    Michael.<br>
    <br>
    <blockquote type=3D"cite"><br>
      <br>
      On 21.01.2016 15:13, Salz, Rich wrote:<br>
      <br>
      &gt;&gt; I am not at all familiar with the processes in an IETF
      WG. What<br>
      &gt;&gt; is the way forward to get my proposal either into the
      protocol or<br>
      &gt;&gt; officially dismissed?<br>
      <br>
      &gt; This is the way it works. :)=A0 People post to the mailing lis=
t
      and<br>
      &gt; there's discussion.=A0 At some point, the chairs will see if
      there is<br>
      &gt; consensus to do it.<br>
      <br>
      &gt; So things are working as designed.=A0 It's informal and a bit
      messy.<br>
      <br>
      &gt; What might help focus discussion is if you made a pull
      request with<br>
      &gt; your specific wording changes.<br>
      <br>
      I gave it a shot: <a class=3D"moz-txt-link-freetext"
        href=3D"https://github.com/ietf-wg-acme/acme/pull/82">https://git=
hub.com/ietf-wg-acme/acme/pull/82</a><br>
      <br>
      I will appreciate any feedback on that proposal.<br>
      <br>
      best regards,<br>
      jwi<br>
    </blockquote>
    <span style=3D"white-space: pre;">&gt;
&gt; _______________________________________________
&gt; Acme mailing list
&gt; <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Acme@ietf.org">=
Acme@ietf.org</a>
&gt; <a class=3D"moz-txt-link-freetext" href=3D"https://www.ietf.org/mail=
man/listinfo/acme">https://www.ietf.org/mailman/listinfo/acme</a></span><=
br>
    <br>
    <br>
  </body>
</html>

--------------090606060504000807010004--

--PiiDoiVeMOH2BLfpwR4wtHOmo1smdql7P
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWucl0AAoJECk3ReFQtl9JQ84P/169uzU7IrROTQzEIE5nzq8a
MWaQ4tk2Hd7NdsfZ8L2CfVVpGjlWb69PboyDBJnuma1htS5UyxC+0bpFSNX4xRoe
ibwsYXzOtb7GjjT4rKPGNI11LVeuQsSPqCV65olqfGyiEusixlYHVx9naX2Spbl1
REltnu/53t8bFRPkULY6EzQ07y2L7oEgDShytUtenDkJReTJyceUu53Uu9IEf65v
+8dlZtq+H2TLuAh9Pli9f4erRsJ9O0+WxqARMXvHlYo7MlyeU6r0Hgz8MatOKjtI
8Gnjg2VGzonBoxyMyJm0uBwprnVTyf8c9gGZeT0WAGMqPW6tS5B9mKhC6u4qeQBR
gmbiIBdfWMHFYonLpPLnYXs3fl1EFiDX3YjRPadk7s94uLNfRkXrnebHd4oSCRN3
gSYCkJbxd/SVvjlbHZSxMXuLdTfXQzHXmXRrlRi/H1Kp9qEs1U5KkXOiJwyOk7Ig
V7bmEuaHEPdlSimNM6MGa7nK4nvthDPHbFMuBRByBugaeJvXhyQmwFTDvqL6FWdb
sqhIONsP4jFblvT+4ktfhVpL8t+7U5H0C6FQSipJrsxHHbqDgHcaCm7OHKNHATkR
O1yocA5ucTN3DiNQxwFD4En+E2nHRAqESOR8kIWXPvNd9x41b4NfhU2L37IuwS87
8ploY1phaMV9EneiSDJp
=44Ud
-----END PGP SIGNATURE-----

--PiiDoiVeMOH2BLfpwR4wtHOmo1smdql7P--


From nobody Tue Feb  9 05:09:03 2016
Return-Path: <jonas@wielicki.name>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CAF4A1A8AAD for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 05:09:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham
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 Ef05SrHdmjWH for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 05:09:00 -0800 (PST)
Received: from sol.sotecware.net (sol.sotecware.net [78.47.24.226]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 905131A8AB6 for <acme@ietf.org>; Tue,  9 Feb 2016 05:08:16 -0800 (PST)
Received: from altair.sotecware.net (x4d0d56a3.dyn.telefonica.de [77.13.86.163]) by sol.sotecware.net (Postfix) with ESMTPSA id C9B782001A4 for <acme@ietf.org>; Tue,  9 Feb 2016 13:08:13 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1455023293; bh=wtDyvDbTq10aHKxkkHvzO0QeQRXkDytbINPoekZXedc=; h=From:Subject:To:References:Date:In-Reply-To; b=h1XcgSFe5dMUEXkVSpZ85BhLkjf+BhJjnDvgLDtyTvX2zYZN+doRtEZB/UGgaPN32 nnlV8liTrgVvD0hGAQ8EpZCtOlG/wnMSLCbR68A+saojiOesos+jwjaZUB25jjknEf 0ZjygpF0uENrtFTxMY2AhdGLcOyuM+EKhLHhS1tDYInrUgpVu1Kx4wev1HA61W4O9O lN9P6fjFdEjjKivzOxMN4V/zY0SuoCdbwPDLSVXJHVTOtmUfitqm1I59xxpvMRr/wF 0qZm27aCuBJ0w2yPeVx6rRobwwhS/wS/xgTI4aJ4p9kdGuZYjjaE+WZKiN22Y+JvYt 0bpBlCT6JCrdw==
From: Jonas Wielicki <jonas@wielicki.name>
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name> <56B9C501.6000106@wyraz.de>
Message-ID: <56B9E4BB.3090900@wielicki.name>
Date: Tue, 9 Feb 2016 14:08:11 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <56B9C501.6000106@wyraz.de>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/lqLIrAthg-nAoDTHWwNntZHEuIM>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 13:09:03 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Michael,

(re-sent to include the list, sorry for the noise, Michael)

On 09.02.2016 11:52, Michael Wyraz wrote:
> thank you for the proposal. I think addressing such setups is a 
> good idea.

Thank you for your feedback!

> The solution you propose works only if dns round robin is used 
> (i.e. all the real server ips in A or AAAA). But there are similar 
> setups where the redundant servers are behind some load balancer 
> where a completely different ip is used. Another widely used 
> scenario is geo-based dns. In this case, the Acme server would
> only see his "nearest" ip address.

I agree.

> IMO a better way to support your scenario as well as those I 
> described above would be to check for an SRV-Record before
> checking A-Records. This would be 100% compatible with existing
> acme http-01 clients. In your case you would resolve the SRV record
> to the machine that has the acme client running on. The acme-server
> would check for the SRV-Record for an address to lookup the
> challenge's response at. If no SRV record is specified, it would
> continue with A and AAAA records.

I am not entirely sure I get what you want to say here. SRV records
contain not only a host name, but also priorities, weights and ports,
so I wonder how that information would be used in this context.

Do you suggest to have the client use an SRV record to specify the
address (including the port?) to which the server connects to complete
the challenge? In that case, what would the effect of multiple SRV
records for the target name be?

best regards,
jwi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWueS7AAoJEMBiAyWXYliK57UP/ROcqyPJmLjHPTmPc8bxJNX0
HHxGbGMiUDmiUwcubkflzhOpwIYD+Zl9MyL58bz78wdyw/sVWDxIVEWWM4C79jKB
0cUW3NzLYG2uWXHNy7BtqyFbYp2Z7MkixY+miXCxxvtleuo4m4G67ttCHrzumaT8
M9Fj94TqDfI+0M2IVtw/FUah4rdFgguJMEfgrcK41HFy+liLOYZzZXwG8XdOCjQm
v5H0K8dspHFzIrTnvwbALTbz3fW1z1dv+r3GPe3LcOpmSBC4G8Hz/rHDdKDQH/eE
8qIqYZxx54yT40nmee8cPWUjwxnnTCQaa3IwimDSs12V0LTfl98oQkAqIkoBdQST
1TNpMHE9v4KtR5lY8lLfiI74Gb+Cu/tf0V4rYeGi6uUgNVFSuVdumN71DhbN5MVP
XArfAtXEAsJ3Xm2sq/6ZWf01weufXIb/85tzrnkZC/tqVn6da22U30geuI+5hcxZ
v1UMZGQDx7NXYWKbIVqageYbBClbi8hRECr0Nl5nu4ejXaNkZ7dLkZZVnLzfXUWU
lKk8M2LdvcIo28kbXZxsio40nK2seB96GkW+aIGqVpyn1VjJaR5iktWUEBeIVUEi
AaeGgfZSxL9sig4ceCTawvvnSdIi2XZ4gJ2rY6ZxlO0AQ3ZATQyHZLx1aMF2OxGq
iSbK90o/cIiHHd0c3IKh
=IeGZ
-----END PGP SIGNATURE-----


From nobody Tue Feb  9 05:53:30 2016
Return-Path: <michael@wyraz.de>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0FF01A9048 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 05:53:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.001] autolearn=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 3UoJBXflKJwp for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 05:53:27 -0800 (PST)
Received: from mail.wyraz.de (web.wyraz.de [37.120.164.129]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1C661A904E for <acme@ietf.org>; Tue,  9 Feb 2016 05:53:21 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.wyraz.de (Postfix) with ESMTP id DA848A309E for <acme@ietf.org>; Tue,  9 Feb 2016 14:53:18 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at web.wyraz.de
Received: from mail.wyraz.de ([127.0.0.1]) by localhost (web.wyraz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k9ib1AyS8oVd for <acme@ietf.org>; Tue,  9 Feb 2016 14:53:18 +0100 (CET)
Received: from [192.168.1.200] (p578521F0.dip0.t-ipconnect.de [87.133.33.240]) (Authenticated sender: michael@wyraz.de) by mail.wyraz.de (Postfix) with ESMTPSA id 18FB1A304C for <acme@ietf.org>; Tue,  9 Feb 2016 14:53:18 +0100 (CET)
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name> <56B9C501.6000106@wyraz.de> <56B9DEA8.3090009@wielicki.name>
From: Michael Wyraz <michael@wyraz.de>
X-Enigmail-Draft-Status: N1110
Message-ID: <56B9EF4E.4030807@wyraz.de>
Date: Tue, 9 Feb 2016 14:53:18 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56B9DEA8.3090009@wielicki.name>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H6OlNhVKBnDVAMdFPwVP6JJpIcLH3bIiP"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/TGiHvhhNxbZyC25hljBO3vV0A7Q>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 13:53:29 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--H6OlNhVKBnDVAMdFPwVP6JJpIcLH3bIiP
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hello Jonas,
>
> > IMO a better way to support your scenario as well as those I
> > described above would be to check for an SRV-Record before checking
> > A-Records. This would be 100% compatible with existing acme http-01
> > clients. In your case you would resolve the SRV record to the
> > machine that has the acme client running on. The acme-server would
> > check for the SRV-Record for an address to lookup the challenge's
> > response at. If no SRV record is specified, it would continue with
> > A and AAAA records.
>
> I am not entirely sure I get what you want to say here. SRV records
> contain not only a host name, but also priorities, weights and ports,
> so I wonder how that information would be used in this context.
>
> Do you suggest to have the client use an SRV record to specify the
> address (including the port?) to which the server connects to complete
> the challenge? In that case, what would the effect of multiple SRV
> records for the target name be?
correct, that's exactly what I meant. Example:

_acme.http-01._tcp.mydomain.com. 3600 IN    SRV    10 1 80
acme.mydomain.com.

For multiple SRV weight/priority should be respected.

Four your case you would resolve www.mydomain.com to several ip addresses=
:
www.mydomain.com. IN A IP-Address-Server1
www.mydomain.com. IN A IP-Address-Server2

While acme.mydomain.com resolves to a single ip address of the server
where the acme client runs on:
acme.mydomain.com. IN A IP-Address-Server1



--H6OlNhVKBnDVAMdFPwVP6JJpIcLH3bIiP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWue9OAAoJECk3ReFQtl9JoucQAM7l8XBDCOkch9BzeX1B/roN
Urp53cd2vFD4Cmus+R03IEDwaPMgMDfaXAolSX6zrz1Ni1RBi4lSsLU1EhF/qZDo
ARzEMtywTaHTFPVF1Ahe+jv3szmGJ/HErf6P/ND9M0CXGdGRZEjiFgEnhDZPEfDC
0OUErqHwIH9Y8n4Txj4m9zAgjdF94iZrlc2gwRMQqjd2CG3hzSeqysSwf4OHPliU
gye+piSRQjUxBZjbmQfo/qRWEOcHgF+94PClFV1EMU4HHaDq9xPRQxwwEdM6cTv+
WifL5YCNZkK5sdlKmzC+aWUANfPZXmSGU3V6la2RQekH18lQBCKnNZMYCKTd/zwH
nYY8ft2FHsp/PNPyg68iUDjKWrS1jU7YojbuExT1gQattS/OroaGp8MTnIncyj3A
3yiC3n29m3Igq3AQZzOWZDG28sxHdcGRcyYVIiaLgu4tsKVHf9yMNdMGNNRdd2/o
QgwDTRgPjIpAptIICmGGkPHxh57gjzn24U3AeA9SQNMMpwELNjy4nSBevrHT8B/K
EX5E8N9aTzSbRJ+5yN5gbEnD6Agqt82Gw3xeXNTqGO0Uh+rRdCB7aDSa4vbd4s0I
cPVLtXQPwCmNessY2Ag+0JyfDAz/9TwrqnITbULCOV2Id+aPUHMAPuf1ed6l6lR/
FYu0uBFX87p0n43BZ6cY
=btaX
-----END PGP SIGNATURE-----

--H6OlNhVKBnDVAMdFPwVP6JJpIcLH3bIiP--


From nobody Tue Feb  9 11:40:27 2016
Return-Path: <jonas@wielicki.name>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B931D1ACED4 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 11:40:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham
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 AWf5z-u6tHMd for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 11:40:23 -0800 (PST)
Received: from sol.sotecware.net (sol.sotecware.net [78.47.24.226]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FD371ACED7 for <acme@ietf.org>; Tue,  9 Feb 2016 11:40:22 -0800 (PST)
Received: from altair.sotecware.net (x4d0d56a3.dyn.telefonica.de [77.13.86.163]) by sol.sotecware.net (Postfix) with ESMTPSA id 2D0192005D1 for <acme@ietf.org>; Tue,  9 Feb 2016 19:40:20 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1455046820; bh=q1JqKSrOisX0NZjzOihu0uHQpt84DRoIY8h/W5687VE=; h=Subject:To:References:From:Date:In-Reply-To; b=O7gaGXsM9t9c6imWRdMPfPiZn+x0sEHaKC4D81ZW2ldzyUZmTj4s7d3QHTWREPJLZ sxpvK/8m8hYqFNoaj/kkA41YRqWMCbOBLcyPWO3uxYUQkAghockxgWJWuA3L3XDfnx OMWlZlGMk63cwbKQsVSSkmzaVw/c0jGJjXDSMul8rsirNt9/z9PetTcLNy1qNA+5aL PDPPsg4mmpJXITxhGUWkQKyAwI+JEB7Nto12cpKeW/uqsXltoXvCW37TA20TRSzdR0 1Uj2YdaklpSjIts87OWvO49H6DcEqTrS0p6j/2tdHK/Qw3riu850+YtQVtd/y5z9lF 1A43ffm9/B2Kw==
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name> <56B9C501.6000106@wyraz.de> <56B9DEA8.3090009@wielicki.name> <56B9EF4E.4030807@wyraz.de>
From: Jonas Wielicki <jonas@wielicki.name>
Message-ID: <56BA40A1.2040304@wielicki.name>
Date: Tue, 9 Feb 2016 20:40:17 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <56B9EF4E.4030807@wyraz.de>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/EjtJLjjpTykud-Ea5ip6GoUECLg>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 19:40:25 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 09.02.2016 14:53, Michael Wyraz wrote:
> Hello Jonas,
>> 
>>> IMO a better way to support your scenario as well as those I 
>>> described above would be to check for an SRV-Record before
>>> checking A-Records. This would be 100% compatible with existing
>>> acme http-01 clients. In your case you would resolve the SRV
>>> record to the machine that has the acme client running on. The
>>> acme-server would check for the SRV-Record for an address to
>>> lookup the challenge's response at. If no SRV record is
>>> specified, it would continue with A and AAAA records.
>> 
>> I am not entirely sure I get what you want to say here. SRV
>> records contain not only a host name, but also priorities,
>> weights and ports, so I wonder how that information would be used
>> in this context.
>> 
>> Do you suggest to have the client use an SRV record to specify
>> the address (including the port?) to which the server connects to
>> complete the challenge? In that case, what would the effect of
>> multiple SRV records for the target name be?
> correct, that's exactly what I meant. Example:
> 
> _acme.http-01._tcp.mydomain.com. 3600 IN    SRV    10 1 80 
> acme.mydomain.com.
> 
> For multiple SRV weight/priority should be respected.
> 
> Four your case you would resolve www.mydomain.com to several ip
> addresses: www.mydomain.com. IN A IP-Address-Server1 
> www.mydomain.com. IN A IP-Address-Server2
> 
> While acme.mydomain.com resolves to a single ip address of the
> server where the acme client runs on: acme.mydomain.com. IN A
> IP-Address-Server1

So if I understand this correctly, the ACME client would have to set
(or modify) the SRV records in such a way that the host which is
currently running the client is the one with the highest priority?
This sounds like you could just use the DNS challenge, right?

And it is a different use-case from the one I posted initially. If the
clients were able to modify the DNS properly, I could indeed use the
dns-01 challenge in my scenario. This is not the case though.

best regards,
jwi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWukChAAoJEMBiAyWXYliK18cQAIy62Y2z6Lgd0hKKoUcFWhgh
qoNzwv6MzJTeEbaUXid7yiNkO13eKMtg2eX5cly32yIYjSjO2/nehVCyUVNMFbis
wbWsko57oy+/spIq+ZSjTiEhtU//MNrWz563TC/ug2dZxrAemup/q3QsfvSfBGEc
C+7RedeOxmFcFEpNtP67ILTnXe+/yM9z3q6K8Oif2h/qHz+eVwFPb8b1sIJC5/jT
tbuHQa4f8+fzh3q6UDiNAgEhGrWudBNVUdYwheMCkv7cf/+tmw1xCGbtY2BvQpfj
Qm/KNGb0lzh5WXlmlDvZRGh4GS1tKaQiIKerHkQaxqADwDGVvq8U+76t48AkqXTg
vBfdk8OKKTe8GIGTEaBeKKtc7w0wASA73pehQY8hN278uAOURV43FE8JQFmQRmJp
uWPbgdcPysq/YVxH79zbBH6w4AkVJ6yK5+gJy0XKCtw4W5tcyQmzA+FMIAmSRJa0
u83zJQO+ax8kCOviRlQSzBcxwpeoziUlCtaqhhsnNVliQYMYwba+NnNJ5HDI+Vch
f4oz/WhjgNIDXrOE5+VqecxDMbD/So8ekCn1nIBg2orN+Mz8+OTPdohyr7jhE9fW
04qucj9MQyH9b6vnjSt+yE+rHONlk9ZIHSYwpO0wkY42h21NKd08dQjLvsAiWXWZ
9oIQdJ5IRft4WyN5mdX6
=likc
-----END PGP SIGNATURE-----


From nobody Tue Feb  9 11:52:22 2016
Return-Path: <jsha@eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A959A1ACEF4 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 11:52:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.003
X-Spam-Level: 
X-Spam-Status: No, score=-7.003 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.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 LK-fV4GsDV_h for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 11:52:19 -0800 (PST)
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 5E05E1ACEF7 for <acme@ietf.org>; Tue,  9 Feb 2016 11:52:19 -0800 (PST)
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=SVBHNg/bFPii7CcFOcYdqYEk4iZGauH1picI5VI7jmI=;  b=dCMQ5YBVg7XVkroRi3QljLuVZCMyaQkmf9IRJrBAd5qMljp1J1rECmraxU5O9S+6VI0W8qezpl4XjzfZIZcfJzLFP7Mmtg/nFJW1AQ1Az0Nlq8b5m6zhhqOa35wggKBopJNs2iEc4sfM7oAQXH7hyK1criv6NwUylgst3J6hFD0=;
Received: ; Tue, 09 Feb 2016 11:52:18 -0800
To: Jonas Wielicki <jonas@wielicki.name>, acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <56BA4372.1010706@eff.org>
Date: Tue, 9 Feb 2016 11:52:18 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56B9BDD8.9010008@wielicki.name>
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: <http://mailarchive.ietf.org/arch/msg/acme/CMdtEI6TPupAmRB8u1nXGEEE4E0>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 19:52:21 -0000

> https://github.com/ietf-wg-acme/acme/pull/82

I am against adding an address hint to the spec. I think it's
unnecessary complication to the spec, and introduces client control of a
critical security field. It would be too easy for implementers to
incorrectly check that the address was present in the DNS response.

Additionally, this fails to address GSLB / geo-based DNS, as Michael
Wyraz pointed out. So it winds up being a half solution.

As I said previously, I think it would be better for implementers to
query each IP they receive, until they get a success. For GSLB cases,
the subscriber would need to either (1) use an HTTP redirect to a
non-GSLB domain name, (2) ensure that every frontend is capable of
serving the challenge at the appropriate time, or (3) use the dns-01
challenge.


From nobody Tue Feb  9 12:15:31 2016
Return-Path: <jonas@wielicki.name>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 133451AD0BF for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:15:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham
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 TOASnXf040tW for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:15:29 -0800 (PST)
Received: from sol.sotecware.net (sol.sotecware.net [IPv6:2a01:4f8:d16:5380::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 010391AD0A9 for <acme@ietf.org>; Tue,  9 Feb 2016 12:15:28 -0800 (PST)
Received: from altair.sotecware.net (x4d0d56a3.dyn.telefonica.de [77.13.86.163]) by sol.sotecware.net (Postfix) with ESMTPSA id 3157A2005D1; Tue,  9 Feb 2016 20:15:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1455048925; bh=L3Uo2rISgAy566SIdRXFxef62Ud+nDOPRVwsYLPJ/zQ=; h=Subject:To:References:From:Date:In-Reply-To; b=sOK5b6FwzsuUVCk1NEM5KNOL1652BTQldHdaD0zQtaIpy/1t1KCpmP+DzWAUa/vVk CKWabUyS3YnsDDLFVeLgifV5qolgG7r0zEALqcsq/gviwEBRxFYKKSFHrKyTU0+Psn mgwyWTAKlRNMZi6YQduoSBK+Z8qydAti6T2RZiDB7VlYsySt99NhGVF/Ty/qh8N9w+ RJa0qCekzM4i3b9gVdcJcKdunrVIVYHDaFcK4L/bBnCvEyNAszpL9BULztIqRrnK9B +RpIK8oQmwaxqbE1VCSoFD/EsLAS+sBC6gvQ6dIpsehz488ycWxvoaixgZEVgy6jWY /xMxpKa5naroA==
To: Jacob Hoffman-Andrews <jsha@eff.org>, acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name> <56BA4372.1010706@eff.org>
From: Jonas Wielicki <jonas@wielicki.name>
X-Enigmail-Draft-Status: N1110
Message-ID: <56BA48DA.8080302@wielicki.name>
Date: Tue, 9 Feb 2016 21:15:22 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <56BA4372.1010706@eff.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/L-mJJ4u02v_Naf7k4PlisuCEirA>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 20:15:31 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09.02.2016 20:52, Jacob Hoffman-Andrews wrote:
> As I said previously, I think it would be better for implementers
> to query each IP they receive, until they get a success.

In fact, I’d also be pleased with that solution. If consensus could be
found for that, I’d happily retract my proposal.

However, it would have to be a MUST for servers…

best regards,
jwi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWukjaAAoJEMBiAyWXYliKSDoP/1ZeyRLemE7If7L8w2Ueox+w
jOxYP0wprRzSnljq1HeYlcF5S0iAqX8hsA4Fn9feLd6oltsvAca2Vw0vD9O4PZ8b
zSBGXFqwfGFoWCFPCVR4WPK/hCV+TjDu2oqRADgo34JBRB5borIbMkMCToL2tywQ
xanWq33PLgLG0oWfhq10NK/BJgGATcmXK8j8Aoc/byo095103Bmp8yRtBrUnI3py
pGLhNMUuhqJsDjrYnnygjpZ7xB/AZFWEqwdk00NhhSdEtquXp2hf5mR99k5K58A8
6Hkj1JEIzQgNAYBxUOzdsUjul67P5+Rk/kPoDqRHhabh5E7rk+5NEUUn7N61PdxN
PJr0J+8Wo7zmS/BnmANr5EYcqonieIRisYZNBEvQdsNLTijaQ3rTnblz9vsqfEyP
6+UDFND9mGTqJ0Ggr+djGyuxfXBxLgZrhnU1sXHMHMGuOJCOLwBE6yJhOsJipxa2
+MbCFlUxfATPc7EZ2GDZKzU2P1rvIyUIbKzxw85JcZbTHterd1lMorLPAivRE+Ey
CKN/CRmQpGVAG3Es5UA8TqNbjmcyDgjuowk2yXwz4ScRXNHBq+ntCab4B16XPDlm
Y7X846BHTqaR3peIQHJOSYa6nSwVMhv2y18zLnRSuTBz6WGE+z2NH0joG8GwnB++
kGQ+D+wB7hyNcpkfKhiX
=nnTN
-----END PGP SIGNATURE-----


From jasiu.79@gmail.com  Tue Feb  9 12:29:19 2016
Return-Path: <jasiu.79@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 768F71AD2F2 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:29:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level: 
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 eN1kRBv6lwzT for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:29:18 -0800 (PST)
Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001: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 17A201AD2C4 for <acme@ietf.org>; Tue,  9 Feb 2016 12:29:18 -0800 (PST)
Received: by mail-ig0-x229.google.com with SMTP id xg9so176921igb.1 for <acme@ietf.org>; Tue, 09 Feb 2016 12:29:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=SrCox6hyvj9ihiyaBl6dw/JpvCdXAjgqf1oIhoKjdXw=; b=skEQ3PLhzNgALqijfIb2xG/XQg52kUzxGe7AjRBjoqjYTcm4CsQv6JjrZAlwuXOPFH bwE26SMWoqqEhU6n+SLQozXoIAu0xPppruvgi/2JIVdv7Yo1ldLDpgCIw664DFgKYgrC bnulzcGg/YI7GeoMpQXdXPFcTJ8+Ht/FrGgFopSc61/F/y1a70JE2J1TSUnv7iQXznZp KktRBR0wdV/wEoRu8yNnQm+NkK+rSkeCxa3a84D6D8QdEGLG/HeM41zaOo6qXnzC6wym wk9C3u1WxLmT9yN1oVqquhL6Hu2g6wRpSp4PRLqzHEkKObLEtR16pCQmhnuQYxDqcTMQ MPCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=SrCox6hyvj9ihiyaBl6dw/JpvCdXAjgqf1oIhoKjdXw=; b=AJvlNcCTf3jTQJpPLEaUYZHsyM4v7JZ9aX6el5ewTbUcIsUmvJdBCwpbaNUb2c+ZNj sOHoH2nsf9jqSjRESX7OX/VtSi3hFrTc85o4RDGybGFviJeu5IJLnlk1ZNWvHx5dHcCk +1kPtKvsdNzi/HHuUeCdP0WvFzgJtMOwYameYXEA64/SY2vbXOATc5m/yYG5vQg6rGfr aSHmBHoS/OMleaL1qSCxpsrSxT5GLlZZIyP+cX2q1JzefFq0Mb64I/AcQ/mHU3BvWiB3 z9q9VqyUndeXHAzm5tT81chalDzU65vzVYn+cjsf06SYPVdzsINl/9KPnEqacV9Gy4A/ 6xBw==
X-Gm-Message-State: AG10YORDbic03EfMLKrPFJD8SSWMmwSGekxMX9Zi+A8aVXcCv6c9Z4/L99ukCtzJoSeIsKEQdQd7mBmIy22P/Q==
MIME-Version: 1.0
X-Received: by 10.50.79.196 with SMTP id l4mr6523384igx.11.1455049757567; Tue, 09 Feb 2016 12:29:17 -0800 (PST)
Received: by 10.64.76.109 with HTTP; Tue, 9 Feb 2016 12:29:17 -0800 (PST)
Date: Tue, 9 Feb 2016 21:29:17 +0100
Message-ID: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
From: Jan Broer <jasiu.79@gmail.com>
To: acme@ietf.org
Content-Type: multipart/alternative; boundary=089e01183f48ee3ee8052b5c2b5c
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/_M1WCTbaojKGjhQew-e3NiIJZtA>
Subject: [Acme] Clarity: DNS validation domain delegated to another zone
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 20:30:18 -0000

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

Hello everyone,

we are discussing whether it is technically legal to validate the DNS
challenge TXT record when the validation domain is delegated away from the
domain to a different zone.

Scenario: a certificate request for domain = "foo.bar.com", which would
have fqdn = "_acme-challenge.foo.bar.com".

Assuming bar.com IN NS ns1.bar.com

which has a record

_acme-challenge.foo.bar.com IN NS ns.confusion.party

and ns.confusion.party has the record

_acme-challenge.foo.bar.com IN TXT "keyauth"

The spec stipulates that:

"the client must demonstrate to the server both (1) that it holds the
private key of the account key pair, and (2) that it has authority over the
identifier being claimed."

One could argue that requirement (2) is not satisfied when the validation
domain is delegated away from the domain: Creating a record under the
validation domain is not indicative of control/authority of the (parent)
certificate domain.

On the other hand, the spec does not specifically exclude this scenario.

Thoughts?

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

<div dir=3D"ltr">Hello everyone,=C2=A0<div><br></div><div><div>we are discu=
ssing whether it is technically legal to validate the DNS challenge TXT rec=
ord when the validation domain is delegated away from the domain to a diffe=
rent zone.</div><div><br></div><div>Scenario: a certificate request for dom=
ain =3D &quot;<a href=3D"http://foo.bar.com">foo.bar.com</a>&quot;, which w=
ould have fqdn =3D &quot;_<a href=3D"http://acme-challenge.foo.bar.com">acm=
e-challenge.foo.bar.com</a>&quot;.<br></div><div><br></div><div>Assuming <a=
 href=3D"http://bar.com">bar.com</a> IN NS <a href=3D"http://ns1.bar.com">n=
s1.bar.com</a></div><div><br></div><div>which has a record</div><div><br></=
div><div>_<a href=3D"http://acme-challenge.foo.bar.com">acme-challenge.foo.=
bar.com</a> IN NS ns.confusion.party</div><div><br></div><div>and ns.confus=
ion.party has the record</div><div><br></div><div>_<a href=3D"http://acme-c=
hallenge.foo.bar.com">acme-challenge.foo.bar.com</a> IN TXT &quot;keyauth&q=
uot;</div><div><br></div><div>The spec stipulates that:</div><div><br></div=
><div>&quot;the client must demonstrate to the server both (1) that it hold=
s the private key of the account key pair, and (2) that it has authority ov=
er the identifier being claimed.&quot;</div><div><br></div><div>One could a=
rgue that requirement (2) is not satisfied when the validation domain is de=
legated away from the domain: Creating a record under the validation domain=
 is not indicative of control/authority of the (parent) certificate domain.=
</div><div><br></div><div>On the other hand, the spec does not specifically=
 exclude this scenario.</div><div><br></div><div>Thoughts?</div></div><div>=
<br></div></div>

--089e01183f48ee3ee8052b5c2b5c--


From nobody Tue Feb  9 12:54:53 2016
Return-Path: <michael@wyraz.de>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BB5C1AD49D for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:54:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001] autolearn=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 MlvIebauAcrN for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:54:46 -0800 (PST)
Received: from mail.wyraz.de (web.wyraz.de [37.120.164.129]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 032241AD364 for <acme@ietf.org>; Tue,  9 Feb 2016 12:54:45 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.wyraz.de (Postfix) with ESMTP id 26F8FA3116 for <acme@ietf.org>; Tue,  9 Feb 2016 21:54:43 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at web.wyraz.de
Received: from mail.wyraz.de ([127.0.0.1]) by localhost (web.wyraz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olfefMR3ifSL for <acme@ietf.org>; Tue,  9 Feb 2016 21:54:42 +0100 (CET)
Received: from [192.168.1.200] (p578521F0.dip0.t-ipconnect.de [87.133.33.240]) (Authenticated sender: michael@wyraz.de) by mail.wyraz.de (Postfix) with ESMTPSA id 21661A30C7 for <acme@ietf.org>; Tue,  9 Feb 2016 21:54:42 +0100 (CET)
From: Michael Wyraz <michael@wyraz.de>
To: acme@ietf.org
References: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
Message-ID: <56BA5210.3060606@wyraz.de>
Date: Tue, 9 Feb 2016 21:54:40 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e1MfjtvafDLen5uJ0jUM7d4cO2VN4IEcQ"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ScTGMXKq3lYjEISsaaCkhOmhbqo>
Subject: Re: [Acme] Clarity: DNS validation domain delegated to another zone
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 20:54:52 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--e1MfjtvafDLen5uJ0jUM7d4cO2VN4IEcQ
Content-Type: multipart/alternative;
 boundary="------------050303010809000200000001"

This is a multi-part message in MIME format.
--------------050303010809000200000001
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hello Jan,

IMO it makes no difference weather the one who manages the domain
creates a _acme-challenge.foo.bar.com TXT or NS record to delegate this
to a trusted destination.
Furthermore, the domain admin delegates the "has authority over the
identifier being claimed" explicitly to this dns - so if the client can
demonstrate the control over it, it should satisfy the spec.

It's very unlikely that someone accidently delegates
"_acme-challenge.something" because it's not a valid domain name (in
fact I could not even delegate it by intent for some of my domains
because the domain name is rejected by most of my domain registrar's
nameserver tools).




> Hello everyone,=20
>
> we are discussing whether it is technically legal to validate the DNS
> challenge TXT record when the validation domain is delegated away from
> the domain to a different zone.
>
> Scenario: a certificate request for domain =3D "foo.bar.com
> <http://foo.bar.com>", which would have fqdn =3D
> "_acme-challenge.foo.bar.com <http://acme-challenge.foo.bar.com>".
>
> Assuming bar.com <http://bar.com> IN NS ns1.bar.com <http://ns1.bar.com=
>
>
> which has a record
>
> _acme-challenge.foo.bar.com <http://acme-challenge.foo.bar.com> IN NS
> ns.confusion.party
>
> and ns.confusion.party has the record
>
> _acme-challenge.foo.bar.com <http://acme-challenge.foo.bar.com> IN TXT
> "keyauth"
>
> The spec stipulates that:
>
> "the client must demonstrate to the server both (1) that it holds the
> private key of the account key pair, and (2) that it has authority
> over the identifier being claimed."
>
> One could argue that requirement (2) is not satisfied when the
> validation domain is delegated away from the domain: Creating a record
> under the validation domain is not indicative of control/authority of
> the (parent) certificate domain.
>
> On the other hand, the spec does not specifically exclude this scenario=
=2E
>
> Thoughts?
>
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme


--------------050303010809000200000001
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix">Hello Jan,<br>
      <br>
      IMO it makes no difference weather the one who manages the domain
      creates a _acme-challenge.foo.bar.com TXT or NS record to delegate
      this to a trusted destination.<br>
      Furthermore, the domain admin delegates the "has authority over
      the identifier being claimed" explicitly to this dns - so if the
      client can demonstrate the control over it, it should satisfy the
      spec.<br>
      <br>
      It's very unlikely that someone accidently delegates
      "_acme-challenge.something" because it's not a valid domain name
      (in fact I could not even delegate it by intent for some of my
      domains because the domain name is rejected by most of my domain
      registrar's nameserver tools).<br>
      <br>
      <br>
      <br>
      <br>
    </div>
    <blockquote
cite=3D"mid:CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmai=
l.com"
      type=3D"cite">
      <div dir=3D"ltr">Hello everyone,=A0
        <div><br>
        </div>
        <div>
          <div>we are discussing whether it is technically legal to
            validate the DNS challenge TXT record when the validation
            domain is delegated away from the domain to a different
            zone.</div>
          <div><br>
          </div>
          <div>Scenario: a certificate request for domain =3D "<a
              moz-do-not-send=3D"true" href=3D"http://foo.bar.com">foo.ba=
r.com</a>",

            which would have fqdn =3D "_<a moz-do-not-send=3D"true"
              href=3D"http://acme-challenge.foo.bar.com">acme-challenge.f=
oo.bar.com</a>".<br>
          </div>
          <div><br>
          </div>
          <div>Assuming <a moz-do-not-send=3D"true" href=3D"http://bar.co=
m">bar.com</a>
            IN NS <a moz-do-not-send=3D"true" href=3D"http://ns1.bar.com"=
>ns1.bar.com</a></div>
          <div><br>
          </div>
          <div>which has a record</div>
          <div><br>
          </div>
          <div>_<a moz-do-not-send=3D"true"
              href=3D"http://acme-challenge.foo.bar.com">acme-challenge.f=
oo.bar.com</a>
            IN NS ns.confusion.party</div>
          <div><br>
          </div>
          <div>and ns.confusion.party has the record</div>
          <div><br>
          </div>
          <div>_<a moz-do-not-send=3D"true"
              href=3D"http://acme-challenge.foo.bar.com">acme-challenge.f=
oo.bar.com</a>
            IN TXT "keyauth"</div>
          <div><br>
          </div>
          <div>The spec stipulates that:</div>
          <div><br>
          </div>
          <div>"the client must demonstrate to the server both (1) that
            it holds the private key of the account key pair, and (2)
            that it has authority over the identifier being claimed."</di=
v>
          <div><br>
          </div>
          <div>One could argue that requirement (2) is not satisfied
            when the validation domain is delegated away from the
            domain: Creating a record under the validation domain is not
            indicative of control/authority of the (parent) certificate
            domain.</div>
          <div><br>
          </div>
          <div>On the other hand, the spec does not specifically exclude
            this scenario.</div>
          <div><br>
          </div>
          <div>Thoughts?</div>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
Acme mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Acme@ietf.org">Acme@=
ietf.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://www.ietf.org/mailman/l=
istinfo/acme">https://www.ietf.org/mailman/listinfo/acme</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------050303010809000200000001--

--e1MfjtvafDLen5uJ0jUM7d4cO2VN4IEcQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWulIQAAoJECk3ReFQtl9JDFsQAMqJXf68rd/rEI9+lzlOpROa
LcYnIMsvw6gNZ7Yt9S/NRhbZaDK6rvPOE6FdAJMWTsgvlFx7r1/D6WKUanHuZYZj
FGN4ngmB5omlBaOn742qC4TEw7jwPqlWHiQARz9BcNFXYlEGYmTeso7T8f18dQzz
Hj72QYKQYgFgb7QZFfN6Cylv7xurNP+wAVvj7XgyMUrGkivb+D2embP/fLBxN/eM
rtm5y8D8fuWd0uXmQowyDj4uF/USTKYhFwUGKTnQH/k9fZP4jcs43qIstokJVPfN
4HEiezFobOVCQlNlii7Yk2iSia9cc+/usBSx7dLUpTjWhHXPYuCQyJJuIgWdL4xB
of8E1/Tp8JA79IbkK2oYZm0ZUGTbMfqxM7roP7imISH+K5N+cwul7958hs8w+ttp
QA1Af5p+F4rnrz3TJwnX0mishSEDZi0KWW8MjtKV+v6GGXOAvjHvx6HLBSd0qvOA
xDZpmXmHtmNDZlO2ERi9EIDmkyYGKJ8L/Cyt+dpsgCcFgAQ8z5uYC8ViKOtosSbd
YLw1b+76F+rtyF0rgSgCbIBdoDnLa73ZMau3TwjYA/fxpuqN2ok0LpeV4v+3+1tB
lK5FSwrXKH4QDK8c0Rf81FheiD/VrIu/o8Y+GpqBpYD7xXFaawO3wj9qOEEt7whO
+eNIkhTf2Q692yNZmtc0
=zjF/
-----END PGP SIGNATURE-----

--e1MfjtvafDLen5uJ0jUM7d4cO2VN4IEcQ--


From nobody Tue Feb  9 12:57:53 2016
Return-Path: <michael@wyraz.de>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CBFE1ADBF8 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:57:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.001] autolearn=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 Y8_MrqU0bVpb for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 12:57:52 -0800 (PST)
Received: from mail.wyraz.de (web.wyraz.de [37.120.164.129]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4EE301B29A2 for <acme@ietf.org>; Tue,  9 Feb 2016 12:57:52 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.wyraz.de (Postfix) with ESMTP id 16356A3146 for <acme@ietf.org>; Tue,  9 Feb 2016 21:57:50 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at web.wyraz.de
Received: from mail.wyraz.de ([127.0.0.1]) by localhost (web.wyraz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jlRsHDQxgRry for <acme@ietf.org>; Tue,  9 Feb 2016 21:57:49 +0100 (CET)
Received: from [192.168.1.200] (p578521F0.dip0.t-ipconnect.de [87.133.33.240]) (Authenticated sender: michael@wyraz.de) by mail.wyraz.de (Postfix) with ESMTPSA id 90EA99FB6E for <acme@ietf.org>; Tue,  9 Feb 2016 21:57:49 +0100 (CET)
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name> <56B9C501.6000106@wyraz.de> <56B9DEA8.3090009@wielicki.name> <56B9EF4E.4030807@wyraz.de> <56BA40A1.2040304@wielicki.name>
From: Michael Wyraz <michael@wyraz.de>
Message-ID: <56BA52CD.4060406@wyraz.de>
Date: Tue, 9 Feb 2016 21:57:49 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56BA40A1.2040304@wielicki.name>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bR12qbS5A5xe1SU7Vk0uQBxm96eTDHj46"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/wdkwlb6NZwUmpTJnt0q4HcZu2yA>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 20:57:53 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--bR12qbS5A5xe1SU7Vk0uQBxm96eTDHj46
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Jonas,
> So if I understand this correctly, the ACME client would have to set
> (or modify) the SRV records in such a way that the host which is
> currently running the client is the one with the highest priority?
> This sounds like you could just use the DNS challenge, right?
>
> And it is a different use-case from the one I posted initially. If the
> clients were able to modify the DNS properly, I could indeed use the
> dns-01 challenge in my scenario. This is not the case though.
You're right, I missunderstood your use case and thought, the client
only runs on a certain of the servers. Using SRV records will not solve
this special use case.



--bR12qbS5A5xe1SU7Vk0uQBxm96eTDHj46
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWulLNAAoJECk3ReFQtl9Js50P/1bn/SM4gjgdrDJSq1IE5qb7
i3pZxt3VrbmRddxC08vGkZNKSdvC9U9CJVP5Ci8KGENPakM1wXb5BfHa5iprsf7Q
iwrDg5uXkxCPFnBKDhDxpAL/g2qifurdUJjY0UcwjD7wGe5AayJPPaJSXmB7+xbE
JPhGSCMPDCSICSoaZiVYI2XROCPUeeraYpQkndGI6EoXjp2rHfCOT1GOvU8dw+k5
iuU475yN3rzTO1Edq8m5dOxJugjz3R4ZOXu3RHqscuw5BjoccU5Mo8go/63v6Oy1
Dno0suSmlid4Da8XbXECztgEQ1aqxlOh5LKOdAVIVIFDCT5N4skv2FqfVBGvRdCm
xlg2aWnoJoEmHD3gMAOvHWWiP749Qfux4KCqK0ARORh71mxovtZBKZfeHmL3NnOv
+iblpl0yBSHs7NSQp/k+GJm7+CC0YKcCMDi5eRbk60XHRpmX5zezJufOdiYdc4Fg
02AlCRHgV7/nnYhlDCxs6+Nt+IPdrRli+Rkm11Bi6dwWasPlFBvyORl89Q5Gnj1V
3FA6VFyLbanPcJXpFMX806vWb826hnvUb0w6rG1cov2DOAxPrIpdxpEWeKjchyDu
KNDcHKs+E5X+CGNWgq03cDfuBJpIj0wCW1QX5kZEkC/oOvAaxbTuvB/eO23Dx/Qv
ciQADqAtIwrYChEEh0fo
=ypsU
-----END PGP SIGNATURE-----

--bR12qbS5A5xe1SU7Vk0uQBxm96eTDHj46--


From nobody Tue Feb  9 13:37:09 2016
Return-Path: <michael@wyraz.de>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44D0B1B2A5F for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 13:37:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.001] autolearn=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 8QueqcCY84oS for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 13:37:06 -0800 (PST)
Received: from mail.wyraz.de (web.wyraz.de [37.120.164.129]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08C4C1B2A5D for <acme@ietf.org>; Tue,  9 Feb 2016 13:37:06 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.wyraz.de (Postfix) with ESMTP id 8D148A3148 for <acme@ietf.org>; Tue,  9 Feb 2016 22:37:03 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at web.wyraz.de
Received: from mail.wyraz.de ([127.0.0.1]) by localhost (web.wyraz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zg74L9WX9dhx for <acme@ietf.org>; Tue,  9 Feb 2016 22:37:03 +0100 (CET)
Received: from [192.168.1.200] (p578521F0.dip0.t-ipconnect.de [87.133.33.240]) (Authenticated sender: michael@wyraz.de) by mail.wyraz.de (Postfix) with ESMTPSA id D8E54A3147 for <acme@ietf.org>; Tue,  9 Feb 2016 22:37:02 +0100 (CET)
To: acme@ietf.org
From: Michael Wyraz <michael@wyraz.de>
X-Enigmail-Draft-Status: N1110
Message-ID: <56BA5BFF.2040207@wyraz.de>
Date: Tue, 9 Feb 2016 22:37:03 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sQ76sGnvI1OpjUjfhsr8RRsgC996xouOe"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ajWjn9UXHwZp8mSwmarYrPvnReY>
Subject: [Acme] Proposal for http challenge: Lookup SRV records before A/AAAA records
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 21:37:07 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--sQ76sGnvI1OpjUjfhsr8RRsgC996xouOe
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

as discussed before, acme/http-01 is difficult to implement if the
domain being validated does not resolve to the IP address of the machine
where the client runs on.

Common cases are:
- multiple physical servers behind a tcp balancer (A-Record resolves to
the load balancer, not to the server where the acme client runs on).
- geo based dns resolution (A-Record resolves to the "nearest" server
which is not necessarily to the server where the acme client runs on)
- A-Record resolves to a device that is not able to run the acme client
(hardware firewall, router, load balancer)

I've created a proposal for using SRV (with fallback to A/AAAA) to solve
these issues: https://github.com/ietf-wg-acme/acme/pull/83

As you can see, the change only affects a small part of the server side
of the protocol and should have minimal impact to implementations.

Let me know what you think about it.

Kind regards,
Michael.



--sQ76sGnvI1OpjUjfhsr8RRsgC996xouOe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWulv/AAoJECk3ReFQtl9J3yUP/0XSa0d9/NxSJ5+g6Y+nqwTG
mzNc9bO6ZpT+lX/ZVPnzLuDhy9rU/qytXJdm/YQk5Q3yasas7wVDCFwlva78CBZT
yTxSgWwyy7suRCnw49CTIIxrioAjtrFBvH7II3R+vQzPjoJfZj6T19ujzoZ8GBxa
Wx4RgVEsygPKalzNpqWokXG56B3DcHjEDwF16wHZ6VMaDW84sZOWKlQjiEfo+dz2
jjrr/Bz+YhCRG4xpRs14u5t2XckxsRtSrDTQRfUFbRCOT/IZ4KBe3cSQfOOOaJ5o
gAnjN5IreLNzhdyhFgW9V8QUF/MtMdo4jUq3eBPg8+1LI3rs5EKrQm92JCwj9eLZ
ZFJoZ1hXiOd7F6R1kemHn008gXqfy/LPAqAT1uaoJpzK5R0CCzgwniSin/BjEgLv
oGr/HMKFYM2ZbFkPCoSTpyJGpR0C7ccnM0wMHcj3BnvfVkWLhFv5wzLBaQYsotrb
U1+2pZoIQa60CQHQrVsatdOtv5OiXVk8cdnsFkb8m09omXgIO6LfoFwZm+zFV16G
Lekmu862tmVE1hVqbLi3HDC5vTtnnIequsOZLVWWVQ2Nl3e0p7LLxtaUFlZtpE90
j830QB//9ciT0u0y4Y22t+NQeyCjhxsyYghDMJIm+2BHhhfydeOPtXQ8V8+4mL1a
Nj/qqanejfuFMuH3OMhD
=vwnS
-----END PGP SIGNATURE-----

--sQ76sGnvI1OpjUjfhsr8RRsgC996xouOe--


From nobody Tue Feb  9 13:39:19 2016
Return-Path: <ted.ietf@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D3411B2A61 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 13:39:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] autolearn=ham
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 K7zgO8b9kByI for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 13:39:16 -0800 (PST)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::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 886E21B2A6B for <acme@ietf.org>; Tue,  9 Feb 2016 13:39:16 -0800 (PST)
Received: by mail-qk0-x22f.google.com with SMTP id s68so151005qkh.3 for <acme@ietf.org>; Tue, 09 Feb 2016 13:39:16 -0800 (PST)
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:content-type; bh=ay4LURr+GReIbI+dhY14DD9ICaT0AqfPkHqJmx4D2Go=; b=ZnB0vH2BsyWBK1yNMr3eGJkqmKJrI32VmCB8brSilJ9ZIy+QsbU2+KTnWM1cbbFQot K8RnP9xM2FdvMC1uROHWAOuKfRTaKTGcnDlC6WlDTNev16HzR7udQvfm8C6jt9MJ1y6R zWs7nKYFvqSQx0Sl3yGwzO5/wOP3sykWtxrhMMsi9U/96tfvBSjYncxe9/lL6qU9bayA Q0bG7LgFkY32uTjS6FHo0yDhLSl361ZtISJJr7PkxzpW6oLANrv4yVYa6rnUs9ZZJ/Yh BPFneAx74cqiXAZYkMzl5Q0eBa6UY808PFmE3AHX08SeZ0KyNMw8CQQs64PGQ1cv3ymB iVGQ==
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:content-type; bh=ay4LURr+GReIbI+dhY14DD9ICaT0AqfPkHqJmx4D2Go=; b=R4JPGlDAmNlbqllByArXeabOC2eAphfHrQhuevhpfT/SAGcRGTaR5qYMuVXNVUBxH1 nSxeHCaSiQ9UbKoHLsqaSrQsq01/9ozKme7JbwOTdWH0BHwbEJQAxzOt67TDZqNSKeoP /+UUo6wzykRXMdhFBb2s5t/TorSmPHlbAwyk8Q/fbqh8ldNYPrF1alItmXT/3bcp2weu P5gkT3qKR3ZsesqhzcDJAaL6tA1g1A3djo7nzzox7+ZiAIo1Kv30wvECg2zzH3SDZZkv EMWZf6S8TJ4spCEQDEZMua4G6/yFh7zHeNeTyiypOoayfXJ+6oN5QLuNvlxT9i4Akg0f dGLw==
X-Gm-Message-State: AG10YOTitxeDZtDFWv8CjXENW5PYZHfWAZPuxw2onQ1pPqyVo4O97vFs8iQE/9VQ1rInx5bk79pHb2RIx2TqLA==
X-Received: by 10.55.41.7 with SMTP id p7mr18256867qkh.86.1455053955674; Tue, 09 Feb 2016 13:39:15 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.14.211 with HTTP; Tue, 9 Feb 2016 13:38:56 -0800 (PST)
In-Reply-To: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
References: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Tue, 9 Feb 2016 13:38:56 -0800
Message-ID: <CA+9kkMC2eKu65uuyn+yvu1DOE=BttLtBLhAmngwerSO65y94hQ@mail.gmail.com>
To: Jan Broer <jasiu.79@gmail.com>
Content-Type: multipart/alternative; boundary=001a11406516284cf9052b5d2635
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/rcv1LVk3yF6i9VeuHm-6LHjwcac>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Clarity: DNS validation domain delegated to another zone
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 21:39:18 -0000

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

On Tue, Feb 9, 2016 at 12:29 PM, Jan Broer <jasiu.79@gmail.com> wrote:

> Hello everyone,
>
> we are discussing whether it is technically legal to validate the DNS
> challenge TXT record when the validation domain is delegated away from the
> domain to a different zone.
>
> So, I find the phrase "delegated away' a bit inexact here. Are you
concerned primarily with the case where there is an organizational boundary
which is non-obvious (a la dbound)?  With the case where there is simply a
set of nameservers but no organizational boundary?  Both?



> Scenario: a certificate request for domain = "foo.bar.com", which would
> have fqdn = "_acme-challenge.foo.bar.com".
>
> Assuming bar.com IN NS ns1.bar.com
>
> which has a record
>
> _acme-challenge.foo.bar.com IN NS ns.confusion.party
>
> and ns.confusion.party has the record
>
> _acme-challenge.foo.bar.com IN TXT "keyauth"
>


> The spec stipulates that:
>
> "the client must demonstrate to the server both (1) that it holds the
> private key of the account key pair, and (2) that it has authority over the
> identifier being claimed."
>
> One could argue that requirement (2) is not satisfied when the validation
> domain is delegated away from the domain: Creating a record under the
> validation domain is not indicative of control/authority of the (parent)
> certificate domain.
>
> On the other hand, the spec does not specifically exclude this scenario.
>
>
Just to be clear,  in this scenario the client is capable of provisioning
the namesaver at confusion party?


> Thoughts?
>
>
>
regards,

Ted

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

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

<div dir=3D"ltr">On Tue, Feb 9, 2016 at 12:29 PM, Jan Broer <span dir=3D"lt=
r">&lt;<a href=3D"mailto:jasiu.79@gmail.com" target=3D"_blank">jasiu.79@gma=
il.com</a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gm=
ail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello everyone,=
=C2=A0<div><br></div><div><div>we are discussing whether it is technically =
legal to validate the DNS challenge TXT record when the validation domain i=
s delegated away from the domain to a different zone.</div><div><br></div><=
/div></div></blockquote><div>So, I find the phrase &quot;delegated away&#39=
; a bit inexact here. Are you concerned primarily with the case where there=
 is an organizational boundary which is non-obvious (a la dbound)?=C2=A0 Wi=
th the case where there is simply a set of nameservers but no organizationa=
l boundary?=C2=A0 Both?<br><br>=C2=A0</div><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>Scenario: a certificate request for do=
main =3D &quot;<a href=3D"http://foo.bar.com" target=3D"_blank">foo.bar.com=
</a>&quot;, which would have fqdn =3D &quot;_<a href=3D"http://acme-challen=
ge.foo.bar.com" target=3D"_blank">acme-challenge.foo.bar.com</a>&quot;.<br>=
</div><div><br></div><div>Assuming <a href=3D"http://bar.com" target=3D"_bl=
ank">bar.com</a> IN NS <a href=3D"http://ns1.bar.com" target=3D"_blank">ns1=
.bar.com</a></div><div><br></div><div>which has a record</div><div><br></di=
v><div>_<a href=3D"http://acme-challenge.foo.bar.com" target=3D"_blank">acm=
e-challenge.foo.bar.com</a> IN NS ns.confusion.party</div><div><br></div><d=
iv>and ns.confusion.party has the record</div><div><br></div><div>_<a href=
=3D"http://acme-challenge.foo.bar.com" target=3D"_blank">acme-challenge.foo=
.bar.com</a> IN TXT &quot;keyauth&quot;</div></div></div></blockquote><div>=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><br></d=
iv><div>The spec stipulates that:</div><div><br></div><div>&quot;the client=
 must demonstrate to the server both (1) that it holds the private key of t=
he account key pair, and (2) that it has authority over the identifier bein=
g claimed.&quot;</div><div><br></div><div>One could argue that requirement =
(2) is not satisfied when the validation domain is delegated away from the =
domain: Creating a record under the validation domain is not indicative of =
control/authority of the (parent) certificate domain.</div><div><br></div><=
div>On the other hand, the spec does not specifically exclude this scenario=
.</div><div><br></div></div></div></blockquote><div><br></div><div>Just to =
be clear,=C2=A0 in this scenario the client is capable of provisioning the =
namesaver at confusion party?<br></div><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr"><div><div></div><div>Thoughts?</div></div><d=
iv><br></div></div>
<br></blockquote><div><br></div><div>regards,<br><br></div><div>Ted <br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">_________________________________________=
______<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/listinfo/acme</a><br>
<br></blockquote></div><br></div></div>

--001a11406516284cf9052b5d2635--


From nobody Tue Feb  9 13:46:35 2016
Return-Path: <michael@wyraz.de>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B6551B2A72 for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 13:46:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.001] autolearn=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 gYAq3APEG2Au for <acme@ietfa.amsl.com>; Tue,  9 Feb 2016 13:46:33 -0800 (PST)
Received: from mail.wyraz.de (web.wyraz.de [37.120.164.129]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 91FDA1B2A76 for <acme@ietf.org>; Tue,  9 Feb 2016 13:46:33 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.wyraz.de (Postfix) with ESMTP id 5F00BA2ABD for <acme@ietf.org>; Tue,  9 Feb 2016 22:46:31 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at web.wyraz.de
Received: from mail.wyraz.de ([127.0.0.1]) by localhost (web.wyraz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QH6KpLFk50Jw for <acme@ietf.org>; Tue,  9 Feb 2016 22:46:31 +0100 (CET)
Received: from [192.168.1.200] (p578521F0.dip0.t-ipconnect.de [87.133.33.240]) (Authenticated sender: michael@wyraz.de) by mail.wyraz.de (Postfix) with ESMTPSA id D9950A076D for <acme@ietf.org>; Tue,  9 Feb 2016 22:46:30 +0100 (CET)
To: acme@ietf.org
References: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
From: Michael Wyraz <michael@wyraz.de>
Message-ID: <56BA5E37.3040504@wyraz.de>
Date: Tue, 9 Feb 2016 22:46:31 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <CA+MmhbOv-QF2efXyaXin15OKuhaV3iwza-tzcUyDAwwm8-yB5Q@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jsH6wVKDfiWklnBVBEOGWKcPUip0jN0up"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/t8f0a6suX-DZtTkVxHmaguJ-zjY>
Subject: Re: [Acme] Clarity: DNS validation domain delegated to another zone
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Feb 2016 21:46:35 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--jsH6wVKDfiWklnBVBEOGWKcPUip0jN0up
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Jan,

another point is that delegating is "technically legal" for dns - so it
should be for us if we rely on dns. It's the same for http where one
could "delegate" as well (e.g. via reverse proxy or http redirect). It's
technically legal and part of the protocol, and if we try to forbid it,
we will certainly break existing setups which are otherwise
protocol-conform.

Just my 2 cents ;-)

Kind regards,
Michael.


> Hello everyone,=20
>
> we are discussing whether it is technically legal to validate the DNS
> challenge TXT record when the validation domain is delegated away from
> the domain to a different zone.




--jsH6wVKDfiWklnBVBEOGWKcPUip0jN0up
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWul43AAoJECk3ReFQtl9JIfMP/Rya9wZnIHRE+EPmHL+M9zrf
rF28YDol8vvTMiZhHlzjc7Edsu0ySmuq/qdUxRJ/ITojLGrVIpYDduDDu4+Ng+Vu
ad10fk1Mj5DvNBIqHS0kVzHSzu+oW8ZAKPTV8ySmRadjyywcQ+rXx1nLYoG38dnK
6/H4mh9Ut5R5tTNyYH7ktf9jNQm9IFzVcXV/LDqN5A6h7SMI5wO6NMA5l9cK1Dah
4PflqF6kqZMFdTxPNxMBPF7yWUYRJedXAkCqAzu/c1URWJ1FwVNWPD5618MDDClB
LDisMb0D9Kh6ZZtOBRhkirkgSixZtJYVDxO1A5Nhqc65lY289psct473F75OMXM7
jhk8z6wHjTuZhxZIcoAfUjhIKbeHzLv2NWlJ9X1XhwTsUx+uUrnmaErhRDOhLh5P
HH8P4x8kj3NQ5zh/xQyC2CGlHWcAji+ZKAn4zBq4qR+rJtN//au87KOIjYR0eDdN
aDXcrk7jABqVn4fdA5dAQ2UpdYSbHFh7uQDdadmFVkxmVBCDe/CumHd/3MdctIH/
8yItRQAnhkvHn61cQ08eu1ZsyennsFlH+df/+x+t5CCpzJmAVPx1tmAbZ/NrRK3Y
4dEzIYyDK0Xpe7pRTA9Vcr+pGfqo/3ogj0HoLiyUl8X+Ph/Qa+EsD1uGJaQ3hjEw
G4F4g+ZWhu+ubCMzWH2j
=tLLA
-----END PGP SIGNATURE-----

--jsH6wVKDfiWklnBVBEOGWKcPUip0jN0up--


From nobody Wed Feb 10 06:25:12 2016
Return-Path: <ekr@rtfm.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 298A71B2B4C for <acme@ietfa.amsl.com>; Wed, 10 Feb 2016 06:25:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001] autolearn=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 Ec60QPtxzijw for <acme@ietfa.amsl.com>; Wed, 10 Feb 2016 06:25:09 -0800 (PST)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 732001B2B4A for <acme@ietf.org>; Wed, 10 Feb 2016 06:25:07 -0800 (PST)
Received: by mail-wm0-x22f.google.com with SMTP id p63so30955774wmp.1 for <acme@ietf.org>; Wed, 10 Feb 2016 06:25:07 -0800 (PST)
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:content-type; bh=7hJVb/xLsJ3IpDO7e0XVpGrEL/F/mxZR10Cem7PEvpI=; b=RKNO+t4q9s9lIGeQuYtG1aIRLkcJOyHoqq8nXxolSN++N4eMiRScw9WVZgdEmekAYw 3vKDH8tGguI6xmDgtTSGRx/OxGXG3POe/TKdKyr3jZC0mhTY0no54/XquvCZxijLJx9F efen6pIinCp3ZeP/7TmVWLMx63qLdNkv1apJL1JpSibR3LYj18PSBr3L6/lxM7xmhB8r 8r2OuCG7S8WedmzEtGega7apivFpvfAGdGSwhPXe7vvSz0xnt072zi2Scm2qsNSfciXG G88iZQdyisUJ7t+suH2fEMZkxpZ5zG7nBsWdMyA8p7TcR0f1o8DYnHIuO+iDlNSNzgyc ESjw==
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:content-type; bh=7hJVb/xLsJ3IpDO7e0XVpGrEL/F/mxZR10Cem7PEvpI=; b=FQkl/zykeRMsuIihRZAADJm+fIFZ/cLCDr0Yrzr0+VVvcD1GkWluHQC47JTL8rRrp2 /rdaII+VbDDljAhO2lpEyVS1jamix+3Q09bvFAc1VAakA+l0WSBS+m1mxqB+j0RkM2Tp JyiQDEAEg9wKjDj7MEQZh/h7cud2QgBtDIigYB8En84/tP5VHKtQEqY6tXRMteoiKtOG yncUSsE6zpbuHIKB/h6HCWDi1FkcgvzyX3nboNC4ZfSp4Vj76vn90L4dkilVNHTvc7Wz xl49A0P6ydmUt4T0p5k7/U1aot9ppC1xNppVrw7dfO0Rz+B+eMaX5CfA+rHm0SKEqoio 8j0A==
X-Gm-Message-State: AG10YOTblyTwKYSBxLKArk12vPsgibt9dcSbElpgUplNMKaU3UqW7K3ZXEVvPv/TGe1A3F6B06Ygg9nCCrZV3g==
X-Received: by 10.194.7.67 with SMTP id h3mr39245837wja.44.1455114305955; Wed, 10 Feb 2016 06:25:05 -0800 (PST)
MIME-Version: 1.0
Received: by 10.13.249.5 with HTTP; Wed, 10 Feb 2016 06:24:26 -0800 (PST)
In-Reply-To: <56BA5BFF.2040207@wyraz.de>
References: <56BA5BFF.2040207@wyraz.de>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 10 Feb 2016 15:24:26 +0100
Message-ID: <CABcZeBP=Ck25mGZi+NQ71VhW9eHRS3FzRH7bx6py19ormE0fGg@mail.gmail.com>
To: Michael Wyraz <michael@wyraz.de>
Content-Type: multipart/alternative; boundary=047d7b450aa2508213052b6b3300
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/zOpeLyx-uuMHZC6HL5MgFCllsTo>
Cc: IETF ACME <acme@ietf.org>
Subject: Re: [Acme] Proposal for http challenge: Lookup SRV records before A/AAAA records
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 10 Feb 2016 14:25:11 -0000

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

On Tue, Feb 9, 2016 at 10:37 PM, Michael Wyraz <michael@wyraz.de> wrote:

> Hi,
>
> as discussed before, acme/http-01 is difficult to implement if the
> domain being validated does not resolve to the IP address of the machine
> where the client runs on.
>
> Common cases are:
> - multiple physical servers behind a tcp balancer (A-Record resolves to
> the load balancer, not to the server where the acme client runs on).
> - geo based dns resolution (A-Record resolves to the "nearest" server
> which is not necessarily to the server where the acme client runs on)
> - A-Record resolves to a device that is not able to run the acme client
> (hardware firewall, router, load balancer)
>
> I've created a proposal for using SRV (with fallback to A/AAAA) to solve
> these issues: https://github.com/ietf-wg-acme/acme/pull/83


This doesn't seem like a great idea. ACME should largely behave the same way
that Web clients do. If you want to muck with DNS just use the DNS
challenges.

-Ekr




> As you can see, the change only affects a small part of the server side
> of the protocol and should have minimal impact to implementations.
>
> Let me know what you think about it.
>
> Kind regards,
> Michael.
>
>
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Feb 9, 2016 at 10:37 PM, Michael Wyraz <span dir=3D"ltr">&lt;<a href=3D=
"mailto:michael@wyraz.de" target=3D"_blank">michael@wyraz.de</a>&gt;</span>=
 wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
as discussed before, acme/http-01 is difficult to implement if the<br>
domain being validated does not resolve to the IP address of the machine<br=
>
where the client runs on.<br>
<br>
Common cases are:<br>
- multiple physical servers behind a tcp balancer (A-Record resolves to<br>
the load balancer, not to the server where the acme client runs on).<br>
- geo based dns resolution (A-Record resolves to the &quot;nearest&quot; se=
rver<br>
which is not necessarily to the server where the acme client runs on)<br>
- A-Record resolves to a device that is not able to run the acme client<br>
(hardware firewall, router, load balancer)<br>
<br>
I&#39;ve created a proposal for using SRV (with fallback to A/AAAA) to solv=
e<br>
these issues: <a href=3D"https://github.com/ietf-wg-acme/acme/pull/83" rel=
=3D"noreferrer" target=3D"_blank">https://github.com/ietf-wg-acme/acme/pull=
/83</a></blockquote><div><br></div><div>This doesn&#39;t seem like a great =
idea. ACME should largely behave the same way</div><div>that Web clients do=
. If you want to muck with DNS just use the DNS challenges.</div><div><br><=
/div><div>-Ekr</div><div><br></div><div><br></div><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
As you can see, the change only affects a small part of the server side<br>
of the protocol and should have minimal impact to implementations.<br>
<br>
Let me know what you think about it.<br>
<br>
Kind regards,<br>
Michael.<br>
<br>
<br>
<br>_______________________________________________<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/listinfo/acme</a><br>
<br></blockquote></div><br></div></div>

--047d7b450aa2508213052b6b3300--


From nobody Wed Feb 10 06:27:12 2016
Return-Path: <rsalz@akamai.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D4121B2B4D for <acme@ietfa.amsl.com>; Wed, 10 Feb 2016 06:27:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.702
X-Spam-Level: 
X-Spam-Status: No, score=-2.702 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, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
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 FdQzc_vyGb4m for <acme@ietfa.amsl.com>; Wed, 10 Feb 2016 06:27:09 -0800 (PST)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id 9219D1B2B47 for <acme@ietf.org>; Wed, 10 Feb 2016 06:27:09 -0800 (PST)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id F039720004B; Wed, 10 Feb 2016 14:27:08 +0000 (GMT)
Received: from prod-mail-relay08.akamai.com (prod-mail-relay08.akamai.com [172.27.22.71]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id DAC37200045; Wed, 10 Feb 2016 14:27:08 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1455114428; bh=Z4zEi1UMxI5fb4gWDdJu+ywdhZ2zj73PI899a1yws5o=; l=308; h=From:To:CC:Date:References:In-Reply-To:From; b=runOHr/zLYuxmi8vdWYxryI2GEWD53kI6kS2HnivA0+zWomQEsI7soIuTNL3L2ENz amCjcxOYqDcGVR/o5AsCyul8o/hmuXOOx+xXwNqFgdAHsV0XMRE2EkMB0I3lsyI8q8 bk7d/SlHnMCSFO1Bm4kJkYibUIc2IoAfrMiTtQ+0=
Received: from email.msg.corp.akamai.com (ustx2ex-cas4.msg.corp.akamai.com [172.27.25.33]) by prod-mail-relay08.akamai.com (Postfix) with ESMTP id D793998082; Wed, 10 Feb 2016 14:27:08 +0000 (GMT)
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb4.msg.corp.akamai.com (172.27.27.104) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Wed, 10 Feb 2016 08:27:08 -0600
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1076.000; Wed, 10 Feb 2016 08:27:08 -0600
From: "Salz, Rich" <rsalz@akamai.com>
To: Eric Rescorla <ekr@rtfm.com>, Michael Wyraz <michael@wyraz.de>
Thread-Topic: [Acme] Proposal for http challenge: Lookup SRV records before A/AAAA records
Thread-Index: AQHRZA7cncYTSvi0SU6TS8wW3cHyt58lVfTg
Date: Wed, 10 Feb 2016 14:27:07 +0000
Message-ID: <7d88aa61208f4b26ae1761405a4d7d87@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <56BA5BFF.2040207@wyraz.de> <CABcZeBP=Ck25mGZi+NQ71VhW9eHRS3FzRH7bx6py19ormE0fGg@mail.gmail.com>
In-Reply-To: <CABcZeBP=Ck25mGZi+NQ71VhW9eHRS3FzRH7bx6py19ormE0fGg@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: [172.19.35.78]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/TBqIu9IwOsEDfJ-AtiGBZJAnWtg>
Cc: IETF ACME <acme@ietf.org>
Subject: Re: [Acme] Proposal for http challenge: Lookup SRV records before A/AAAA records
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 10 Feb 2016 14:27:11 -0000

DQo+IFRoaXMgZG9lc24ndCBzZWVtIGxpa2UgYSBncmVhdCBpZGVhLiBBQ01FIHNob3VsZCBsYXJn
ZWx5IGJlaGF2ZSB0aGUgc2FtZSB3YXkNCnRoYXQgV2ViIGNsaWVudHMgZG8uIElmIHlvdSB3YW50
IHRvIG11Y2sgd2l0aCBETlMganVzdCB1c2UgdGhlIEROUyBjaGFsbGVuZ2VzLg0KDQpBcyBhbiBp
bmRpdmlkdWFsLCBub3QgY28tY2hhaXIsIEkgc3Ryb25nbHkgYWdyZWUgd2l0aCB0aGlzLg0K


From nobody Wed Feb 10 06:35:37 2016
Return-Path: <hallam@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D5A51B2B72 for <acme@ietfa.amsl.com>; Wed, 10 Feb 2016 06:35:36 -0800 (PST)
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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 ZSsLOngB9Qyf for <acme@ietfa.amsl.com>; Wed, 10 Feb 2016 06:35:34 -0800 (PST)
Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (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 91C8A1B2B66 for <acme@ietf.org>; Wed, 10 Feb 2016 06:35:16 -0800 (PST)
Received: by mail-pf0-x22d.google.com with SMTP id c10so13131193pfc.2 for <acme@ietf.org>; Wed, 10 Feb 2016 06:35:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=sender:date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=M98JjOP/nWlym2a2FqzNOcTJSthVTQeBg/w36oexGO0=; b=tOz2/OV64t9jEeFpmB709fZA+Z29yZNvPCyUCAMuqHDB6EI45oEgT0ssJI+CmaTJ8+ ALut2+Bkrm5+hlhzhkwwAa0tMlXR0klBdQ4VqPk2Z1KqQ+8iGRjsLS9Z8HSOQgKJV0BB 9hDrhcDdVypZ8S51wNpCbWnV7ToRvu7hKioX+3Z35VkUjtHbkZqdODDKr0ZsHLcAokBa oBgZBxJTn0SKIQ3D0v99XR0WxvBHkb0m727qfGMZFqW5zDWeoCfchrBTeWCpoyD7kYJM ehBHIbYwhJRBN/FvqkdSTeIV+bFpwTubS6J2vuqS3idk9y95o6TD1eR0A6AIIddKUUwc TqbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type; bh=M98JjOP/nWlym2a2FqzNOcTJSthVTQeBg/w36oexGO0=; b=JylcLffI4acNlLe30h6rbkxjauXlu7p+nF+CgMnhn1AeZXmcIblpAb8Uws1rAPKsyu WcGr70QBODHlkBIGUYI1OS2XBaR4ITx9BVymC1zO3UNOYPN9s7Gu1C+LvSnMCb5l8PU4 Db6FBnFj6IfGTPj54j4kgfYaOk4T+XNU7WgIVB+eaTv5VmdRScK76lOOyZl21ZHQUPSV wkdtsNI+RpbAcJPRbDFPAzZgMSiPMuttOLnyTawi74LZZLV3W372qMa3IxFp7/0fYjlJ mgt8ptCbBUK3etUUKk0EK913BImt7938O9Nirz8OMA6Pw45ZyYdzn47zl5VgPelMnjlu lW8w==
X-Gm-Message-State: AG10YOQhEgsXYZowIAgsWClxRZ4qN5ij6CsXI3v29jSWYF4DTDAnEvmqw67O/qZOjncH0w==
X-Received: by 10.98.80.80 with SMTP id e77mr58891853pfb.126.1455114916232; Wed, 10 Feb 2016 06:35:16 -0800 (PST)
Received: from mail.outlook.com (ec2-52-24-139-88.us-west-2.compute.amazonaws.com. [52.24.139.88]) by smtp.gmail.com with ESMTPSA id t29sm5771513pfi.8.2016.02.10.06.35.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 06:35:13 -0800 (PST)
Sender: Phillip Hallam-Baker <hallam@gmail.com>
Date: Wed, 10 Feb 2016 14:35:12 +0000 (UTC)
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Eric Rescorla <ekr@rtfm.com>, "Salz, Rich" <rsalz@akamai.com>,  Michael Wyraz <michael@wyraz.de>
Message-ID: <994C5976EA09B556.38B0AEAE-8312-4250-9413-D5729115421C@mail.outlook.com>
In-Reply-To: <7d88aa61208f4b26ae1761405a4d7d87@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <56BA5BFF.2040207@wyraz.de> <CABcZeBP=Ck25mGZi+NQ71VhW9eHRS3FzRH7bx6py19ormE0fGg@mail.gmail.com> <7d88aa61208f4b26ae1761405a4d7d87@ustx2ex-dag1mb1.msg.corp.akamai.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;  boundary="----=_Part_5267_1751946500.1455114912576"
X-Mailer: Outlook for iOS and Android
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/Zsc9X01IoOQ_SQ8dZU2Xts5vFwU>
Cc: IETF ACME <acme@ietf.org>
Subject: Re: [Acme] Proposal for http challenge: Lookup SRV records before A/AAAA records
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 10 Feb 2016 14:35:36 -0000

------=_Part_5267_1751946500.1455114912576
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Seems to me that we should specify a set of use cases, reduce them to requi=
rements and then make sure we have at least one mechanism that covers each =
use case.=C2=A0
It is not necessary for every use case to be covered by every mechanism. In=
 fact that is the point of having multiple mechanisms.

Sent from Outlook Mobile




On Wed, Feb 10, 2016 at 6:27 AM -0800, "Salz, Rich" <rsalz@akamai.com> wrot=
e:











> This doesn't seem like a great idea. ACME should largely behave the same =
way
that Web clients do. If you want to muck with DNS just use the DNS challeng=
es.

As an individual, not co-chair, I strongly agree with this.
_______________________________________________
Acme mailing list
Acme@ietf.org
https://www.ietf.org/mailman/listinfo/acme






------=_Part_5267_1751946500.1455114912576
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div>Seems to me that we should specify a set of use cases, reduce them to requirements and then make sure we have at least one mechanism that covers each use case.&nbsp;</div><div><br></div><div>It is not necessary for every use case to be covered by every mechanism. In fact that is the point of having multiple mechanisms.<br><br><div class="acompli_signature">Sent from <a href="https://aka.ms/sdimjr">Outlook Mobile</a></div><br></div><br><br><br>
<div class="gmail_quote">On Wed, Feb 10, 2016 at 6:27 AM -0800, "Salz, Rich" <span dir="ltr">&lt;<a href="mailto:rsalz@akamai.com" target="_blank">rsalz@akamai.com</a>&gt;</span> wrote:<br>
<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="3D&quot;ltr&quot;">
<pre>
&gt; This doesn't seem like a great idea. ACME should largely behave the same way
that Web clients do. If you want to muck with DNS just use the DNS challenges.

As an individual, not co-chair, I strongly agree with this.
_______________________________________________
Acme mailing list
Acme@ietf.org
https://www.ietf.org/mailman/listinfo/acme
</pre>
</div>

</blockquote>
</div>
</body></html>
------=_Part_5267_1751946500.1455114912576--


From nobody Fri Feb 12 15:00:09 2016
Return-Path: <jsha@eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DBF11ABD35 for <acme@ietfa.amsl.com>; Fri, 12 Feb 2016 15:00:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.104
X-Spam-Level: 
X-Spam-Status: No, score=-5.104 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 0m3YIfvjEBMg for <acme@ietfa.amsl.com>; Fri, 12 Feb 2016 15:00:06 -0800 (PST)
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 4A4A61AC3B1 for <acme@ietf.org>; Fri, 12 Feb 2016 15:00:06 -0800 (PST)
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=3MZA8WiG4snipC0WvYO0AgozYFUlQ94QWOSQ6PN8Ank=;  b=blV5J00wm8C19VGJa0HOwfuNMOizdSkb/p8eNhqSrpgWPvjm4JXbpgFUaK5gBj2ogSMQqhf+fhnOCrqQ7ZSkB+DgBZ3j97jfqOeEsEjVaUfbUgJBsvEfI3VuDqEEpjxv4UCQmMcO/eVFbJS29eY48ytUjjuKhxMnEXcyk4NzSMg=;
Received: ; Fri, 12 Feb 2016 15:00:05 -0800
To: Jonas Wielicki <jonas@wielicki.name>, acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name> <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com> <56B9BDD8.9010008@wielicki.name> <56BA4372.1010706@eff.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
X-Enigmail-Draft-Status: N1110
Message-ID: <56BE63F4.2000600@eff.org>
Date: Fri, 12 Feb 2016 15:00:04 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56BA4372.1010706@eff.org>
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: <http://mailarchive.ietf.org/arch/msg/acme/Jm_MJOH1XJOb-U37akDv4n2C4xY>
Subject: Re: [Acme] Support for domains with redundant but not immediately synchronized servers
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 12 Feb 2016 23:00:07 -0000

On 02/09/2016 11:52 AM, Jacob Hoffman-Andrews wrote:
> As I said previously, I think it would be better for implementers to
> query each IP they receive, until they get a success.
I thought some more about this from a CA implementation perspective, and
it would actually be rather painful and error-prone to implement.

In Boulder, we have a maximum amount of time we are willing to spend on
validating a challenge. Currently it's 60 seconds. We may increase it at
some point, but there will always be some limit. For hostnames that
return a large number of IP addresses, it's entirely possible we would
timeout before reaching the one IP address that is provisioned with the
challenge.

That means that instead of the nice clean "Push a challenge to any
server and it will work" guarantee, we would have a "Push a challenge to
any server, and it will work provided you don't have too many IP
addresses and the other instances respond quickly enough" guarantee.


From nobody Thu Feb 18 13:05:33 2016
Return-Path: <pepanbur@cisco.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCB091B357B for <acme@ietfa.amsl.com>; Thu, 18 Feb 2016 13:05:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.506
X-Spam-Level: 
X-Spam-Status: No, score=-14.506 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.006, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 BrkAkA5AjVOc for <acme@ietfa.amsl.com>; Thu, 18 Feb 2016 13:05:23 -0800 (PST)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 134B31B3556 for <acme@ietf.org>; Thu, 18 Feb 2016 13:04:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3475; q=dns/txt; s=iport; t=1455829496; x=1457039096; h=from:to:subject:date:message-id:mime-version; bh=LI03pC+TB2xgAR6t9IglubD0fRMTHRss4CLUd+dTZx0=; b=HDWMUyaJOSQ/7xRGGLY7Lw0dgX1zg64nbiHQpIm1PKoqHuCE0HNXM5jG I0r3UPiN4N/PkHQdJGbMHI1xiUtks2nnEKp+/uFwWGykBMqnwPkKD/nO8 Hkkn1ALnw0TQ/9HRCS959KKBw7wJQAeWqSJUD0795GSrvwGaQfU++woa7 A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BPBQC6McZW/4QNJK1egm5MUnO1DIUUA?= =?us-ascii?q?Q2BZ4d4OBQBAQEBAQEBZBwLhEgtXgEMKUsmAQQbDIgGnUyebAEBAQEGAQEBARy?= =?us-ascii?q?GEokvg3sFlwUBjVKOemcEjVsBHgEBQoNjiQ0BewEBAQ?=
X-IronPort-AV: E=Sophos;i="5.22,467,1449532800";  d="scan'208,217";a="240169794"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Feb 2016 21:04:45 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id u1IL4jND027382 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <acme@ietf.org>; Thu, 18 Feb 2016 21:04:45 GMT
Received: from xch-aln-005.cisco.com (173.36.7.15) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Thu, 18 Feb 2016 15:04:46 -0600
Received: from xch-aln-005.cisco.com ([173.36.7.15]) by XCH-ALN-005.cisco.com ([173.36.7.15]) with mapi id 15.00.1104.009; Thu, 18 Feb 2016 15:04:44 -0600
From: "Peter Panburana (pepanbur)" <pepanbur@cisco.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: Clarification on usage of account key pair with regards to certificate issuance
Thread-Index: AdFqjiI+xCo2wTk+S5SdpK5MAyd3ig==
Date: Thu, 18 Feb 2016 21:04:44 +0000
Message-ID: <89bd35285eec45c2976a99c962df4f8d@XCH-ALN-005.cisco.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: [64.102.57.106]
Content-Type: multipart/alternative; boundary="_000_89bd35285eec45c2976a99c962df4f8dXCHALN005ciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/l7F2vvpBRa_dKuPDhFIsB5YdrYM>
Subject: [Acme] Clarification on usage of account key pair with regards to certificate issuance
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 18 Feb 2016 21:05:30 -0000

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

Hello,

I was browsing through the Let's Encrypt community support forum I saw a di=
scussion regarding the usage of an ACME account key pair and the creation o=
f a CSR for enrollment. The replies in that thread indicated that account k=
eys cannot be used to create that a CSR that an ACME client wishes to enrol=
l. I would like to know if a normative statement should be included in the =
draft, possibly in the certificate issuance section, stating that a client =
MUST enroll CSRs with a private key that is different than the ACME account=
 private key.

Thank you,

Peter

--_000_89bd35285eec45c2976a99c962df4f8dXCHALN005ciscocom_
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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	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=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"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I was browsing through the Let&#8217;s Encrypt commu=
nity support forum I saw a discussion regarding the usage of an ACME accoun=
t key pair and the creation of a CSR for enrollment. The replies in that th=
read indicated that account keys cannot
 be used to create that a CSR that an ACME client wishes to enroll. I would=
 like to know if a normative statement should be included in the draft, pos=
sibly in the certificate issuance section, stating that a client MUST enrol=
l CSRs with a private key that is
 different than the ACME account private key.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thank you,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Peter<o:p></o:p></p>
</div>
</body>
</html>

--_000_89bd35285eec45c2976a99c962df4f8dXCHALN005ciscocom_--


From nobody Mon Feb 22 10:59:49 2016
Return-Path: <hlandau@devever.net>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AB9B1ACDF7 for <acme@ietfa.amsl.com>; Mon, 22 Feb 2016 10:59:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.694
X-Spam-Level: 
X-Spam-Status: No, score=0.694 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.006, SPF_PASS=-0.001, TVD_PH_BODY_ACCOUNTS_PRE=0.001] autolearn=ham
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 JnaIi2mq5-BK for <acme@ietfa.amsl.com>; Mon, 22 Feb 2016 10:59:46 -0800 (PST)
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 E92FA1A1B15 for <acme@ietf.org>; Mon, 22 Feb 2016 10:59:45 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 035471C1B7 for <acme@ietf.org>; Mon, 22 Feb 2016 19:59:44 +0100 (CET)
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=1456167583; x=1474356944; bh=Nf0t kDOMX/00Re4C8FaqS207TTIP5o1wfyrE7rMFsYU=; b=E1/+78mt7AowLmXWqBki 5HfKvtTA0VPPhAPVC9W6+TPm91FifipYPBbyTlirzyvDAP5viOGx3XdRtOmwmVCM 2zz55i3cShYDEyihiZg1irGpEp8TwB8bCfmGxMsNlXL4kvXpaYNyBZkDICTv3cIi zFdHKS6qVRWyiX5AXlSCpvYdEiTBpTaXCl+RWRmfEvWCzP4jXPhZbDH6bbr+/2j/ +k62FodJoKIPDfIFP3PtClkcYNtusv6XP/xqAYPS7lUeS9qbq4KfALKd6f2Yg9u1 rHe9LBNNqixpNKAQX5ENoHlhd4HiM7412jdTRQEqCOEbxbR9zL/YIP3WWpPhMes9 Xg==
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 cHzoh3IXKEN2 for <acme@ietf.org>; Mon, 22 Feb 2016 19:59:43 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id A35DD1C083 for <acme@ietf.org>; Mon, 22 Feb 2016 19:59:43 +0100 (CET)
Date: Mon, 22 Feb 2016 18:59:43 +0000
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20160222185942.GA9780@andover>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/mfxIJhorfx2Z2UMNAQU9DYvRSRY>
Subject: [Acme] CAA account key binding PR
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 22 Feb 2016 18:59:48 -0000

I've published my previous proposal for ACME account key thumbprint
binding via CAA records as a pull request.

<https://github.com/ietf-wg-acme/acme/pull/85>

An implementation for this functionality is now available as a patch
against boulder.

<https://github.com/letsencrypt/boulder/pull/1486>

Comments welcome.


From nobody Thu Feb 25 10:52:33 2016
Return-Path: <jjones@mozilla.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65F751B2D00 for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 10:52:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.279
X-Spam-Level: 
X-Spam-Status: No, score=-1.279 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, SPF_PASS=-0.001] autolearn=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 KoDFy_2R1uEL for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 10:52:28 -0800 (PST)
Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::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 E24101B3152 for <acme@ietf.org>; Thu, 25 Feb 2016 10:52:27 -0800 (PST)
Received: by mail-qg0-x235.google.com with SMTP id b35so47253201qge.0 for <acme@ietf.org>; Thu, 25 Feb 2016 10:52:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:content-type; bh=6ozWCDx79G0Vdz3pNwoL90LHkIEu4NwMrmwHtVwGzJ0=; b=Nn9IfrAbZD/N67mFC8sCkRF6noIqV2qZeg9Zki6GMSEpcfYRnshL5e7BFqTX+VfE+M uB07CelgCqPhOfE+DE3nYje2hlhUjWF1WC9Gx4V2bI2NEN/gRdehbavUj+0EJTG3Zjbq WoGilBg02ovuAuAmPJTYomupsRPsO6bs+RkVR3/j1x79KUzEE/EeIIdrMIgwie7rcjx2 SfmGE8FhXeWLRUyslacY9UYuWR2H8p5aAz8af7AP5LPemSsi1mWMa9dAS25nypOWi1JX FovozmPVKPpv2waXEHKm02MOuOI9eyM7nGu6MUutzWoA6iMFQ/V1drQcAwvb7YKhk9Xk sehA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=6ozWCDx79G0Vdz3pNwoL90LHkIEu4NwMrmwHtVwGzJ0=; b=Dvdu7U1nGR5QV3Eunptz3IgrF3joBkjURA+5PeR2cL4f/9j3JohxilK2vPwqlkzC0+ kO6GOq3vVXvaCX7Cf3YQ0uyjGOWGifg0D34kz6mKS/l4LKTS+092wNTmsjGsOByFgkUc f2xlEfpl4LEO5YDR1h0Ft2iRqlAVJQDgswlawVsuOU/vkARIk+k5vReH9l1nweNatXnK aEF41zIAPz37S7pmwpKFpqR+IcEjk+MQMSiC/Oy4w1zWw7D+BJxIlQ2hGI1HupfyXBKF L16zJYwEqv75qwHI4gkppO0bvO0L7k49EaINj+Ey1l0ERbxlWz6FyvU35nXHEvL7DslX ZpFw==
X-Gm-Message-State: AG10YOSB0J1EFfVrTknmD61KPtatrnN8ZtImwE44lwq2nx2NHxi6pa5SRQnbw5flfLfB0QZ+C0dOVRBhJC1Xq4Ql
X-Received: by 10.140.20.39 with SMTP id 36mr57477896qgi.15.1456426346898; Thu, 25 Feb 2016 10:52:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.167.211 with HTTP; Thu, 25 Feb 2016 10:52:07 -0800 (PST)
From: "J.C. Jones" <jjones@mozilla.com>
Date: Thu, 25 Feb 2016 11:52:07 -0700
Message-ID: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com>
To: acme <acme@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/_4-P6UCOqrP1tMmY8K8zr6mixoU>
Subject: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 18:52:31 -0000

All,

The CA/Browser Forum Domain Validation Working Group (DVWG) is
revising the section of the Baseline Requirements that permit the use
of ACME's challenges in compliant CAs; the BRs are the rules that CAs
in the Web PKI are required to follow. The most recent draft [1] was
sent this morning [2] and has several changes that need to be aligned
somehow with ACME.  I wanted to check with the ACME list to see if
there are any changes that we need to propose to the DVWG document to
ensure that it is compatible with using ACME.

The ACME  "Key Authorization" concept in general appears compliant
with the draft BR concept of a "Random Value". That was the intention
of the DVWG and it appears true to me; all subsequent points are
assuming that to be true, but please check!

The DNS-XX challenge appears compliant with the draft BR Paragraph
7.b, assuming that the ballot does not change to specify any prefixes
on the DNS record name.

The HTTP-XX challenge is generally compliant with BR Paragraph 6.b,
but we will need to make sure that whatever string is used in the
challenge is allowed by the BRs. I have proposed to the DVWG that they
permit the ACME path, either explicitly, or by permitting any path
registered with IANA for the purpose of Domain Validation [3].

The TLS-SNI-XX challenges do not appear to be permitted, as there is
no provision in Paragraph 6 for TLS metadata, and the Paragraph 9
definition of a Test Certificate requires the presented certificate to
use the public key from the (eventual) CSR.

  * The TLS-SNI-XX challenges could be construed as permitted if the
challenge defined that an HTTP request should be performed for one of
the well-known paths after connection, as Paragraph 6 does permit the
Random Value to be "any other format as determined by the CA", which
could mean the SNI name. IMO, this is pretty ugly, but might be
livable. That said, the certificate in use would still require the use
of the CSR's keypair.

  * I will work on language for DVWG to propose to permit the use of
TLS connection metadata to hold a "Random Value" without the reliance
on an HTTP GET. If anyone wants to help craft text here, please let me
know off-list.

It would be good to get feedback as soon as possible.  I have until
Friday, 4 March 2016 to obtain support for updates to the draft before
it is presented to the full CAB Forum for a vote on adoption. Once
adopted, this ballot will give a 6 month period for all CAs to revise
their validation methods to be compliant.

1) https://cabforum.org/pipermail/validation/attachments/20160225/d0015505/attachment-0001.pdf
2) https://cabforum.org/pipermail/validation/2016-February/000209.html
3) https://cabforum.org/pipermail/validation/2016-February/000210.html

--
J.C. Jones


From nobody Thu Feb 25 11:46:16 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C21D1B335B for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 11:46:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level: 
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 gljP55eyq7SS for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 11:46:12 -0800 (PST)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 112291B336D for <acme@ietf.org>; Thu, 25 Feb 2016 11:46:10 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id E35C2D4A; Thu, 25 Feb 2016 21:46:09 +0200 (EET)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id 7buIz5LUpwcR; Thu, 25 Feb 2016 21:46:09 +0200 (EET)
Received: from LK-Perkele-V2 (87-100-151-39.bb.dnainternet.fi [87.100.151.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 9E941C4; Thu, 25 Feb 2016 21:46:09 +0200 (EET)
Date: Thu, 25 Feb 2016 21:46:05 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "J.C. Jones" <jjones@mozilla.com>
Message-ID: <20160225194604.GA30171@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Sender: ilariliusvaara@welho.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/o4bogtvdI3UAhnUp1yxxA_KxG_c>
Cc: acme <acme@ietf.org>
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 19:46:14 -0000

On Thu, Feb 25, 2016 at 11:52:07AM -0700, J.C. Jones wrote:
> All,

> The TLS-SNI-XX challenges do not appear to be permitted, as there is
> no provision in Paragraph 6 for TLS metadata, and the Paragraph 9
> definition of a Test Certificate requires the presented certificate to
> use the public key from the (eventual) CSR.
> 
>   * The TLS-SNI-XX challenges could be construed as permitted if the
> challenge defined that an HTTP request should be performed for one of
> the well-known paths after connection, as Paragraph 6 does permit the
> Random Value to be "any other format as determined by the CA", which
> could mean the SNI name. IMO, this is pretty ugly, but might be
> livable. That said, the certificate in use would still require the use
> of the CSR's keypair.

Does the domain requested have to match domain to be verified? If it
does, that would be extremely nasty, since renewal would mean downtime,
and I don't see that being popular...

And how would that modified version of TLS-SNI-XX work?


-Ilari


From nobody Thu Feb 25 12:51:07 2016
Return-Path: <jjones@mozilla.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD7CD1B3509 for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 12:51:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.279
X-Spam-Level: 
X-Spam-Status: No, score=-3.279 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2, SPF_PASS=-0.001] autolearn=ham
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 pKs1x-qTHMTM for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 12:51:02 -0800 (PST)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::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 66AE71B2E21 for <acme@ietf.org>; Thu, 25 Feb 2016 12:51:02 -0800 (PST)
Received: by mail-qk0-x22a.google.com with SMTP id o6so24568573qkc.2 for <acme@ietf.org>; Thu, 25 Feb 2016 12:51:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=AY4+e+bAhrXuDeSV6mwJqzsst7AbYS8qHzqL05tLYi0=; b=lsTR5bXkVxVyz405pBNSNAbGqO1p3IdyASnWkbXgcwT816R+U/27K7GHeiiulnDxDX mHJckmSfZtBd7GpqRztapi2eDz+SOA3+83KGT5R0uzGk/sYvhXBRigYPEgw3LNt/LyoW OK2N67ThvfYILDnZ/+cwwC2r3ZIJYrP/9hLFpHgIROHmbaaRcjIsDPgoberHcPbrfBks TQG11/3+9GQQN3TwP+Q9bML3sfAgQsphYYrB2A/KZ6B0IGp9uGe9EnDhOGxLBVr/vGQc Pd5vaIYR1aCPQ4A9RiySDWliyZ9apzEKTBpJ0Mhajk5ZTkhh3YoW4GpCuWRaVfhXIb5Z ZBLA==
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:content-type:content-transfer-encoding; bh=AY4+e+bAhrXuDeSV6mwJqzsst7AbYS8qHzqL05tLYi0=; b=Z5eQWZviYzS+wq9OfuVkiDsi+7i5VbCzONvlD36eb7I5FoQWtwZrftpGNftpGA3gbc +00MFb6TddxSyYO8dlNxBwyei1OmpWlAo/62DNDFuyzG1KIMi76uJ3W/5TOFrac2cxH4 wTTMwl0z6H2l7yphhdgKBnYtfRvqDxA2gk72xqMDAS3DJDvdHt4fIpw6vfEPKP13sGGa gP+iMEnIwfAU+CtpxpzmYpr/gHRMj+rDsRI7WTs7nGMmEM9/X5VXQ4jLf9wf08ZO/ZcX zc0zOfenNbkToeiL76LirOjIbI4yBYwtDRDM7sVvDoXmRuI8R4Wr5Y/cIztuwLPkJ8cu 0lkg==
X-Gm-Message-State: AG10YOQRuBojgmZ5zZSFjHB2UWVgi2IZ/eB8bTP/MyGU1YnGAo4rSRMZ3DJcajFQ8Z+z1igOB6yoJTeN2RR4Inwd
X-Received: by 10.55.209.148 with SMTP id o20mr41884777qkl.5.1456433461313; Thu, 25 Feb 2016 12:51:01 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.167.211 with HTTP; Thu, 25 Feb 2016 12:50:41 -0800 (PST)
In-Reply-To: <20160225194604.GA30171@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com> <20160225194604.GA30171@LK-Perkele-V2.elisa-laajakaista.fi>
From: "J.C. Jones" <jjones@mozilla.com>
Date: Thu, 25 Feb 2016 13:50:41 -0700
Message-ID: <CAObDDPBn180g6CWOqUaMy9b6bqH+HhzZfMyx2Bbi4LC+JaNFVA@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/R9r4E70v4HNdpFAnYIT-5o5tvAc>
Cc: acme <acme@ietf.org>
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 20:51:06 -0000

The correct approach to protect the TLS-SNI series of challenges is to
adjust the BRs to permit it, rather than attempt to shoehorn it in. :)

Still, as to the shoehorning:

It's unclear to me whether the "Authorization Domain Name", as the
draft BRs define it, must be used for the SNI field. I believe that
was the intention, but the letter of the draft does not appear to
require it. The draft wording of Paragraph 9, where TLS-SNI has the
most overlap, is:

>   9. Confirming the Applicant's control over the requested FQDN by
>   confirming the presence on the FQDN of a Test Certificate (using the
>   same public key) issued by the CA for the purposes of this method
>   and which is accessible by the CA via TLS over an Authorized Port.

The workflow that /might/ satisfy could be:

1. Client creates (or loads) the keypair KP_final that will be used
for example.com

2. Client posts to the New Authorization endpoint requesting challenges

3. Client constructs a self-signed certificate, using the keypair
KP_final and the ACME-specified SAN

4. Client configures the normal =E2=80=9C<Z[0:32]>.<Z[32:64]>.acme.invalid=
=E2=80=9D
SNI value to present the self-signed certificate

5. Client completes the TLS-SNI challenge per spec via the
Authorization endpoint

6. Client creates a CSR for example.com using KP_final

7. Client downloads and installs the CA-signed certificate, using
KP_final as the key


J.C. Jones


On Thu, Feb 25, 2016 at 12:46 PM, Ilari Liusvaara
<ilariliusvaara@welho.com> wrote:
> On Thu, Feb 25, 2016 at 11:52:07AM -0700, J.C. Jones wrote:
>> All,
>
>> The TLS-SNI-XX challenges do not appear to be permitted, as there is
>> no provision in Paragraph 6 for TLS metadata, and the Paragraph 9
>> definition of a Test Certificate requires the presented certificate to
>> use the public key from the (eventual) CSR.
>>
>>   * The TLS-SNI-XX challenges could be construed as permitted if the
>> challenge defined that an HTTP request should be performed for one of
>> the well-known paths after connection, as Paragraph 6 does permit the
>> Random Value to be "any other format as determined by the CA", which
>> could mean the SNI name. IMO, this is pretty ugly, but might be
>> livable. That said, the certificate in use would still require the use
>> of the CSR's keypair.
>
> Does the domain requested have to match domain to be verified? If it
> does, that would be extremely nasty, since renewal would mean downtime,
> and I don't see that being popular...
>
> And how would that modified version of TLS-SNI-XX work?
>
>
> -Ilari


From nobody Thu Feb 25 13:01:09 2016
Return-Path: <hlandau@devever.net>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E17E61B340C for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 13:01:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.521
X-Spam-Level: 
X-Spam-Status: No, score=-0.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FAKE_REPLY_C=1.486, RP_MATCHES_RCVD=-0.006, SPF_PASS=-0.001] autolearn=ham
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 d_d-O84KTJNV for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 13:01:05 -0800 (PST)
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 64C331B33EF for <acme@ietf.org>; Thu, 25 Feb 2016 13:01:05 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id AAA061C1B7 for <acme@ietf.org>; Thu, 25 Feb 2016 22:01:03 +0100 (CET)
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=1456434063; x=1474623424; bh=GRdI nacNc7DG872o/xfnMAFL8rjR+jis1MBDnENCvcs=; b=DNZ5G1um8m+TROu/Bh8J kjJJXRZiVnZtA/ThxJO+rywgYOd1zPEp56X3VXL/NeviGoIcdy8JnOk+gqtcWDSm a8lGe46+GNPlbsXfnPyWhPMJ1YIVb1co6yfPzGLbJUd37EJ7v5ivRCi1zd2H1XP7 Wf3+r8rqqpZRIyRbT5jh78ffDx5FEKIfS4+glIGIsCjnY3f+VC1JsvZCIsAcQv7k r8WhSdpeAhZfIByFe8UhuHmmbWV0Ed0xC/98sjav0XNqY4Lvloef4WiRquR73rVj Zh//PDuI7AgRMgux1KRgsLNxzkMtqfTs1ccKMH3WnPHrHJIp455wVshX3FF9dhN0 vA==
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 4qlfSuGhZUTB for <acme@ietf.org>; Thu, 25 Feb 2016 22:01:03 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 7BF641C083 for <acme@ietf.org>; Thu, 25 Feb 2016 22:01:03 +0100 (CET)
Date: Thu, 25 Feb 2016 21:01:03 +0000
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20160225210103.GA31919@andover>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/nfL45sgF9vg-mIBQikkQUrz1OzY>
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 21:01:08 -0000

As was previously discussed, it would be desirable to allow
authorization to emerge from values (e.g. in DNS) which are not random,
but which unambiguously identify an account (i.e. an ACME account key
thumbprint).

It would be nice if this revision to the BRs was used as an opportunity
to secure such change. Is such a thing politically/otherwise infeasible?

Hugo Landau

On Thu, Feb 25, 2016 at 11:52:07AM -0700, J.C. Jones wrote:
> All,
> 
> The CA/Browser Forum Domain Validation Working Group (DVWG) is
> revising the section of the Baseline Requirements that permit the use
> of ACME's challenges in compliant CAs; the BRs are the rules that CAs
> in the Web PKI are required to follow. The most recent draft [1] was
> sent this morning [2] and has several changes that need to be aligned
> somehow with ACME.  I wanted to check with the ACME list to see if
> there are any changes that we need to propose to the DVWG document to
> ensure that it is compatible with using ACME.
> 
> The ACME  "Key Authorization" concept in general appears compliant
> with the draft BR concept of a "Random Value". That was the intention
> of the DVWG and it appears true to me; all subsequent points are
> assuming that to be true, but please check!
> 
> The DNS-XX challenge appears compliant with the draft BR Paragraph
> 7.b, assuming that the ballot does not change to specify any prefixes
> on the DNS record name.
> 
> The HTTP-XX challenge is generally compliant with BR Paragraph 6.b,
> but we will need to make sure that whatever string is used in the
> challenge is allowed by the BRs. I have proposed to the DVWG that they
> permit the ACME path, either explicitly, or by permitting any path
> registered with IANA for the purpose of Domain Validation [3].
> 
> The TLS-SNI-XX challenges do not appear to be permitted, as there is
> no provision in Paragraph 6 for TLS metadata, and the Paragraph 9
> definition of a Test Certificate requires the presented certificate to
> use the public key from the (eventual) CSR.
> 
>   * The TLS-SNI-XX challenges could be construed as permitted if the
> challenge defined that an HTTP request should be performed for one of
> the well-known paths after connection, as Paragraph 6 does permit the
> Random Value to be "any other format as determined by the CA", which
> could mean the SNI name. IMO, this is pretty ugly, but might be
> livable. That said, the certificate in use would still require the use
> of the CSR's keypair.
> 
>   * I will work on language for DVWG to propose to permit the use of
> TLS connection metadata to hold a "Random Value" without the reliance
> on an HTTP GET. If anyone wants to help craft text here, please let me
> know off-list.
> 
> It would be good to get feedback as soon as possible.  I have until
> Friday, 4 March 2016 to obtain support for updates to the draft before
> it is presented to the full CAB Forum for a vote on adoption. Once
> adopted, this ballot will give a 6 month period for all CAs to revise
> their validation methods to be compliant.
> 
> 1) https://cabforum.org/pipermail/validation/attachments/20160225/d0015505/attachment-0001.pdf
> 2) https://cabforum.org/pipermail/validation/2016-February/000209.html
> 3) https://cabforum.org/pipermail/validation/2016-February/000210.html
> 
> --
> J.C. Jones
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme

----- End forwarded message -----


From nobody Thu Feb 25 13:18:04 2016
Return-Path: <jjones@mozilla.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 224811B3578 for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 13:18:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.279
X-Spam-Level: 
X-Spam-Status: No, score=-1.279 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, SPF_PASS=-0.001] autolearn=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 Ymr7ZGKdR5Tx for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 13:18:00 -0800 (PST)
Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::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 1F75B1B357B for <acme@ietf.org>; Thu, 25 Feb 2016 13:17:59 -0800 (PST)
Received: by mail-qg0-x233.google.com with SMTP id b35so50654825qge.0 for <acme@ietf.org>; Thu, 25 Feb 2016 13:17:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=09EXqHQmWixMTt064nHEJEJny9aPZAH/IpDaWnSWRLM=; b=LIlPH1um+7lEDYlfgeKGTHK26FYFjfCGas40ESPFGWQAFDMObJt8E8eFkR46j1NZZH ltmGMPCJwDrJQeQiJrGlGvfBmPB0ePlA5NCosY5NWT+waLPuwswgO7QX0QLuNPNFZ/6A y82vdSpQJc0E2dgxEcsZcJAzxEbE/Sa031GoLagPPxkn1PJEdq9J2rqlue3TS2XJogxg n31fimbZtVQMPpfOEMcQn2NqWaf5Xwnc+X+dj5Udd6K/i+thKSROcgDDlEnzyuqM/Q30 tFmkfZlWtp/WS20fW8TZRWoso03N3m1fCE5AV4oLgFsbhlGhVgqvrIKlssFl4kuCcTyi 3Byw==
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:content-type; bh=09EXqHQmWixMTt064nHEJEJny9aPZAH/IpDaWnSWRLM=; b=My0dRHgrkkTXTgJ7GODbgnEdwddWX2+SOfrFAFsZ3zdid8sJ3zcFsT+kCQyNenacXv FPYz0+dpUdxhhL1pxaA21ff+baljMWOcdMCiSf7ftKa6dWK+giqUq9nAP5IYfE2cYge8 /Z3WcyIn8MHlqfprLLQqcmpLdqLVKrUhErqOrPKOiDXr9xMjDpgGbwg2PgnB++o1ZO/i VeoDGqfRyxx5hnAq/5ZYmttz3saGxisRZogR6RXTwameoI5HM/bOFE6u5SzqmBhv3R3b EJz2Lj+asTrmiWG3quE32AFxrZhwsu+WXBOpS010cVn0/d4r/hUJ52XoJkDp8pY0Q0vd kLCQ==
X-Gm-Message-State: AG10YOQfsvaKJifOI+uFl/kv1j6gYEyEb8kf9zzMzZ77FsFTKcUeSRLTdmFSrl1917HzunzB15Vq7kh2hlcQSKIp
X-Received: by 10.140.163.5 with SMTP id j5mr42033989qhj.68.1456435079008; Thu, 25 Feb 2016 13:17:59 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.167.211 with HTTP; Thu, 25 Feb 2016 13:17:39 -0800 (PST)
In-Reply-To: <20160225210103.GA31919@andover>
References: <20160225210103.GA31919@andover>
From: "J.C. Jones" <jjones@mozilla.com>
Date: Thu, 25 Feb 2016 14:17:39 -0700
Message-ID: <CAObDDPBJVpvuRLK+tOwU8OpHb2SxvNgi=Ngbazbb1LHVpTU4Bw@mail.gmail.com>
To: Hugo Landau <hlandau@devever.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/V3C9yybul3y51y_Wx8arFZPeSCI>
Cc: acme <acme@ietf.org>
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 21:18:03 -0000

Hugo,

There's a concept on the new DV ballot called a Request Token which could
accomplish this: a structure somehow incorporating the subject public key
that is eventually used in the certificate.

The Request Token currently is only defined using the subject public key, but
could be expanded to include the concept of an account key. That amount of
scope increase sounds difficult to pull off in the next week, but we are invited
to propose another update after this one.

It seems to me that the DVWG's preferred approach would be to have ACME
provide protocol leadership, and then for them to review and bless validation
methods for use in the web PKI.

- J.C.

On Thu, Feb 25, 2016 at 2:01 PM, Hugo Landau <hlandau@devever.net> wrote:
> As was previously discussed, it would be desirable to allow
> authorization to emerge from values (e.g. in DNS) which are not random,
> but which unambiguously identify an account (i.e. an ACME account key
> thumbprint).
>
> It would be nice if this revision to the BRs was used as an opportunity
> to secure such change. Is such a thing politically/otherwise infeasible?
>
> Hugo Landau
>


From nobody Thu Feb 25 13:57:21 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E811F1B35F2 for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 13:57:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level: 
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 rGh0KxFN5SVw for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 13:57:16 -0800 (PST)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 5CCB21B35D6 for <acme@ietf.org>; Thu, 25 Feb 2016 13:57:16 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id CAAD62EBD; Thu, 25 Feb 2016 23:57:14 +0200 (EET)
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-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id VVUQDCZs9X_W; Thu, 25 Feb 2016 23:57:14 +0200 (EET)
Received: from LK-Perkele-V2 (87-100-151-39.bb.dnainternet.fi [87.100.151.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 73EEF283; Thu, 25 Feb 2016 23:57:14 +0200 (EET)
Date: Thu, 25 Feb 2016 23:57:10 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "J.C. Jones" <jjones@mozilla.com>
Message-ID: <20160225215710.GC30171@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com> <20160225194604.GA30171@LK-Perkele-V2.elisa-laajakaista.fi> <CAObDDPBn180g6CWOqUaMy9b6bqH+HhzZfMyx2Bbi4LC+JaNFVA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAObDDPBn180g6CWOqUaMy9b6bqH+HhzZfMyx2Bbi4LC+JaNFVA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Sender: ilariliusvaara@welho.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/kZg28GfO256znQJ-28m4JX1oLgw>
Cc: acme <acme@ietf.org>
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 21:57:19 -0000

On Thu, Feb 25, 2016 at 01:50:41PM -0700, J.C. Jones wrote:
> 
> >   9. Confirming the Applicant's control over the requested FQDN by
> >   confirming the presence on the FQDN of a Test Certificate (using the
> >   same public key) issued by the CA for the purposes of this method
> >   and which is accessible by the CA via TLS over an Authorized Port.
> 
> The workflow that /might/ satisfy could be:
> 
> 1. Client creates (or loads) the keypair KP_final that will be used
> for example.com
> 
> 2. Client posts to the New Authorization endpoint requesting challenges
> 
> 3. Client constructs a self-signed certificate, using the keypair
> KP_final and the ACME-specified SAN
> 
> 4. Client configures the normal â€œ<Z[0:32]>.<Z[32:64]>.acme.invalidâ€�
> SNI value to present the self-signed certificate
> 
> 5. Client completes the TLS-SNI challenge per spec via the
> Authorization endpoint
> 
> 6. Client creates a CSR for example.com using KP_final
> 
> 7. Client downloads and installs the CA-signed certificate, using
> KP_final as the key
 
There's also question about what "issued by the CA" in context of
test certificate (which is defined term) means.



If you could pull that off in context of DV guidelines, I don't see
why one couldn't just stick the account key in critical extension and
self-sign the thing with the final key and bind that to some SNI (this
is stateless method even)...

(I actually think that might fly (modulo possible same name requirement)
if there was CA signature using key dedicated for signing (yes, totally
pointless security-wise) on that cert...)


-Ilari


From nobody Thu Feb 25 14:19:56 2016
Return-Path: <pde@mail2.eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F6241B3683 for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 14:19:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.008
X-Spam-Level: 
X-Spam-Status: No, score=-7.008 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.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 Q4-FQzfaTjer for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 14:19:53 -0800 (PST)
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 EBA2A1B3686 for <acme@ietf.org>; Thu, 25 Feb 2016 14:19:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=M96wBo07uM4g5bI7T50O/4/tMQ367LgPCeacp2pL7ag=;  b=uDKtaymA70fs/sPDDFTwN+pgm83kprAwdZoujeLnkR6TCqBD44lfyMb07VxzuHPAF9/Dg+cJ980qc30iYop4vN5YCTVP/slplGetfNjtWeZIh9bHhZFbPtvlK1RiDfufC06THb+l/GIC2rLhUrdgjLALDH6dkWbgvpeYdPohX2I=;
Received: ; Thu, 25 Feb 2016 14:19:52 -0800
Date: Thu, 25 Feb 2016 14:19:52 -0800
From: Peter Eckersley <pde@eff.org>
To: "J.C. Jones" <jjones@mozilla.com>
Message-ID: <20160225221952.GW9093@eff.org>
References: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAObDDPBG0PO_n34OmDRdrigtsn-G0jmo2-C07c8=+h=cG0Cdqg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/hMSaa_d6QsQK9jY8Jbfif_6w7JU>
Cc: acme <acme@ietf.org>
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2016 22:19:55 -0000

Last July I believe James Kasten drafted a minor adjustment to the DVWG's
draft so that it would cover DVSNI/TLS-SNI-01, and tried to send it to
the DVWG.

He proposed slightly adjusting the language of clause 9 to allow a
Request Token to be contained within the Test Certificate instead:

# 9. Having the Applicant demonstrate practical control over the FQDN by 
the Applicant requesting and then installing a Test Certificate issued
by the CA, or installing a Test Certificate containing a Random Value or
Request Token on the FQDN which is accessed and then validated via https
by the CA either at port port 80, SMTP, 443, SFTP, â€¦. (Addition is
highlighted in yellow) 

Making that change to the DVWG proposal is much more sensible that
changing the wire protocol, which will break any client populations that
aren't auto-updating.

On Thu, Feb 25, 2016 at 11:52:07AM -0700, J.C. Jones wrote:
> All,
> 
> The CA/Browser Forum Domain Validation Working Group (DVWG) is
> revising the section of the Baseline Requirements that permit the use
> of ACME's challenges in compliant CAs; the BRs are the rules that CAs
> in the Web PKI are required to follow. The most recent draft [1] was
> sent this morning [2] and has several changes that need to be aligned
> somehow with ACME.  I wanted to check with the ACME list to see if
> there are any changes that we need to propose to the DVWG document to
> ensure that it is compatible with using ACME.
> 
> The ACME  "Key Authorization" concept in general appears compliant
> with the draft BR concept of a "Random Value". That was the intention
> of the DVWG and it appears true to me; all subsequent points are
> assuming that to be true, but please check!
> 
> The DNS-XX challenge appears compliant with the draft BR Paragraph
> 7.b, assuming that the ballot does not change to specify any prefixes
> on the DNS record name.
> 
> The HTTP-XX challenge is generally compliant with BR Paragraph 6.b,
> but we will need to make sure that whatever string is used in the
> challenge is allowed by the BRs. I have proposed to the DVWG that they
> permit the ACME path, either explicitly, or by permitting any path
> registered with IANA for the purpose of Domain Validation [3].
> 
> The TLS-SNI-XX challenges do not appear to be permitted, as there is
> no provision in Paragraph 6 for TLS metadata, and the Paragraph 9
> definition of a Test Certificate requires the presented certificate to
> use the public key from the (eventual) CSR.
> 
>   * The TLS-SNI-XX challenges could be construed as permitted if the
> challenge defined that an HTTP request should be performed for one of
> the well-known paths after connection, as Paragraph 6 does permit the
> Random Value to be "any other format as determined by the CA", which
> could mean the SNI name. IMO, this is pretty ugly, but might be
> livable. That said, the certificate in use would still require the use
> of the CSR's keypair.
> 
>   * I will work on language for DVWG to propose to permit the use of
> TLS connection metadata to hold a "Random Value" without the reliance
> on an HTTP GET. If anyone wants to help craft text here, please let me
> know off-list.
> 
> It would be good to get feedback as soon as possible.  I have until
> Friday, 4 March 2016 to obtain support for updates to the draft before
> it is presented to the full CAB Forum for a vote on adoption. Once
> adopted, this ballot will give a 6 month period for all CAs to revise
> their validation methods to be compliant.
> 
> 1) https://cabforum.org/pipermail/validation/attachments/20160225/d0015505/attachment-0001.pdf
> 2) https://cabforum.org/pipermail/validation/2016-February/000209.html
> 3) https://cabforum.org/pipermail/validation/2016-February/000210.html
> 
> --
> J.C. Jones
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
> 

-- 
Peter Eckersley                            pde@eff.org
Chief Computer Scientist          Tel  +1 415 436 9333 x131
Electronic Frontier Foundation    Fax  +1 415 436 9993


From nobody Thu Feb 25 16:03:43 2016
Return-Path: <hlandau@devever.net>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3462C1B3804 for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 16:03:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level: 
X-Spam-Status: No, score=-2.007 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.006, SPF_PASS=-0.001] autolearn=ham
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 cR8Sd_zGax2U for <acme@ietfa.amsl.com>; Thu, 25 Feb 2016 16:03:40 -0800 (PST)
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 27CF41B3809 for <acme@ietf.org>; Thu, 25 Feb 2016 16:03:40 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 9A2171C1B7; Fri, 26 Feb 2016 01:03:38 +0100 (CET)
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=1456445018; x=1474634379; bh=B5Ar BNQ5UDH4JGfD6YcBYsamZSUUSwvj2CsTRSn3hg0=; b=MRMtI2mT2bFacG3DgYJT JGLNezuKLLaHrGX/7Ii0sF58VAwM/X1M1kELQYKWwJjMOvB1SSrWgFM+c89f7fxd QfH0RXnQWedaOE3Qe6AwGG3rfV5Ulz+ebbI2GvuaM0GZEBZeJQ6REZNMvzUaxp8Y rOocXkS2oSLmGx/1D28lXPPQHnZy6Vvw18HQU5Kv36H3/VyTRT6vjfMTOVkZn4BT xcpqL5c401bK3pZM8EZotMkhy7m89lWed+IZ3MiBB1wOHp44toGwcnc/y6V0xxv7 DLG0V8p3712bX8DIrVjRcBNu09w+9rvCPP5MV2aMalwJ2F2g696VxAfV/7Xh8Yya Tw==
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 ZnTRWxv2gLDt; Fri, 26 Feb 2016 01:03:38 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 5F2CD1C083; Fri, 26 Feb 2016 01:03:38 +0100 (CET)
Date: Fri, 26 Feb 2016 00:03:38 +0000
From: Hugo Landau <hlandau@devever.net>
To: "J.C. Jones" <jjones@mozilla.com>
Message-ID: <20160226000338.GA3628@andover>
References: <20160225210103.GA31919@andover> <CAObDDPBJVpvuRLK+tOwU8OpHb2SxvNgi=Ngbazbb1LHVpTU4Bw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAObDDPBJVpvuRLK+tOwU8OpHb2SxvNgi=Ngbazbb1LHVpTU4Bw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/XffXOzNfvEi9eK9qufUq27LkCDc>
Cc: acme@ietf.org
Subject: Re: [Acme] Alignment with Changes to the CABForum Domain Validation Requirements
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 26 Feb 2016 00:03:43 -0000

So the problem with this is that it requires authorizations to be issued
based on information which can only be known at issuance time, and ACME
separates these steps. You can't know the certificate public key until
after you've obtained all the necessary authorizations.

One possible solution to this would be to add 'authorization
constraints' as a mechanism, whereby a client can request constraints,
and servers can include them in completed authorizations, either in
response to such solicitations or spontaneously. One such constraint
could be a certificate public key.

I previously on this list contemplated the autocreation of
authorizations from DANE records and noted that it would require a
mechanism such as this since such records nominate particular
end certificate keys. So such a mechanism would have wider utility and
potentially open things up to alternative, but no less secure (or
possibly even more secure), validation mechanisms.

However, it is undeniable that this would be a major change to the ACME
protocol, and the DANE case remains very academic. So it seems very
unconvincing to me that this change should be made, since it complicates
the protocol for no actual increase in security as it is used today.

The problem seems to be that the BR requirements are predicated on the
idea that while, yes, an end certificate public key can be endorsed,
this does not extend to the endorsement of a key which in turn endorses
an end certificate key (in the ACME case, an account key which then, via
JOSE, endorses a CSR).

I'm inferring from your writing that subject public key endorsement does
not need to have a per-transaction random element (i.e., it can just be
an endorsement statically published in DNS). In this case a logical
thing to do would be to generalize the language so that the endorsement
can be made instead for a key which endorses a subject public key (or
another key which in turn endorses such a key, etc. etc.)

Not sure what you mean by ACME protocol leadership; is the suggestion
that ACME spec out an 'account endorsement' challenge method (let's say
to begin with a variant of dns-01 which uses deterministic values) and
then try and get it approved for production use? In this case, would me
drafting a PR to add deterministic dns-01 to the spec be useful?

(The smallest possible change which would enable this would actually to
be to reuse the dns-01 challenge, and state that a server which supports
deterministic challenges should simply always use a token of
"acme-deterministic-endorsement" or similar. The change to the spec
would be tiny; essentially an optional â€œserving suggestionâ€� for dns-01,
and clients could look for the special token value if they wanted to
special-case deterministic authorization.)

Hugo Landau

On Thu, Feb 25, 2016 at 02:17:39PM -0700, J.C. Jones wrote:
> Hugo,
> 
> There's a concept on the new DV ballot called a Request Token which could
> accomplish this: a structure somehow incorporating the subject public key
> that is eventually used in the certificate.
> 
> The Request Token currently is only defined using the subject public key, but
> could be expanded to include the concept of an account key. That amount of
> scope increase sounds difficult to pull off in the next week, but we are invited
> to propose another update after this one.
> 
> It seems to me that the DVWG's preferred approach would be to have ACME
> provide protocol leadership, and then for them to review and bless validation
> methods for use in the web PKI.
> 
> - J.C.
> 
> On Thu, Feb 25, 2016 at 2:01 PM, Hugo Landau <hlandau@devever.net> wrote:
> > As was previously discussed, it would be desirable to allow
> > authorization to emerge from values (e.g. in DNS) which are not random,
> > but which unambiguously identify an account (i.e. an ACME account key
> > thumbprint).
> >
> > It would be nice if this revision to the BRs was used as an opportunity
> > to secure such change. Is such a thing politically/otherwise infeasible?
> >
> > Hugo Landau
> >


From nobody Fri Feb 26 10:06:19 2016
Return-Path: <jsha@eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43F751B2D1D for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 10:06:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.008
X-Spam-Level: 
X-Spam-Status: No, score=-7.008 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.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 DcJBd6t7-LTg for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 10:06:09 -0800 (PST)
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 82F571B2CC9 for <acme@ietf.org>; Fri, 26 Feb 2016 10:06:09 -0800 (PST)
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=0IybxMpEgLLSphVBqnUJxzm3FsS0C48B8FF12/YpYlI=;  b=hr/5dJdS0ewq6HhZt/x/U32cXxU9Joa0Dfc8tgr5gOIWx3ETmHaekd/8uel+pME+QFXc2G9DLLJvhIwHoeJtjBOCID9pbtWP5KqQGr7QyGbM+fHfVrn9+LfVZjp1i+5TI1O3ojdgtlnjDheJcKevQ059MxsST9XhVXfZdQrUunI=;
Received: ; Fri, 26 Feb 2016 10:06:08 -0800
To: Hugo Landau <hlandau@devever.net>, acme@ietf.org
References: <20160222185942.GA9780@andover>
From: Jacob Hoffman-Andrews <jsha@eff.org>
X-Enigmail-Draft-Status: N1110
Message-ID: <56D09410.4060304@eff.org>
Date: Fri, 26 Feb 2016 10:06:08 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <20160222185942.GA9780@andover>
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: <http://mailarchive.ietf.org/arch/msg/acme/YDnZRv0hxct1oHmRZ9BLPaocAw0>
Subject: Re: [Acme] CAA account key binding PR
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 26 Feb 2016 18:06:18 -0000

First question: Do we want to bind the account key thumbprint, or the
account (registration) URL? In the latter case, an entity that rotates
their account key periodically doesn't have to update DNS at the same tim=
e.

I see two use cases for this:

1. A domain admin with subdomains pointed at web servers operated by
other people, who wants to prevent the web server operators from issuing
certificates independently. For instance, large IT departments might
want this.

Note: if DNS administration is delegated instead of web server
operation, this doesn't work, because CAA records are evaluated from
subdomain to parent domain. So the subdomain operator could provision a
CAA record overriding the parent one. Arguably this is correct, since
delegating DNS is more "powerful" than delegating web server operation,
but it might be surprising to some.

2. Avoiding the inherent risks of DV. Under DV, someone who controls DNS
or the network can fake authorization for any domain they want. With
account key binding, the domain admin could restrict issuance to a
specific ACME account, removing the risk of network control.

However, since CAA is delivered over DNS, we still haven't solved that
problem. I think if we want to solve (2), we need to add some more
specifics about *when* the CAA record is checked, how long it is
considered valid for, and how, if at all, the domain owner can change
the binding in case they accidentally lock themselves out, or in case a
service provider (like a CDN) configured an account key binding, but the
domain owner wants to change it.

Am I missing a use case? Also, open question: is CAA definitely the
right place to implement this?

Thanks,
Jacob

On 02/22/2016 10:59 AM, Hugo Landau wrote:
> I've published my previous proposal for ACME account key thumbprint
> binding via CAA records as a pull request.
>
> <https://github.com/ietf-wg-acme/acme/pull/85>
>
> An implementation for this functionality is now available as a patch
> against boulder.
>
> <https://github.com/letsencrypt/boulder/pull/1486>
>
> Comments welcome.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>



From nobody Fri Feb 26 10:12:12 2016
Return-Path: <jsha@eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D62AE1B2D85 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 10:12:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.008
X-Spam-Level: 
X-Spam-Status: No, score=-7.008 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.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 nFM9DGIN8luo for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 10:12:08 -0800 (PST)
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 5BC181B2D83 for <acme@ietf.org>; Fri, 26 Feb 2016 10:12:08 -0800 (PST)
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=C+Ezz4/A7EaAF6Ccz6ThxgJ795ygomQq7pcJKaUgsmc=;  b=AXnb3Y3ZtTU2SiDwWNRJ7e1qKC4GZ5PTlabSl3Jq1psPe3ds1mmm4s+DigLEsMWbg+p7N1Ia9vjUQrfD72IwC2bDzxZJ8kEAhcEMBN4IqLGjee0LEGgel2VACgecTKb/1SO3f4GpgTa5OknJJsR8mfOIAXeeTzuyy4RTfpq7oWE=;
Received: ; Fri, 26 Feb 2016 10:12:07 -0800
To: "acme@ietf.org" <acme@ietf.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <56D09577.2080907@eff.org>
Date: Fri, 26 Feb 2016 10:12:07 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
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: <http://mailarchive.ietf.org/arch/msg/acme/TUGN_L2E2ceB2Q9bKevUJoNdSAM>
Subject: [Acme] Remove MUST for "type" and "detail" in problem docs
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 26 Feb 2016 18:12:10 -0000

This change brings our use of problem documents more in line with
I-D.ietf-appsawg-http-problem.

https://github.com/ietf-wg-acme/acme/pull/84


From nobody Fri Feb 26 15:46:16 2016
Return-Path: <me@kelunik.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F9901B3390 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 15:46:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.027
X-Spam-Level: 
X-Spam-Status: No, score=-1.027 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001] autolearn=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 iHatdwD0AwyA for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 15:46:13 -0800 (PST)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::9]) (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 ABD581B338C for <acme@ietf.org>; Fri, 26 Feb 2016 15:46:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1456530369; l=944; s=domk; d=kelunik.com; h=Content-Type:To:From:Subject:Date:MIME-Version; bh=X9sKh8+hwBNs+wiWYRnVhn8ntrIXvNYuAwjkkN4i5B4=; b=ulhkgYue+sKW3IH9sUfRwQWOYuqXFJz8MIKatGVH26LoDAXsP8tXOyDoxBfLkIxbjsd E685FenLBhb85UYMpRC+IeG6Wc0ZGJzLF3tbWMmpYc1cHgdXJ7RSOkXFcajM5Z7nHHoTW P+UlUiCU8y9QPXmbj06l4iqVbixjLU5k6b0=
X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3Y6
X-RZG-CLASS-ID: mo00
Received: from mail-wm0-f45.google.com ([74.125.82.45]) by smtp.strato.de (RZmta 37.19 AUTH) with ESMTPSA id Z016e0s1QNk89Io (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for <acme@ietf.org>; Sat, 27 Feb 2016 00:46:08 +0100 (CET)
Received: by mail-wm0-f45.google.com with SMTP id p65so5190191wmp.1 for <acme@ietf.org>; Fri, 26 Feb 2016 15:46:08 -0800 (PST)
X-Gm-Message-State: AD7BkJLzSHDDOHQvCmVMEcSlGjubutXfUGkgYik0swczsy6j7imySwT7ux67je/OxSJXIWYwKDNUIoeGrO5hsg==
MIME-Version: 1.0
X-Received: by 10.194.220.230 with SMTP id pz6mr3906768wjc.39.1456530368762; Fri, 26 Feb 2016 15:46:08 -0800 (PST)
Received: by 10.194.78.172 with HTTP; Fri, 26 Feb 2016 15:46:08 -0800 (PST)
Date: Sat, 27 Feb 2016 00:46:08 +0100
X-Gmail-Original-Message-ID: <CANUQDCgNwBXne4Xs0SUjO9D0Mcv_wF-VCVOb2eZ6MBTgyOMUFQ@mail.gmail.com>
Message-ID: <CANUQDCgNwBXne4Xs0SUjO9D0Mcv_wF-VCVOb2eZ6MBTgyOMUFQ@mail.gmail.com>
From: Niklas Keller <me@kelunik.com>
To: IETF ACME <acme@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c39b223c201e052cb4e73a
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/HV7CtvBZ2bIvPcy2y9JC-Cubv9E>
Subject: [Acme] Correct error codes
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 26 Feb 2016 23:46:14 -0000

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

Hello,

today I noticed an inconsistency in the ACME spec, errors have two
different formats:

 * urn:acme:error:unauthorized
 * urn:acme:badNonce

I guess the one with `:error:` is the right one, but I'm not sure.

Can anyone clarify? I'd be happy to send a PR then.

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

<div dir=3D"ltr">Hello,<div><br></div><div>today I noticed an inconsistency=
 in the ACME spec, errors have two different formats:</div><div><br></div><=
div>=C2=A0*=C2=A0urn:acme:error:unauthorized<br>=C2=A0* urn:acme:badNonce<b=
r></div><div><br></div><div>I guess the one with `:error:` is the right one=
, but I&#39;m not sure.</div><div><br></div><div>Can anyone clarify? I&#39;=
d be happy to send a PR then.</div></div>

--001a11c39b223c201e052cb4e73a--


From nobody Fri Feb 26 16:34:56 2016
Return-Path: <hlandau@devever.net>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 20F7B1B34D9 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 16:34:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level: 
X-Spam-Status: No, score=-2.007 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.006, SPF_PASS=-0.001] autolearn=ham
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 xgR4C7AYy6Cv for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 16:34:52 -0800 (PST)
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 75B171B34D8 for <acme@ietf.org>; Fri, 26 Feb 2016 16:34:52 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 87A801C1BB; Sat, 27 Feb 2016 01:34:50 +0100 (CET)
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=1456533290; x=1474722651; bh=p3QYiKmDe/XkG1tIk9Pacb8ugxATsPfeYCSJiprZrlI=; b= dgZ7C3vZx8NPsAgf7JtMF9egMe8Yk2YkIC6NnUT+zTPgTpz3X8IZj1PuKMC5AEHg da+++meil+Yg2brRQBKt+vC7Auz/J8rz5Cao9ffzF2DDQRCg2p2Z2b+6Cn98EOYs 54l9BgiES7oYAeq5q96HgJViCrScf5JzaaKqd/3CyB9SJ3DFOPm8vc+985fJHJZJ 6Ei05CPmpwP5EAUIgwFUKFM0wJaDwgS+gbvBWW/M/TENFexvjShXIRSXiIL0kIdW 567uqiH9sz4XPmelL/M2X0Mu7QDg5P8nOHTxXjiW+FydB7ary4oI/h4qQYVmdEwM kqbCM1JSVc50VFJo0n7XSA==
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 Pm8Cfbt_GRE1; Sat, 27 Feb 2016 01:34:50 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 4CA3E1C1B7; Sat, 27 Feb 2016 01:34:50 +0100 (CET)
Date: Sat, 27 Feb 2016 00:34:50 +0000
From: Hugo Landau <hlandau@devever.net>
To: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <20160227003450.GA26517@andover>
References: <20160222185942.GA9780@andover> <56D09410.4060304@eff.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <56D09410.4060304@eff.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ZXu25noPkG9EV-XazFG5S_3jF7Q>
Cc: acme@ietf.org
Subject: Re: [Acme] CAA account key binding PR
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 27 Feb 2016 00:34:55 -0000

On Fri, Feb 26, 2016 at 10:06:08AM -0800, Jacob Hoffman-Andrews wrote:
> First question: Do we want to bind the account key thumbprint, or the
> account (registration) URL? In the latter case, an entity that rotates
> their account key periodically doesn't have to update DNS at the same time.
That's workable. The only issue I can see with this is that an account
URL is a somewhat obscure thing (people might have issues finding it;
though this can of course be rectified by better client design), and
doesn't inherently reveal the account key thumbprint. This means that if
someone is asked to put an account URL in CAA, and they don't have the
corresponding private key to be able to read the account info, they
don't necessarily know what they're endorsing. Then again, in either
case you need to trust the identifier you're given, so it doesn't seem
to make much difference...

> 
> I see two use cases for this:
> 
> 1. A domain admin with subdomains pointed at web servers operated by
> other people, who wants to prevent the web server operators from issuing
> certificates independently. For instance, large IT departments might
> want this.
> 
> Note: if DNS administration is delegated instead of web server
> operation, this doesn't work, because CAA records are evaluated from
> subdomain to parent domain. So the subdomain operator could provision a
> CAA record overriding the parent one. Arguably this is correct, since
> delegating DNS is more "powerful" than delegating web server operation,
> but it might be surprising to some.
I think there's been some mention of the idea that some organizations
might want to use ACME proxies, so this would assist with enforcing that.

> 2. Avoiding the inherent risks of DV. Under DV, someone who controls DNS
> or the network can fake authorization for any domain they want. With
> account key binding, the domain admin could restrict issuance to a
> specific ACME account, removing the risk of network control.
> 
> However, since CAA is delivered over DNS, we still haven't solved that
> problem.
This is mitigated if DNSSEC is used, in which things become rather
watertight. Something to think about.

> I think if we want to solve (2), we need to add some more
> specifics about *when* the CAA record is checked, how long it is
> considered valid for,
As I mentioned in the other thread about CAB BR revision, the separation
between the authorization and issuance process in ACME, although clearly
necessary, creates some issues. I'm not sure that the protocol
accommodates validation processes performed at issuance well; IIRC once
the asynchronous certificate issuance process begins, that means the CA
has already committed to issue the certificate. So you'd have to block
on the issuance call, though that may be fine.

A simpler solution would probably be to use very short authorizations,
since authorizations only need to be valid long enough to complete an
issuance transaction. LE limits to 100 SANs; if you were to assume that
each authorization takes at most, say, two minutes, and are never
made in parallel, even a three hour expiry wouldn't seem unworkable.
I'm not quite clear on why long authorizations are currently used...

> and how, if at all, the domain owner can change
> the binding in case they accidentally lock themselves out, or in case a
> service provider (like a CDN) configured an account key binding, but the
> domain owner wants to change it.
When CAA was drafted I understand there was a lot of concern about how
CAs could use it in anticompetitive ways, or where internally
dysfunctional organizations could have one department use it and
inadvertently prevent another department obtaining certificates from
another supplier. So this is essentially the same concern redux.
A CDN could just as equally configure CAA records for a non-ACME CA,
etc. I would be surprised if any CDN cared so little about irritating
so many customers that it neglected to offer an override for any CAA
records it by default configures.

> 
> Am I missing a use case? Also, open question: is CAA definitely the
> right place to implement this?
The CAA RFC envisioned using CAA records to bind to objects more
granular than a particular CA, i.e. an account. It seems like this
is the whole reason parameters were included as an option:

  An issuer MAY choose to specify issuer-parameters that further constrain
  the issue of certificates by that issuer, for example, specifying that
  certificates are to be subject to specific validation polices, billed to
  certain accounts, or issued under specific trust anchors.

I had an idea to also support a 'sufficient' parameter which, when used
with 'acme-ak', would suffice in itself for authorization. This would
obviously require revision of CABF BR, but I was rather more ambivalent
about it because it changed CAA from a necessary to a sufficient step.
This doesn't do that; I think it fits well in the framework of CAA,
as opposed to some other proposals to overload CAA I think I recall
seeing on the list.

Hugo Landau

> Thanks,
> Jacob
> 
> On 02/22/2016 10:59 AM, Hugo Landau wrote:
> > I've published my previous proposal for ACME account key thumbprint
> > binding via CAA records as a pull request.
> >
> > <https://github.com/ietf-wg-acme/acme/pull/85>
> >
> > An implementation for this functionality is now available as a patch
> > against boulder.
> >
> > <https://github.com/letsencrypt/boulder/pull/1486>
> >
> > Comments welcome.
> >
> > _______________________________________________
> > Acme mailing list
> > Acme@ietf.org
> > https://www.ietf.org/mailman/listinfo/acme
> >
> 
> 


From nobody Fri Feb 26 17:21:57 2016
Return-Path: <pde@mail2.eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3EF611A00B7 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 17:21:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.008
X-Spam-Level: 
X-Spam-Status: No, score=-7.008 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.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 zkWyEnRMsso8 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 17:21:54 -0800 (PST)
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 3F3CA1A009E for <acme@ietf.org>; Fri, 26 Feb 2016 17:21:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=2sYH4Uqm8aOOHNMpOcv6uoUAGADuh0NjG2pKWkxMlqI=;  b=SaKAaUWMfDLVcekC5hR9a8PDNonLEARRmPzCDTXCgT7jH76O11S9dMcSenJzcMjzcFNBjDTwxPPS2BrDdl0ln6saj+ESZQN/dbM101IXYDckkB7KR/7PC9sB08T+MCUC8e4SZOWdLqSfWScmTKfSDWeDPt5h9bGHEvJ4E7/RYbo=;
Received: ; Fri, 26 Feb 2016 17:21:53 -0800
Date: Fri, 26 Feb 2016 17:21:53 -0800
From: Peter Eckersley <pde@eff.org>
To: Hugo Landau <hlandau@devever.net>
Message-ID: <20160227012153.GI13939@eff.org>
References: <20160222185942.GA9780@andover>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160222185942.GA9780@andover>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/4ddT69wW0HpWsoBJ4meR4k_DqDY>
Cc: acme@ietf.org
Subject: Re: [Acme] CAA account key binding PR
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 27 Feb 2016 01:21:56 -0000

If we're going to do account key binding, we should try to do it with
cryptographically authenticated protocols. CAA + DNSSEC is one way to get
that, but finding a way to do it over validated HTTPS might ulitimately
be more important because that will be a lot easier for many people to
deploy.

On Mon, Feb 22, 2016 at 06:59:43PM +0000, Hugo Landau wrote:
> I've published my previous proposal for ACME account key thumbprint
> binding via CAA records as a pull request.
> 
> <https://github.com/ietf-wg-acme/acme/pull/85>
> 
> An implementation for this functionality is now available as a patch
> against boulder.
> 
> <https://github.com/letsencrypt/boulder/pull/1486>
> 
> Comments welcome.
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
> 

-- 
Peter Eckersley                            pde@eff.org
Chief Computer Scientist          Tel  +1 415 436 9333 x131
Electronic Frontier Foundation    Fax  +1 415 436 9993


From nobody Fri Feb 26 17:23:48 2016
Return-Path: <hlandau@devever.net>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 532121A00E4 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 17:23:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level: 
X-Spam-Status: No, score=-2.007 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.006, SPF_PASS=-0.001] autolearn=ham
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 ek50uJxeHvNQ for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 17:23:45 -0800 (PST)
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 5B8051A00DF for <acme@ietf.org>; Fri, 26 Feb 2016 17:23:45 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id E77BD1C1B7; Sat, 27 Feb 2016 02:23:43 +0100 (CET)
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=1456536223; x=1474725584; bh=eg0WguDtzkeDfOrzBctos4X3jRzJmsTGYkYDFuFiS8s=; b= USDP7GuyC+H0QKydFiYTxAJjhnYPHtYWxFE2Tadl9UReLo1UEvZISQto5GTGHf8Z qRRup7FmOUpOn4T4jdxyuSVorhQoMe6q/WQL2ic0b6hckAJsRVqWvtr1QEUSUr2Z yvvxvFj18QFDmkDAx7AW4op+hQas/DUVA1mc00hl9DneeNGa27xMBSXj3nFp54Sa J4HOLpIeOQcfgzoSOAXSxjMo47SoapmKXbTzJxm1DfssgGbvfstLAo3b9t430c2Y 4E2N9tYcQrEB8QMIL8W7ZdF97gdgEAcNXFuDRcjDQ7rodxqRQPuqJzvnBGMmhX9+ xxoAtEMMEaKGER2uTp2xGA==
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 KxVn4B8dsSzA; Sat, 27 Feb 2016 02:23:43 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id B328E1C083; Sat, 27 Feb 2016 02:23:43 +0100 (CET)
Date: Sat, 27 Feb 2016 01:23:43 +0000
From: Hugo Landau <hlandau@devever.net>
To: Peter Eckersley <pde@eff.org>
Message-ID: <20160227012343.GA29058@andover>
References: <20160222185942.GA9780@andover> <20160227012153.GI13939@eff.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160227012153.GI13939@eff.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/87mQmrmhvkqXs8xeL1hlHyv23jQ>
Cc: acme@ietf.org
Subject: Re: [Acme] CAA account key binding PR
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 27 Feb 2016 01:23:47 -0000

This is already the case for HTTP, TLS-SNI and DNS challenges because
they are based on key authorizations which are based on account key
thumbprints. Did you have something else in mind?

Hugo Landau

On Fri, Feb 26, 2016 at 05:21:53PM -0800, Peter Eckersley wrote:
> If we're going to do account key binding, we should try to do it with
> cryptographically authenticated protocols. CAA + DNSSEC is one way to get
> that, but finding a way to do it over validated HTTPS might ulitimately
> be more important because that will be a lot easier for many people to
> deploy.
> 
> On Mon, Feb 22, 2016 at 06:59:43PM +0000, Hugo Landau wrote:
> > I've published my previous proposal for ACME account key thumbprint
> > binding via CAA records as a pull request.
> > 
> > <https://github.com/ietf-wg-acme/acme/pull/85>
> > 
> > An implementation for this functionality is now available as a patch
> > against boulder.
> > 
> > <https://github.com/letsencrypt/boulder/pull/1486>
> > 
> > Comments welcome.
> > 
> > _______________________________________________
> > Acme mailing list
> > Acme@ietf.org
> > https://www.ietf.org/mailman/listinfo/acme
> > 
> 
> -- 
> Peter Eckersley                            pde@eff.org
> Chief Computer Scientist          Tel  +1 415 436 9333 x131
> Electronic Frontier Foundation    Fax  +1 415 436 9993


From nobody Fri Feb 26 17:30:30 2016
Return-Path: <pde@mail2.eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E6A11A0126 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 17:30:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.008
X-Spam-Level: 
X-Spam-Status: No, score=-7.008 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.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 EXLP8eqw-a-9 for <acme@ietfa.amsl.com>; Fri, 26 Feb 2016 17:30:27 -0800 (PST)
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 344901A0125 for <acme@ietf.org>; Fri, 26 Feb 2016 17:30:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2;  h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=QaHE47jUthMKJdJwmT6ySXyBzlrnpZBok46xfe4QJm4=;  b=uRcLpPAwnUdF9EW4fzEjHOzYQjJIKFGyyHCn9POR+/aYqzlSVTTvZS5QH9+9sCn47RMPAFMtpHmHKTsOsAMsz8Xnwwr8+JBbr/E+GPs1Dbn+ShWeHTJhLd1GWnXc7Smm2Dg1HZEW7dc9eZ3WzY4CNjbDXfDkjaIjM1yTVIh6L9U=;
Received: ; Fri, 26 Feb 2016 17:30:26 -0800
Date: Fri, 26 Feb 2016 17:30:26 -0800
From: Peter Eckersley <pde@eff.org>
To: Hugo Landau <hlandau@devever.net>
Message-ID: <20160227013026.GJ13939@eff.org>
References: <20160222185942.GA9780@andover> <20160227012153.GI13939@eff.org> <20160227012343.GA29058@andover>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160227012343.GA29058@andover>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/P9P3kbxGKFwu1-SbzO4wOAINENA>
Cc: acme@ietf.org
Subject: Re: [Acme] CAA account key binding PR
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 27 Feb 2016 01:30:29 -0000

Oh, yes, sorry, it is a different kind of binding I was thinking of.

What I'm talking about is: once a domain has a cert from an ACME CA (or
any other CA), it should be able to publish a statement saying "only the
following account keys may issue for this domain (or specified
subdomains)".

That effectively removes the non-cryptographic ACME DV attack surface
for that domain.

On Sat, Feb 27, 2016 at 01:23:43AM +0000, Hugo Landau wrote:
> This is already the case for HTTP, TLS-SNI and DNS challenges because
> they are based on key authorizations which are based on account key
> thumbprints. Did you have something else in mind?
> 
> Hugo Landau
> 
> On Fri, Feb 26, 2016 at 05:21:53PM -0800, Peter Eckersley wrote:
> > If we're going to do account key binding, we should try to do it with
> > cryptographically authenticated protocols. CAA + DNSSEC is one way to get
> > that, but finding a way to do it over validated HTTPS might ulitimately
> > be more important because that will be a lot easier for many people to
> > deploy.
> > 
> > On Mon, Feb 22, 2016 at 06:59:43PM +0000, Hugo Landau wrote:
> > > I've published my previous proposal for ACME account key thumbprint
> > > binding via CAA records as a pull request.
> > > 
> > > <https://github.com/ietf-wg-acme/acme/pull/85>
> > > 
> > > An implementation for this functionality is now available as a patch
> > > against boulder.
> > > 
> > > <https://github.com/letsencrypt/boulder/pull/1486>
> > > 
> > > Comments welcome.
> > > 
> > > _______________________________________________
> > > Acme mailing list
> > > Acme@ietf.org
> > > https://www.ietf.org/mailman/listinfo/acme
> > > 
> > 
> > -- 
> > Peter Eckersley                            pde@eff.org
> > Chief Computer Scientist          Tel  +1 415 436 9333 x131
> > Electronic Frontier Foundation    Fax  +1 415 436 9993
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
> 

-- 
Peter Eckersley                            pde@eff.org
Chief Computer Scientist          Tel  +1 415 436 9333 x131
Electronic Frontier Foundation    Fax  +1 415 436 9993


From nobody Mon Feb 29 21:30:24 2016
Return-Path: <jsha@eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A3911ACE09 for <acme@ietfa.amsl.com>; Mon, 29 Feb 2016 21:30:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.509
X-Spam-Level: 
X-Spam-Status: No, score=-4.509 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 LhdyoBrrKytn for <acme@ietfa.amsl.com>; Mon, 29 Feb 2016 21:30:13 -0800 (PST)
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 3FFFB1ACE13 for <acme@ietf.org>; Mon, 29 Feb 2016 21:30:13 -0800 (PST)
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=rjncETGuCcPj/i96Mne1JjI1C/0PMvwvrWu8WzqPAgI=;  b=JyhWhc5RuQiEpCZyEqclV6ywVgxi9kP7oDATzg1W7gw0hgSm7vO9wwDFv9Mi2dgUaIFoBCN4mqLa+RH5mV0ENYadzwOcIahAxDy8QNoLwxE3e9KTbhqYQY0xGo6dfL9vOoBLr1/qZTzEzQBxsHV/96eJXjSSRPcvVgY3jVpl9K0=;
Received: ; Mon, 29 Feb 2016 21:30:12 -0800
To: "acme@ietf.org" <acme@ietf.org>
From: Jacob Hoffman-Andrews <jsha@eff.org>
Message-ID: <56D528E0.6060308@eff.org>
Date: Mon, 29 Feb 2016 21:30:08 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/_EEbrVpmiv3EUtUD9uPxmFXQ_X0>
Subject: [Acme] Paging for authorizations and certificates lists
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 01 Mar 2016 05:30:15 -0000

I posted this pull request:
https://github.com/ietf-wg-acme/acme/pull/86/files

For some accounts, the list of authorizations or certificates will be
too large to reasonably return in a single request. This adds a notion
of paging: you get an initial list of resources, with a link rel=3Dnext
pointing at a URL for more, if there are more.

