
From nobody Wed Jan  6 08:31:17 2016
Return-Path: <bryanlivingston@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 E127D1B2DE1 for <acme@ietfa.amsl.com>; Wed,  6 Jan 2016 08:31:15 -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 wOfeVxDtMF-Z for <acme@ietfa.amsl.com>; Wed,  6 Jan 2016 08:31:14 -0800 (PST)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::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 F2E121AD0C8 for <acme@ietf.org>; Wed,  6 Jan 2016 08:31:13 -0800 (PST)
Received: by mail-lf0-x22f.google.com with SMTP id c192so139925989lfe.2 for <acme@ietf.org>; Wed, 06 Jan 2016 08:31:13 -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=vu6Rd6O7OZuurNLRt6VeWn4++R+D+x2zr69AYoKkbRQ=; b=DCRzaknPby6B3V7W6lW6U9xs1GrlviBNob3ZltRHsFR7zfG2lX5eNOZ199agJx1Y3U ty+LjDvJgLEfiUgG4Uaq1yy7GLu36BS3YmHdJJmMXXKqFzCox6bcoEy6BQjYsIDvCOuq UDbqva3VMrpqW1JjG3gYyhGTnUVl9PD2fVIziI9NZJ/3XiMnAjvafBRM/yFaTc/9VfSG lNDfiVi82stg5SGN+fu3XuAwyvEpQK1NLFB4ixbF23l7L0VYuomVyvAgv4GdilgdRCGJ qvyMKEbLMAvjOYBUz636l2TGF+AMl/4ILgRMfCmtZyAWOiMzZnxLC9zOIR20ko5z4Mfy Y6+w==
MIME-Version: 1.0
X-Received: by 10.25.153.79 with SMTP id b76mr28720409lfe.102.1452097872101; Wed, 06 Jan 2016 08:31:12 -0800 (PST)
Received: by 10.25.22.19 with HTTP; Wed, 6 Jan 2016 08:31:12 -0800 (PST)
In-Reply-To: <b6d02ab4f9584c30b8a8bcfc1b5a0d1a@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <20151113004436.GB18430@eff.org> <CABkgnnU5EzaPA4o7OgnTBpSQCZxjD+QsSV=4_L2rOBeFAoauKA@mail.gmail.com> <20151113011259.GC18430@eff.org> <1F85B447-6C45-4E5A-BB10-F1AD5CB2C3F3@vigilsec.com> <CABsBmKM9t3dX0_zq-EwsTOo7HpeMF6meiw9PhBaQLbHOCpGVGg@mail.gmail.com> <CAHw9_iJwqqhMb+7+aj6Sszfi6_K9=rREEK3dbpQ6yddrmHSKsg@mail.gmail.com> <CANUQDCgDeaLtaNfeEUQ3D=7EOwjL-Q0i6Q1FKxMTVtfY9d-bow@mail.gmail.com> <20151118180011.GW18430@eff.org> <CA+9kkMARw2Y86fjFyxoJJU6GJGYmorhJZqCGdns7-CV142v_qA@mail.gmail.com> <CANUQDCizmx=22WwwyVCs55mYYWQ02mYyiGaiC19GG39F9JkViQ@mail.gmail.com> <CABkgnnV8=0TVyBU4ugM-R1-izHTx2ugNmOq+MbthQ=qw-r36Hw@mail.gmail.com> <CABsBmKNBcpD59DPNLGKBKq+TyhDxFxp1dZfDWfoDnaW3EGm+wA@mail.gmail.com> <CANUQDCi7YXpLD4DWDWq-1=O-6DYw3oOgZoea3c3sk7LGTV0Xyw@mail.gmail.com> <CABsBmKPOPWJ9nqNgRWga-NxxX_nBejQfrDsJ2Ja5ECOEk3OMPg@mail.gmail.com> <CANUQDCiNB-6o9CBBTVqfJpE+hkmB2CNC2u56OGnr0ht7o+TZCQ@mail.gmail.com> <09eef8fad12b40f9ba4e8dca5692c152@usma1ex-dag1mb1.msg.corp.akamai.com> <CANUQDCi0rVmNYqgbVZn1NGcdsQszhCgM9nb0V7VschY-kM0-vQ@mail.gmail.com> <b6d02ab4f9584c30b8a8bcfc1b5a0d1a@usma1ex-dag1mb1.msg.corp.akamai.com>
Date: Wed, 6 Jan 2016 09:31:12 -0700
Message-ID: <CABsBmKMPihbod1UVP7AD3CfMz1kmJTt+jnDkJgC7wG+_-VbbDQ@mail.gmail.com>
From: Bryan Livingston <bryanlivingston@gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: multipart/alternative; boundary=001a1140132cd889f20528ace1b7
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ULATTzL6z_Oqi3oHkoyo5RtjSXA>
Cc: IETF ACME <acme@ietf.org>, Niklas Keller <me@kelunik.com>
Subject: Re: [Acme] Content-Type and file extensions for HTTP01 challenges
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, 06 Jan 2016 16:31:16 -0000

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

My users on Windows and IIS are still having problems with the
extensionless files. Now that Let's Encrypt has launched would it be a good
time to add the http-02 auth type with a default .txt extension on the auth
answer URLs?

On Thu, Nov 19, 2015 at 12:46 PM, Salz, Rich <rsalz@akamai.com> wrote:

> =C3=98  Might not that bad as long as CAs offer both versions. But we hav=
e
> other pending changes? because of insecure? DVSNI challenges. They should
> maybe coordinated and updated at once.
>
>
>
> This is an RFC-in-progress.  We=E2=80=99re likely to settle on one versio=
n of each
> type.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>
>

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

<div dir=3D"ltr">My users on Windows and IIS are still having problems with=
 the extensionless files. Now that Let&#39;s Encrypt has launched would it =
be a good time to add the http-02 auth type with a default .txt extension o=
n the auth answer URLs?</div><div class=3D"gmail_extra"><br><div class=3D"g=
mail_quote">On Thu, Nov 19, 2015 at 12:46 PM, Salz, Rich <span dir=3D"ltr">=
&lt;<a href=3D"mailto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<div>
<div>
<p><u></u><span style=3D"font-family:Wingdings;color:#1f497d"><span>=C3=98<=
span style=3D"font:7.0pt &quot;Times New Roman&quot;">=C2=A0
</span></span></span><u></u>Might not that bad as long as CAs offer both ve=
rsions. But we have other pending changes? because of insecure? DVSNI chall=
enges. They should maybe coordinated and updated at once.<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">This is an RFC-in-progress.=C2=A0 We=
=E2=80=99re likely to settle on one version of each type.<u></u><u></u></sp=
an></p>
</div>
</div>
</div>
</div>

<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>

--001a1140132cd889f20528ace1b7--


From peter@lekensteyn.nl  Fri Jan  8 09:27:34 2016
Return-Path: <peter@lekensteyn.nl>
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 2B6821B2A81 for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 09:27:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.983
X-Spam-Level: *
X-Spam-Status: No, score=1.983 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 JjjDPxVdrmIo for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 09:27:32 -0800 (PST)
Received: from mail.lekensteyn.nl (mail.lekensteyn.nl [IPv6:2a02:2308::360:1:25]) (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 DE2171B2A62 for <acme@ietf.org>; Fri,  8 Jan 2016 09:27:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lekensteyn.nl; s=s2048-2015-q1;  h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=zNctwuVC5Q41P2Ye+o2Nw2W6udxMsEBZ07H9vhmHidQ=;  b=nT8fAQXF/5kCr6GfvADZq75NetfIJtrLes7tXWKZ7TQ8VpkRKmoa3O94Jq9dYuPGqF41yES4i1bvRv+KNNTWBt+M5YndeFOkbeOQmqmxWiRNzOwG2oqKu8VCSmvWlNDnniuIdVucTLC07FtUKxACY1zSqFzB48ydsllpFMk3KqoLzLzVixU3T+A6bYcCO+vk46uTSE8l6X9fsVgz3xtcSNPGR9GJspToJ+kguGrQZIn2x9NuiSvEpf4QQM5Yh0s3aWMMBIrzCyWRS1oTPCqhZtTu1XiQEdMABKPjYXIDwayn18WdGnPUe2ROC24Z+mvs0Q09/7u9mBYgCKiA8Blw2Q==;
Received: by lekensteyn.nl with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84) (envelope-from <peter@lekensteyn.nl>) id 1aHaoh-00060e-0f; Fri, 08 Jan 2016 18:27:26 +0100
Date: Fri, 8 Jan 2016 18:27:09 +0100
From: Peter Wu <peter@lekensteyn.nl>
To: Niklas Keller <me@kelunik.com>, Peter Eckersley <pde@eff.org>
Message-ID: <20160108172709.GA29864@al>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/8KMmJV6n7iPmYtn3MiPa1cMksIg>
Cc: acme@ietf.org
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 08 Jan 2016 17:31:54 -0000

Hi Niklas, Peter and others,

(First time poster here, grabbed this mail from the archives.
Explanation of the "vulnerability" is first given, followed by a
discussion.)

On Fri, Nov 13, 2015 at 04:35:00PM +0100, Niklas Keller wrote:
> This is a followup on "ACME vulnerabilities in SimpleHTTP and DVSNI due to
> common webservers' default virtual host semantics", since I don't have that
> mail in my archive (was not subscribed to the list back then), I can't
> respond directly to that thread. (Stupid mailing lists.)

With a sane mail client, you can set the In-Reply-To header to the
Message-Id which can be found by clicking the "Show header" link in
messages at https://mailarchive.ietf.org/arch/search/?email_list=acme

For future reference, the thread starts at
https://mailarchive.ietf.org/arch/msg/acme/B9vhPSMm9tcNoPrTE_LNhnt0d8U
(it is worth reading the full thread as it is not that large).

> Could someone explain the exact vulnerability? Since those challenge
> payloads are bound to a specific domain, I don't see the problem.
> Additionally, I don't see why it's a problem with HTTPS, why is it
> mitigated by switching to HTTP? HTTP via port 80 has just the same
> semantics for default hosts as HTTPS via 443 has.

This vulnerability (as I understand) works as follows:

 0. example.com and example.net are owned by two different entities,
    hosted on the same webserver (shared webhosting).
 1.  example.com happens to be the first site on the vhost
    with a valid certificate configured.
 2. example.net is another customer on the server which has not yet
    configured HTTPS. Due to a configuration error, requests to a
    non-existing vhost now end up at the first (default) vhost, namely
    example.com.
 3. Now example.com can obtain a certificate for example.net (which
    might not be authorized for that).

This is "mitigated" by switching to HTTP because webhosting providers
presumably make websites available over http while https is an
additional feature. Shared webhosters who serve sites over just https
*and* happen to have a misconfigured server such that plain http vhosts
are handled incorrectly are probably not common.


This vulnerability is purely a configuration issue. For example, nginx
can be configured with a catch-all SSL vhost:

    server {
        listen *:443 ssl default_server;
        ssl_certificate dummy.crt;
        ssl_certificate dummy.key;
        return "No vhost configured";
    }

Apache HTTPd can also be configured to address the problem:
https://httpd.apache.org/docs/2.4/vhosts/examples.html#default


Peter (Eckersley), you reported this concern with the premise that it is
a common configuration mistake that impacts many hosting providers. Do
you have scans backing up that concern? Websites that are managed by a
single entity (i.e. not shared hosting providers) with this
configuration "mistake' are not a problem.


The restriction in the specification has an unfortunate consequence:
sites which are only accessible over port 443/HTTPS (because other ports
are blocked / not forwarded in a NAT network) can no longer be
validated.
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl


From nobody Fri Jan  8 10:23:41 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 D89E31B2AC2 for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 10:23:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.113
X-Spam-Level: 
X-Spam-Status: No, score=-5.113 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 5E625FQShr9E for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 10:23:30 -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 4666D1A8904 for <acme@ietf.org>; Fri,  8 Jan 2016 10:23:30 -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=uZKYKGoiMIlH8JIw2n6hiUZIWFN4v1y/qjfdK7IpX9Y=;  b=Z08jzkDAWTLfJTPpTqRJtAE41RCN9GWeVeu0v0bFzuwCqy0mNUz/EpWs68VarKIhdtQliuvdhSVnDsy75pMCnirIMICOuOgjG6SU3zxMoVqA7awukSubiEN3Aey6Csu9FAGY1RPyxPtmsmkjLy8W5tlt/6uxg/FbCdLCpcRjVdI=;
Received: ; Fri, 08 Jan 2016 10:23:25 -0800
Date: Fri, 8 Jan 2016 10:23:25 -0800
From: Peter Eckersley <pde@eff.org>
To: Peter Wu <peter@lekensteyn.nl>
Message-ID: <20160108182325.GM18430@eff.org>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com> <20160108172709.GA29864@al>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160108172709.GA29864@al>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ytqVMJEqlf455aSKfD7l498vhgk>
Cc: acme@ietf.org, Niklas Keller <me@kelunik.com>
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 08 Jan 2016 18:23:36 -0000

On Fri, Jan 08, 2016 at 06:27:09PM +0100, Peter Wu wrote:
 
> Peter (Eckersley), you reported this concern with the premise that it is
> a common configuration mistake that impacts many hosting providers. Do
> you have scans backing up that concern? Websites that are managed by a
> single entity (i.e. not shared hosting providers) with this
> configuration "mistake' are not a problem.

I haven't spent the time to conduct a thorough scan to get numbers, but
this type of configuration is very easy and natural to create, and manually
examining the https:// responses of a handful of Alexa top 100K domains
(starting in the middle of the list, not the top) showed a tremendous
diversity of strange behaviours for domains where https:// has not been
officially deployed.

If someone wants to do a scan to try to characterise all of those
behaviours, go for it!

> 
> 
> The restriction in the specification has an unfortunate consequence:
> sites which are only accessible over port 443/HTTPS (because other ports
> are blocked / not forwarded in a NAT network) can no longer be
> validated.

That's not the case.  You can use the TLS-SNI-01 challenge type on those
systems.

The current language describing it in the spec is terrible and needs to
be rewritten, but it's quite simple: add an extra :443 vhost entry to
your server config, serving a self-signed cert created to pass the
challenge.

-- 
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 Jan  8 11:43:19 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 A174B1B2B2E for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:43:06 -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 lYK8CNpksgEE for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:43:02 -0800 (PST)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::11]) (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 0CCEE1AC39D for <acme@ietf.org>; Fri,  8 Jan 2016 11:43:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1452282178; l=5462; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=PxprQVwGqTzN3Q4EwByCq2r4XHodJSETiDJ+E+gvFoA=; b=thzKqDV9+tXyrU28vU0LqqGUrBV0AR0XKsC8O7TUA5/hyksrzjDN8ZJ/+Oyu3C5KZVW naK53/9qlimvjQfxGlAbWAF61wuDfPaSJ4PrdkYHPvNp0AmK+DTLJghDLWvVygSuRtgec GiKETikkeMFKfXHolUghC2ARtG58Gpglz7Y=
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.15 AUTH) with ESMTPSA id 50534cs08JgvRyq (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>; Fri, 8 Jan 2016 20:42:57 +0100 (CET)
Received: by mail-wm0-f53.google.com with SMTP id l65so146977956wmf.1 for <acme@ietf.org>; Fri, 08 Jan 2016 11:42:57 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.28.101.131 with SMTP id z125mr600799wmb.60.1452282177815; Fri, 08 Jan 2016 11:42:57 -0800 (PST)
Received: by 10.194.78.133 with HTTP; Fri, 8 Jan 2016 11:42:57 -0800 (PST)
In-Reply-To: <20160108182325.GM18430@eff.org>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com> <20160108172709.GA29864@al> <20160108182325.GM18430@eff.org>
Date: Fri, 8 Jan 2016 20:42:57 +0100
X-Gmail-Original-Message-ID: <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com>
Message-ID: <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com>
From: Niklas Keller <me@kelunik.com>
To: Peter Eckersley <pde@eff.org>
Content-Type: multipart/alternative; boundary=001a114af70652a27c0528d7cbd9
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/MviFlHtpc3_D2ZolreJFlCoXOxg>
Cc: IETF ACME <acme@ietf.org>, Peter Wu <peter@lekensteyn.nl>
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 08 Jan 2016 19:43:06 -0000

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

2016-01-08 19:23 GMT+01:00 Peter Eckersley <pde@eff.org>:

> On Fri, Jan 08, 2016 at 06:27:09PM +0100, Peter Wu wrote:
>
> > Peter (Eckersley), you reported this concern with the premise that it is
> > a common configuration mistake that impacts many hosting providers. Do
> > you have scans backing up that concern? Websites that are managed by a
> > single entity (i.e. not shared hosting providers) with this
> > configuration "mistake' are not a problem.
>
> I haven't spent the time to conduct a thorough scan to get numbers, but
> this type of configuration is very easy and natural to create, and manually
> examining the https:// responses of a handful of Alexa top 100K domains
> (starting in the middle of the list, not the top) showed a tremendous
> diversity of strange behaviours for domains where https:// has not been
> officially deployed.
>
> If someone wants to do a scan to try to characterise all of those
> behaviours, go for it!
>
> >
> >
> > The restriction in the specification has an unfortunate consequence:
> > sites which are only accessible over port 443/HTTPS (because other ports
> > are blocked / not forwarded in a NAT network) can no longer be
> > validated.
>
> That's not the case.  You can use the TLS-SNI-01 challenge type on those
> systems.
>
> The current language describing it in the spec is terrible and needs to
> be rewritten, but it's quite simple: add an extra :443 vhost entry to
> your server config, serving a self-signed cert created to pass the
> challenge.


Unfortunately, this requires a server configuration reload. http-01 is
still a lot easier, it doesn't require any configuration change. I think
it's best to allow http-01 over HTTPS on port 443 if port 80 is not
reachable. This should eliminate the vulnerability, but allow verifying
HTTPS-only sites with http-01.

Best Regards,
Niklas


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

--001a114af70652a27c0528d7cbd9
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=
-01-08 19:23 GMT+01:00 Peter Eckersley <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:pde@eff.org" target=3D"_blank">pde@eff.org</a>&gt;</span>:<br><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><span class=3D"">On Fri, Jan 08, 2016 at 06:27:09PM +=
0100, Peter Wu wrote:<br>
<br>
&gt; Peter (Eckersley), you reported this concern with the premise that it =
is<br>
&gt; a common configuration mistake that impacts many hosting providers. Do=
<br>
&gt; you have scans backing up that concern? Websites that are managed by a=
<br>
&gt; single entity (i.e. not shared hosting providers) with this<br>
&gt; configuration &quot;mistake&#39; are not a problem.<br>
<br>
</span>I haven&#39;t spent the time to conduct a thorough scan to get numbe=
rs, but<br>
this type of configuration is very easy and natural to create, and manually=
<br>
examining the https:// responses of a handful of Alexa top 100K domains<br>
(starting in the middle of the list, not the top) showed a tremendous<br>
diversity of strange behaviours for domains where https:// has not been<br>
officially deployed.<br>
<br>
If someone wants to do a scan to try to characterise all of those<br>
behaviours, go for it!<br>
<span class=3D""><br>
&gt;<br>
&gt;<br>
&gt; The restriction in the specification has an unfortunate consequence:<b=
r>
&gt; sites which are only accessible over port 443/HTTPS (because other por=
ts<br>
&gt; are blocked / not forwarded in a NAT network) can no longer be<br>
&gt; validated.<br>
<br>
</span>That&#39;s not the case.=C2=A0 You can use the TLS-SNI-01 challenge =
type on those<br>
systems.<br>
<br>
The current language describing it in the spec is terrible and needs to<br>
be rewritten, but it&#39;s quite simple: add an extra :443 vhost entry to<b=
r>
your server config, serving a self-signed cert created to pass the<br>
challenge.=C2=A0</blockquote><div><br></div><div>Unfortunately, this requir=
es a server configuration reload. http-01 is still a lot easier, it doesn&#=
39;t require any configuration change. I think it&#39;s best to allow http-=
01 over HTTPS on port 443 if port 80 is not reachable. This should eliminat=
e the vulnerability, but allow verifying HTTPS-only sites with http-01.</di=
v><div><br></div><div>Best Regards,</div><div>Niklas =C2=A0</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D=
"h5">
--<br>
Peter Eckersley=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:pde@eff.org">pde@e=
ff.org</a><br>
Chief Computer Scientist=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Tel=C2=A0 <a hre=
f=3D"tel:%2B1%20415%20436%209333%20x131" value=3D"+14154369333">+1 415 436 =
9333 x131</a><br>
Electronic Frontier Foundation=C2=A0 =C2=A0 Fax=C2=A0 <a href=3D"tel:%2B1%2=
0415%20436%209993" value=3D"+14154369993">+1 415 436 9993</a><br>
</div></div></blockquote></div><br></div></div>

--001a114af70652a27c0528d7cbd9--


From albert.aribaud@gmail.com  Fri Jan  8 11:50:05 2016
Return-Path: <albert.aribaud@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 293421B2B51 for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:50:05 -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 I42mtSXofMZc for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:50:00 -0800 (PST)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0C471B2B53 for <acme@ietf.org>; Fri,  8 Jan 2016 11:49:59 -0800 (PST)
Received: by mail-wm0-x234.google.com with SMTP id f206so147465406wmf.0 for <acme@ietf.org>; Fri, 08 Jan 2016 11:49:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=Ik+Nro4LjJNyL85e36FUy3y3uNEMIBvPajJrG0uYO00=; b=R9FlMYrBzQiFu/19XH9M1U4F3EISs/uBfl8Jjzugh0xDnrcLelQLZZCgWe2HpRVLTM RTG6mP6Z5XCQygTmtfBd4W2Es7EIfXJwcNvnbPE6YibOkFlCwBaUJCGMHbdoRa5uYNNu vpRCIVFODBtAMPG8A1kqYFF013SUzoZW63cErjmFQ91swHQIXzsko214GeqA5trEDD31 BstGShGO+dEPCnF5vePRuGmYUSHOiks8BB91PFm6PLydt3PRHLVDJvDC+boVMwnRLt9D Cexm5RWWxfFgIYHCecwOk5RKYoBxfRv/yoMhEpA/DBRuUCTEh4DNMcgbXe7PAwPXz32c 2n7A==
X-Received: by 10.28.5.213 with SMTP id 204mr87963wmf.20.1452282598357; Fri, 08 Jan 2016 11:49:58 -0800 (PST)
Received: from lilith ([2001:470:1f13:25f:ae22:bff:fe1a:1040]) by smtp.gmail.com with ESMTPSA id y188sm602266wmy.11.2016.01.08.11.49.57 for <acme@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jan 2016 11:49:57 -0800 (PST)
Date: Fri, 8 Jan 2016 20:49:56 +0100
From: Albert ARIBAUD <albert.aribaud@gmail.com>
To: acme@ietf.org
Message-ID: <20160108204956.4930f429@lilith>
X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/LuqFKIYFU3CgMkfOJIFmLCEsRJE>
Subject: [Acme] The path to the "directory" resource should not be "/" and should be specified in 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: Fri, 08 Jan 2016 19:50:57 -0000

Hello all (and a happy New Year),

I am looking at draft-ietf-acme-acme-01 as available on github right
now, more precisely at section 6.2 and the "directory" resource which
would allow a client to find out the URIs for other resources.

Since "directory" is there to help find URIs for resources, it must
itself be at a know URI.

draft-ietf-acme-acme-01 states:

	In order to help clients configure themselves with the right
	URIs for each ACME operation, ACME servers provide a directory
	object. This should be the root URL with which clients are
	configured.

The question is, what exactly is the "root URL"? At first thought it
would be the "/" path on the server.

But for "/", https://acme-v01.api.letsencrypt.org returns an HTML page
which, among other human-targeted information, mentions that the ACME
directory is at "/directory". Which makes acme-v01.api.letsencrypt.org
non-compliant to draft-ietf-acme-acme-01.

Keeping "/" as a browser-renderable "front page" for a server makes
sense, so my opinion is that placing the directory at a pre-decided,
non-root URL would be a sensible choice and draft-ietf-acme-acme-01
should specify the path where ACME clients would find the ACME
directory (and "/acme" might be a possible candidate IMO).

Or did I get the whole thing wrong?

Amicalement,
-- 
Albert.


From nobody Fri Jan  8 11:52:54 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 B468A1B2B4C for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:52:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level: 
X-Spam-Status: No, score=-2.711 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 8xer_ICpSkHf for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:52:38 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 92A791B2B5E for <acme@ietf.org>; Fri,  8 Jan 2016 11:52:36 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id E4ABC42378B; Fri,  8 Jan 2016 19:52:35 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id CE5DC42377C; Fri,  8 Jan 2016 19:52:35 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1452282755; bh=FpfwbbiGoOfs0BSeX/eKS5R/H4sxdhVRLMmHmdzn15s=; l=491; h=From:To:Date:References:In-Reply-To:From; b=QnV+difvr4NX/xW6j4tehEkOP8Lvc9BOPZG8jOl9XhjFMJ0d/EHVH5Y5WzuuuZoS4 iif5mRhCHP/kHDg3vjmONhkYcdZEfwpza4Orot8v6ldhpXsOOmWV5hRnOOSt4l7l/E hmWvE4nSEnsBgEaS0CnwSArukfjUCSyVFHZ+HzpA=
Received: from email.msg.corp.akamai.com (usma1ex-casadmn.msg.corp.akamai.com [172.27.123.33]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id C5D10203C; Fri,  8 Jan 2016 19:52:35 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Fri, 8 Jan 2016 14:52:35 -0500
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1076.000; Fri, 8 Jan 2016 14:52:35 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Albert ARIBAUD <albert.aribaud@gmail.com>, "acme@ietf.org" <acme@ietf.org>
Thread-Topic: [Acme] The path to the "directory" resource should not be "/" and should be specified in draft-ietf-acme-acme-01
Thread-Index: AQHRSk3tRczR/wETdU6jtf0cqRu9Rp7yB3rA
Date: Fri, 8 Jan 2016 19:52:34 +0000
Message-ID: <513bd0198dd74fa4ab7fabdee8be242d@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <20160108204956.4930f429@lilith>
In-Reply-To: <20160108204956.4930f429@lilith>
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.40.73]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/SK0niUV5AfLUuXUl4nUVnLSWZFA>
Subject: Re: [Acme] The path to the "directory" resource should not be "/" and should be specified in 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: Fri, 08 Jan 2016 19:52:45 -0000

> draft-ietf-acme-acme-01 states:
>=20
> 	In order to help clients configure themselves with the right
> 	URIs for each ACME operation, ACME servers provide a directory
> 	object. This should be the root URL with which clients are
> 	configured.
>=20
> The question is, what exactly is the "root URL"? At first thought it woul=
d be
> the "/" path on the server.

The wording misled you, and perhaps should be fixed.  It's more like the "s=
ubroot for the ACME tree" or something.


From nobody Fri Jan  8 11:56:47 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 6772D1B2B5E for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:56:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level: 
X-Spam-Status: No, score=-7.012 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 5a1IH-kO7BoG for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 11:56:41 -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 D0A5D1B2B65 for <acme@ietf.org>; Fri,  8 Jan 2016 11:56:39 -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=mlby5zYALWV6bgaydIAli1eRVGewVYL44Gc6n6Rboj4=;  b=FSDcvUYpOIvJnFCX4BtNqXTJsV3PwEwQ3SgU0Nh+euqN8c2ii3u256Q3cm+LjLZc0WraMx6asfwr94WVBngMEyUaY9qayfIIzHTE4450ZDwUM0Ks1miGRKmoeh4EXvP5ZXTgHFs+i5OI5qFNASB7ePXbRllKMm8HkMJO+aLcWKg=;
Received: ; Fri, 08 Jan 2016 11:56:39 -0800
Date: Fri, 8 Jan 2016 11:56:39 -0800
From: Peter Eckersley <pde@eff.org>
To: Niklas Keller <me@kelunik.com>
Message-ID: <20160108195639.GP18430@eff.org>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com> <20160108172709.GA29864@al> <20160108182325.GM18430@eff.org> <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/35Sqnx1uhowmbg55HA_TmfcNaY8>
Cc: IETF ACME <acme@ietf.org>, Peter Wu <peter@lekensteyn.nl>
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 08 Jan 2016 19:56:45 -0000

On Fri, Jan 08, 2016 at 08:42:57PM +0100, Niklas Keller wrote:
> > The current language describing it in the spec is terrible and needs to
> > be rewritten, but it's quite simple: add an extra :443 vhost entry to
> > your server config, serving a self-signed cert created to pass the
> > challenge.
> 
> 
> Unfortunately, this requires a server configuration reload. http-01 is
> still a lot easier, it doesn't require any configuration change. I think
> it's best to allow http-01 over HTTPS on port 443 if port 80 is not
> reachable. This should eliminate the vulnerability, but allow verifying
> HTTPS-only sites with http-01.

That's pretty corner case-y behaviour for a very specialised use case
(server *must* have port 80 firewalled, and cannot possibly perform a
graceful server reload).  Are there other voices in favour of special
casing DV behaviour for that use case?

-- 
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 Jan  8 12:33:46 2016
Return-Path: <albert.aribaud@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 DE3561AC3D2 for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 12:33:37 -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 SeZitScwNW0Z for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 12:33:34 -0800 (PST)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDABB1A906C for <acme@ietf.org>; Fri,  8 Jan 2016 12:33:33 -0800 (PST)
Received: by mail-wm0-x22e.google.com with SMTP id f206so148610436wmf.0 for <acme@ietf.org>; Fri, 08 Jan 2016 12:33:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=3Ad+07ZDbuvrnG8e5guxMwVstBKjC8/0VHMuB8JMwL4=; b=rc1v08SL0MVQCb81cQYJnjYYFz6/bEjid8gKtToPbOlgTlzXRvSYo1yI+M3yuL5kmN /ZZCT22wI8Yb8zGRJWUPCd/VFxilpWe+nmdtW/rRZL9+4MBvnMYvzGRCEmDKqPh4sLD0 bE7NqEkYcKMzhvouqc8aSrmcbIRbTbA87d5MoJ9GBHMPca0WEH0Mwy+UT2srLX8lok0J 035VFWZbe/c/tHk+moDj+yPnaDu7IYjI3ByvTXmDqjUZWf0sv+Yf8KfMFAJ0j5HjTMIW CIFsf5zdmoxz4u7VhgoVGWLs47lO/LzKUvd9aQVAn1Zz7pFbnmrDTs932zGBw6paMGMe ATiw==
X-Received: by 10.28.232.208 with SMTP id f77mr845801wmi.34.1452285212564; Fri, 08 Jan 2016 12:33:32 -0800 (PST)
Received: from lilith ([2001:470:1f13:25f:ae22:bff:fe1a:1040]) by smtp.gmail.com with ESMTPSA id 75sm709216wmo.22.2016.01.08.12.33.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jan 2016 12:33:31 -0800 (PST)
Date: Fri, 8 Jan 2016 21:33:30 +0100
From: Albert ARIBAUD <albert.aribaud@gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Message-ID: <20160108213330.68bb52a8@lilith>
In-Reply-To: <513bd0198dd74fa4ab7fabdee8be242d@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <20160108204956.4930f429@lilith> <513bd0198dd74fa4ab7fabdee8be242d@usma1ex-dag1mb1.msg.corp.akamai.com>
X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
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/D7criamYN8QWYueOTbNBP5izL0c>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] The path to the "directory" resource should not be "/" and should be specified in 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: Fri, 08 Jan 2016 20:33:38 -0000

Hi Rich,

Le Fri, 8 Jan 2016 19:52:34 +0000
"Salz, Rich" <rsalz@akamai.com> a =C3=A9crit:

>=20
> > draft-ietf-acme-acme-01 states:
> >=20
> > 	In order to help clients configure themselves with the right
> > 	URIs for each ACME operation, ACME servers provide a
> > directory object. This should be the root URL with which clients are
> > 	configured.
> >=20
> > The question is, what exactly is the "root URL"? At first thought
> > it would be the "/" path on the server.
>=20
> The wording misled you, and perhaps should be fixed.  It's more like
> the "subroot for the ACME tree" or something.

Can I offer a pull request on github with a fix?

(note: acme-v01.api.letsencrypt.org would still not match the draft)

Amicalement,
--=20
Albert.


From nobody Fri Jan  8 13:47:02 2016
Return-Path: <albert.aribaud@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 E4D701B2C02 for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 13:47:00 -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 egKyVMOQQWhL for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 13:46:59 -0800 (PST)
Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19F401A00F6 for <acme@ietf.org>; Fri,  8 Jan 2016 13:46:59 -0800 (PST)
Received: by mail-wm0-x22c.google.com with SMTP id b14so190619017wmb.1 for <acme@ietf.org>; Fri, 08 Jan 2016 13:46:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=/F0UlXKhRK0yO3wg7DlTRUAX8aMIftcdkEt+Bau1xv0=; b=CwB1wtk29kl9y8A2KEfjJnMNM8dHrV8sZyWPoQtWdZRBKic4E3Na+0RydecUnk3cA6 xPTfCYAs+oJ6wPHa9bR/fOtzgzvbgVvZbMaUkbI4beN6rLwqzllm83KRH5lwJcFeAV1J DEzeVfOXMmM7A0P6Zce+Tr0+EhnH2Ka/NyrH0eZBx0TKGMGpnr70jnQPR34AKqOvOKz1 konLTSX2D7BOZqdTA+looO2maULcXriCEfqEoemZwbtQuO3nsGubcSE9Br5geQlYoipB GH8T6Mp5IFtdEq54gDkrFPHt9kxZKUXHyrdTidNr2EJT6PZ2lWlQhMXUpnj6NMT1Y9W0 ADGA==
X-Received: by 10.194.184.210 with SMTP id ew18mr106246770wjc.79.1452289617731;  Fri, 08 Jan 2016 13:46:57 -0800 (PST)
Received: from lilith ([2001:470:1f13:25f:ae22:bff:fe1a:1040]) by smtp.gmail.com with ESMTPSA id w1sm996821wmd.2.2016.01.08.13.46.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jan 2016 13:46:57 -0800 (PST)
Date: Fri, 8 Jan 2016 22:46:55 +0100
From: Albert ARIBAUD <albert.aribaud@gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Message-ID: <20160108224655.3e86921f@lilith>
In-Reply-To: <20160108213330.68bb52a8@lilith>
References: <20160108204956.4930f429@lilith> <513bd0198dd74fa4ab7fabdee8be242d@usma1ex-dag1mb1.msg.corp.akamai.com> <20160108213330.68bb52a8@lilith>
X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
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/QgxRrhfivVggjqsJrQtSMSQiggc>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] The path to the "directory" resource should not be "/" and should be specified in 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: Fri, 08 Jan 2016 21:47:01 -0000

Hi again,

Le Fri, 8 Jan 2016 21:33:30 +0100
Albert ARIBAUD <albert.aribaud@gmail.com> a =C3=A9crit:

> Hi Rich,
>=20
> Le Fri, 8 Jan 2016 19:52:34 +0000
> "Salz, Rich" <rsalz@akamai.com> a =C3=A9crit:
>=20
> >=20
> > > draft-ietf-acme-acme-01 states:
> > >=20
> > > 	In order to help clients configure themselves with the
> > > right URIs for each ACME operation, ACME servers provide a
> > > directory object. This should be the root URL with which clients
> > > are configured.
> > >=20
> > > The question is, what exactly is the "root URL"? At first thought
> > > it would be the "/" path on the server.
> >=20
> > The wording misled you, and perhaps should be fixed.  It's more like
> > the "subroot for the ACME tree" or something.
>=20
> Can I offer a pull request on github with a fix?

Done : https://github.com/ietf-wg-acme/acme/pull/66

> (note: acme-v01.api.letsencrypt.org would still not match the draft)

Actually, I withdraw this statement: acme-v01.api.letsencrypt.org's
"/directory" is just as compliant as "/acme" or "/". There is no
reason to constrain the path of the directory object to a specific
value.

In fact, not constraining the directory path allows running several
ACME servers on a single HTTP host (if anyone finds a need for that),
as long as each server has a unique directory URL (and unique
resource URIs, to avoid collisions with other ACME servers).

Amicalement,
--=20
Albert.


From nobody Fri Jan  8 14:58:41 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 41AC31B2C7D for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 14:58:39 -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 EKMLL9iwezAP for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 14:58:38 -0800 (PST)
Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CDCC61B2C80 for <acme@ietf.org>; Fri,  8 Jan 2016 14:58:37 -0800 (PST)
Received: by mail-ig0-x22a.google.com with SMTP id z14so85550819igp.0 for <acme@ietf.org>; Fri, 08 Jan 2016 14:58:37 -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=QarNf4OM1M1EGqEgS4yqL44CXdkbor8oUpVk08KyD2E=; b=tomymJASk9jt0IrlqPMX2WJqARgrv0VeXOslo6AJKpFoJnNF7qyJYQW3HsWTD5AVA7 wBXsbVtTEA9Wkhk6dXvC5LexNgFnnRrg0NK3Qarhyao2l9wSUxQt+otlMjcvWa/Gy9p4 MGfO8eL6TMRZBLqnWUtv8u0YQbea/DEV1PSvfV/dq92jZPFUvXJrB3fFdSysTmM+K7Un NnWEB6NefKAxHr/1Kku2yfvSUQlSTudSLprB1AABrx70N36EGKcJamzjU37hxaTPqE6P 9jpUnm/GZLAq6SKO3vIyQPGQ+NEmviM07i7kTLZTL8irkbNiZe3iDLBlgVjGW+I2JB0h TlHA==
MIME-Version: 1.0
X-Received: by 10.50.60.6 with SMTP id d6mr1445554igr.94.1452293917115; Fri, 08 Jan 2016 14:58:37 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Fri, 8 Jan 2016 14:58:37 -0800 (PST)
In-Reply-To: <20160108224655.3e86921f@lilith>
References: <20160108204956.4930f429@lilith> <513bd0198dd74fa4ab7fabdee8be242d@usma1ex-dag1mb1.msg.corp.akamai.com> <20160108213330.68bb52a8@lilith> <20160108224655.3e86921f@lilith>
Date: Sat, 9 Jan 2016 09:58:37 +1100
Message-ID: <CABkgnnXvs4s5xrRLyCNuUHADmPA_ZQDaOeW8nptrbpV-awBw8A@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Albert ARIBAUD <albert.aribaud@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/YULH1df5RDPfeMwaTCa5PdSShhQ>
Cc: "Salz, Rich" <rsalz@akamai.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] The path to the "directory" resource should not be "/" and should be specified in 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: Fri, 08 Jan 2016 22:58:39 -0000

On 9 January 2016 at 08:46, Albert ARIBAUD <albert.aribaud@gmail.com> wrote:
> Actually, I withdraw this statement: acme-v01.api.letsencrypt.org's
> "/directory" is just as compliant as "/acme" or "/". There is no
> reason to constrain the path of the directory object to a specific
> value.
>
> In fact, not constraining the directory path allows running several
> ACME servers on a single HTTP host (if anyone finds a need for that),
> as long as each server has a unique directory URL (and unique
> resource URIs, to avoid collisions with other ACME servers).


That's right.  This string
"https://acme-v01.api.letsencrypt.org/directory" is what you need to
know to use the LE service.  That part isn't subject to
standardization.


From nobody Fri Jan  8 15:57:23 2016
Return-Path: <peter@lekensteyn.nl>
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 8C2C11B2CB2 for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 15:57:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.084
X-Spam-Level: 
X-Spam-Status: No, score=0.084 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 y3wTY1WPIxkY for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 15:57:20 -0800 (PST)
Received: from mail.lekensteyn.nl (mail.lekensteyn.nl [IPv6:2a02:2308::360:1:25]) (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 E767D1B2CB1 for <acme@ietf.org>; Fri,  8 Jan 2016 15:57:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lekensteyn.nl; s=s2048-2015-q1;  h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=99Wm9BIXkYrM0/Nfi/fHh+0aC4MbH2GzCbs/wivsym4=;  b=Q+r2VUHUBitQCzASJAu/rO0YFIYwcvhav6ZJb6ha+KGTozgtfgi0UfEeZaX0LTNR9n0p+pg6FiXj+t4PM23//RIrZZK9va8HM1+Hf/BD3ofdLj9fSBhNZOivau83CQoUYHUHAcongQRDHkMTlPTRPG16OXY+y5JKbbQyBeKPaxQCDqiogYw8M+yk50j8eAM9PtXj2+mMYbYkgkn/3YmLqdkzF55qmGj6DBsMkgOGkgbOqqD18StLJrFxY7WauYkxr1m0yLrqcFU3rvlvubda8zhB3RRjzQ5INwpolI6D3uhziV+Oq9F2IBm/lNRKYtUpJhFsVHpAEuWpuqAmFUgd/Q==;
Received: by lekensteyn.nl with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84) (envelope-from <peter@lekensteyn.nl>) id 1aHgtr-0000DD-Cv; Sat, 09 Jan 2016 00:57:13 +0100
Date: Sat, 9 Jan 2016 00:56:49 +0100
From: Peter Wu <peter@lekensteyn.nl>
To: Peter Eckersley <pde@eff.org>
Message-ID: <20160108235649.GA5033@al>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com> <20160108172709.GA29864@al> <20160108182325.GM18430@eff.org> <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com> <20160108195639.GP18430@eff.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160108195639.GP18430@eff.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/X-NZ9DOiLQIG2p39hVVPady-gVo>
Cc: IETF ACME <acme@ietf.org>, Niklas Keller <me@kelunik.com>
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 08 Jan 2016 23:57:21 -0000

On Fri, Jan 08, 2016 at 10:23:25AM -0800, Peter Eckersley wrote:
> On Fri, Jan 08, 2016 at 06:27:09PM +0100, Peter Wu wrote:
>  
> > Peter (Eckersley), you reported this concern with the premise that it is
> > a common configuration mistake that impacts many hosting providers. Do
> > you have scans backing up that concern? Websites that are managed by a
> > single entity (i.e. not shared hosting providers) with this
> > configuration "mistake' are not a problem.
> 
> I haven't spent the time to conduct a thorough scan to get numbers, but
> this type of configuration is very easy and natural to create, and manually
> examining the https:// responses of a handful of Alexa top 100K domains
> (starting in the middle of the list, not the top) showed a tremendous
> diversity of strange behaviours for domains where https:// has not been
> officially deployed.
> 
> If someone wants to do a scan to try to characterise all of those
> behaviours, go for it!

I'll give it a go. Currently thinking of a scanning sites 1k-2k from the
Alexa list, testing port 80 (host: domain, host: ip, host:
surelyinvalid.example.com and no host header), port 443 (no SNI, and SNI
with + Host header like used for port 80). Then I'll try to store a pcap
so all responses can fully be analyzed.

Are there other things that should be checked as well?

On Fri, Jan 08, 2016 at 11:56:39AM -0800, Peter Eckersley wrote:
> On Fri, Jan 08, 2016 at 08:42:57PM +0100, Niklas Keller wrote:
> > > The current language describing it in the spec is terrible and needs to
> > > be rewritten, but it's quite simple: add an extra :443 vhost entry to
> > > your server config, serving a self-signed cert created to pass the
> > > challenge.
> > 
> > 
> > Unfortunately, this requires a server configuration reload. http-01 is
> > still a lot easier, it doesn't require any configuration change. I think
> > it's best to allow http-01 over HTTPS on port 443 if port 80 is not
> > reachable. This should eliminate the vulnerability, but allow verifying
> > HTTPS-only sites with http-01.
> 
> That's pretty corner case-y behaviour for a very specialised use case
> (server *must* have port 80 firewalled, and cannot possibly perform a
> graceful server reload).  Are there other voices in favour of special
> casing DV behaviour for that use case?

Trying port 443 after port 80 is unreachable is a workaround and
probably too specific. If a configuration issue like the default vhost
is a concern, then I would like to suggest validating the subject CN or
SANs of the returned certificate even if self-signed or expired.
(This modification, but also the existing http-01 validation, seems
vulnerable to a MitM attack where the attacker controlling the network
can cause false validations, but is not the topic of this mail.)


In my last mail, I meant to say "not possible with http-01". I am using
the simp_le ACME client with Let's Encrypt and encountered this
limitation when trying it at home. The following scenarios assume that a
webserver is already running a live website.

An advantage of the http-01 method over tls-sni-01 is that a webserver
can delegate the validation by proxying the request or by pointing to a
specific directory on the filesystem. Both approaches work with an
unprivileged ACME client.

The SNI method requires that an ACME client can modify the webserver
configuration (add a new vhost + cert) and reload it. It cannot be
delegated via proxying because the server needs to parse the Client
Hello first.

In short, http-01 operates on a level below TLS and is more flexible
than tls-sni-01 and allows delegation of certificate validation.
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl


From nobody Fri Jan  8 16:13:39 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 105FA1B2CCA for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 16:13:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level: 
X-Spam-Status: No, score=-7.012 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 jI3jCQ_mxeIG for <acme@ietfa.amsl.com>; Fri,  8 Jan 2016 16:13:36 -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 35FC21B2CC9 for <acme@ietf.org>; Fri,  8 Jan 2016 16:13:36 -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=e+PoAWnTeN1BL6V99z76MD0ulIhcJQqsURojn/682Hw=;  b=ru0+RkuNbikqlew+H6+sUMk5RG1RbOtev1hjytnMf5bsTsw06AiOekBxMRX/ddsqpa7JP3bFwHpNUDHXazcPwspvQ7Ohc93GxTSGHnWPSeoWRb8Ty2D/zi4XTT+LxGbJk/i0Ty07A32Ek8obanMgy35YREXGTgZpq+GdrZZfY78=;
Received: ; Fri, 08 Jan 2016 16:13:31 -0800
Date: Fri, 8 Jan 2016 16:13:30 -0800
From: Peter Eckersley <pde@eff.org>
To: Peter Wu <peter@lekensteyn.nl>
Message-ID: <20160109001329.GS18430@eff.org>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com> <20160108172709.GA29864@al> <20160108182325.GM18430@eff.org> <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com> <20160108195639.GP18430@eff.org> <20160108235649.GA5033@al>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160108235649.GA5033@al>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/NGVTDgVJhek4Eo8Mn2f_xo7Q0hc>
Cc: IETF ACME <acme@ietf.org>, Niklas Keller <me@kelunik.com>
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 09 Jan 2016 00:13:38 -0000

On Sat, Jan 09, 2016 at 12:56:49AM +0100, Peter Wu wrote:
> On Fri, Jan 08, 2016 at 10:23:25AM -0800, Peter Eckersley wrote:
> > On Fri, Jan 08, 2016 at 06:27:09PM +0100, Peter Wu wrote:
> >  
> > > Peter (Eckersley), you reported this concern with the premise that it is
> > > a common configuration mistake that impacts many hosting providers. Do
> > > you have scans backing up that concern? Websites that are managed by a
> > > single entity (i.e. not shared hosting providers) with this
> > > configuration "mistake' are not a problem.
> > 
> > I haven't spent the time to conduct a thorough scan to get numbers, but
> > this type of configuration is very easy and natural to create, and manually
> > examining the https:// responses of a handful of Alexa top 100K domains
> > (starting in the middle of the list, not the top) showed a tremendous
> > diversity of strange behaviours for domains where https:// has not been
> > officially deployed.
> > 
> > If someone wants to do a scan to try to characterise all of those
> > behaviours, go for it!
> 
> I'll give it a go. Currently thinking of a scanning sites 1k-2k from the
> Alexa list, testing port 80 (host: domain, host: ip, host:
> surelyinvalid.example.com and no host header), port 443 (no SNI, and SNI
> with + Host header like used for port 80). Then I'll try to store a pcap
> so all responses can fully be analyzed.
> 
> Are there other things that should be checked as well?

Sites in the top 2K almost all have significant engineering resources
available.  I'd recommend checking things down around the 100K mark as
well, you'll get more representative diversity there.

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


From jakub.warmuz@gmail.com  Sat Jan  9 06:00:08 2016
Return-Path: <jakub.warmuz@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 0C0B71A875C for <acme@ietfa.amsl.com>; Sat,  9 Jan 2016 06:00:08 -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 g-PnN0t1BGbX for <acme@ietfa.amsl.com>; Sat,  9 Jan 2016 06:00:06 -0800 (PST)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEA971A8761 for <acme@ietf.org>; Sat,  9 Jan 2016 06:00:05 -0800 (PST)
Received: by mail-wm0-x231.google.com with SMTP id f206so165755783wmf.0 for <acme@ietf.org>; Sat, 09 Jan 2016 06:00:05 -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=ba65FwTuyHOwM1Z1QFagwNJSQ+PUMDFxE3LTn5G9EBs=; b=hCAmrqGHu+FzEB6Oe/G8vzNIoxHfURNyiM9aVpRgGV7PD6DOgXHjLRfYKJsxgM2CY9 9PbQRum5eQyDJWfxVWLvpRs3+0D0c+SNBowPaYh5bKvSd9Ss+WleXzgby9HU4IWo5kSH pdifeWsffFmXfxu5gnK3coESxPXRo/WANLspAbtkD7TYWLPVeqLIBVEJ97xJKEcMpHSZ 7CVl/BgC1o4jVkA4IQ8uPyAfNay9bpyePDhM2PvULpP5S16J2lWEoa41ZXd42hjdE12y PsNKtqOAEDnEGBhcqvM6N1OqMy3GPqwIal6nAd7mHyj9BJmycZ8Q1lM62F37qLaiZVe+ BX9w==
X-Received: by 10.28.63.200 with SMTP id m191mr4411408wma.67.1452348004529; Sat, 09 Jan 2016 06:00:04 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.42.98 with HTTP; Sat, 9 Jan 2016 05:59:44 -0800 (PST)
In-Reply-To: <20160108235649.GA5033@al>
References: <CANUQDCjc2pyD19pC+8F4dhommuaOtf=JpJWOYAh6He3RNK8+Xg@mail.gmail.com> <20160108172709.GA29864@al> <20160108182325.GM18430@eff.org> <CANUQDChqJeCJKY0o9DUTS9SrhwpnkUcf9VUqBGy4nt+N8YJVbA@mail.gmail.com> <20160108195639.GP18430@eff.org> <20160108235649.GA5033@al>
From: Jakub Warmuz <jakub.warmuz@gmail.com>
Date: Sat, 9 Jan 2016 13:59:44 +0000
Message-ID: <CAFtOTVhLht3+He_=MVG=oRN-KoayQkQDnSMnWVn_nc85fXzr4Q@mail.gmail.com>
To: Peter Wu <peter@lekensteyn.nl>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/3Or7Jnq2h32REGUNJqMFYMcESTM>
X-Mailman-Approved-At: Sat, 09 Jan 2016 08:27:16 -0800
Cc: Peter Eckersley <pde@eff.org>, Niklas Keller <me@kelunik.com>, IETF ACME <acme@ietf.org>
Subject: Re: [Acme] ACME vulnerabilities in SimpleHTTP due to common webservers' default virtual host semantics
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, 09 Jan 2016 14:06:44 -0000

On 8 January 2016 at 23:56, Peter Wu <peter@lekensteyn.nl> wrote:
> It cannot be
> delegated via proxying because the server needs to parse the Client
> Hello first.


You could run a load balancer that proxies all requests to
*.acme.invalid to a Let's Encrypt client. There is (quite old)
tutorial on how to achieve that with HAProxy at
https://coolaj86.com/articles/lets-encrypt-with-haproxy/.

-- 
Yours virtually,
Jakub Warmuz


From nobody Thu Jan 14 07:27:52 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 EA5EE1B3584 for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 07:27:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.103
X-Spam-Level: 
X-Spam-Status: No, score=-0.103 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 Bys-pIhMEcXj for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 07:27:49 -0800 (PST)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) by ietfa.amsl.com (Postfix) with ESMTP id 063A81B3582 for <acme@ietf.org>; Thu, 14 Jan 2016 07:27:49 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 247B91C13C for <acme@ietf.org>; Thu, 14 Jan 2016 16:27:48 +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=1452785268; x=1470974629; bh=ynMF A9TwtKTXCmh0ciRHFTrb3FTKo9/AY2S3p96Krsc=; b=ApXVfrfx/hAQNYAckYgw QduPiG4SbFf5isehuzNIFL9SDw5jYJTadTLapjvCXcUm2/IVI5PN5pEE/AWbZiKq FvgeVrt0GnUGaFw578OP1GSwFJAsjUIpBTSX0+sdnUQrU8+Ou7QclbT1WwDiFL4T v7r6Fqb7hsSl0aUz3TyVhUece+cHqN64HyB+Q5fpIOWP3+ExjGj81uXYns0Bhn6+ 2bFTM4+gFe2g62FkqHDUTIJWDBCo2pq0EPhNA6jyvS6+yZnxFqh9cWLBnKw7ccun T5xt1TEQtLIxD9eMw5rSBruvux+d9LtjLOpte7VfrnAoRElZ9H76xEcM/L+e67u+ Cw==
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 TrHmq4xHWxpz for <acme@ietf.org>; Thu, 14 Jan 2016 16:27:48 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id E3D7C1C13B for <acme@ietf.org>; Thu, 14 Jan 2016 16:27:47 +0100 (CET)
Date: Thu, 14 Jan 2016 15:27:47 +0000
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20160114152747.GA28898@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/UNCH86fmBaE8ceRxWTHvQng_bYM>
Subject: [Acme] Revoking certificates issued by an unknown ACME server
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, 14 Jan 2016 15:27:51 -0000

So while implementing revocation in my ACME client, I came to the
following problem: how do you know which ACME server issued a
certificate?

Given an ACME server URL, one can obtain a certificate, but there is no
reliable way to do the reverse.

If you think about it, it might be desirable to be able to revoke a
certificate possessing nothing but the certificate. For example, suppose
you identify a misissued certificate for a domain you control. Under the
current ACME protocol, if you can prove control of that domain, you can
revoke the certificate; however, this requires you to know what server
issued it.

Not sure what the good solutions to this are. One would be to include
the directory URL as an X.509 or OCSP extension, though that bloats the
certificate/response. Another might be to reuse the OCSP responder URL,
so that given an OCSP endpoint, one can obtain the ACME server URL, or
at least one suitable for revocation.

Something like:

  Normal OCSP Request:
  GET http://ocsp.example.com/ocsp/MFMwUTBPME0wSzAJ
 

  Revocation Location OCSP Request:
  GET http://ocsp.example.com/ocsp/acme-revoker/MFMwUTBPME0wSzAJ

  302 Found
  Location: https://acme-staging.letsencrypt.org/directory


Thoughts?

Hugo Landau


From nobody Thu Jan 14 13:34:57 2016
Return-Path: <session_request_developers@ietf.org>
X-Original-To: acme@ietf.org
Delivered-To: acme@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D4F001A86E2; Thu, 14 Jan 2016 13:34:55 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: "\"IETF Meeting Session Request Tool\"" <session_request_developers@ietf.org>
To: <session-request@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.12.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160114213455.20302.98121.idtracker@ietfa.amsl.com>
Date: Thu, 14 Jan 2016 13:34:55 -0800
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/4eNyGmYJ0kvP52AOvd-ukkkIFbY>
Cc: Kathleen.Moriarty.ietf@gmail.com, acme@ietf.org, ted.ietf@gmail.com, acme-chairs@ietf.org
Subject: [Acme] acme - New Meeting Session Request for IETF 95
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 14 Jan 2016 21:34:56 -0000

A new meeting session request has just been submitted by Ted Hardie, a Chair of the acme working group.


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

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


Special Requests:
  BoFsďź ACCORD and ARCING.
---------------------------------------------------------


From nobody Thu Jan 14 14:13:22 2016
Return-Path: <session_request_developers@ietf.org>
X-Original-To: acme@ietf.org
Delivered-To: acme@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id CC5791A0058; Thu, 14 Jan 2016 14:13:20 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: "\"IETF Meeting Session Request Tool\"" <session_request_developers@ietf.org>
To: <session-request@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.12.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160114221320.32265.38646.idtracker@ietfa.amsl.com>
Date: Thu, 14 Jan 2016 14:13:20 -0800
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ZL_jHkX_Odqjhqf8-wcajYZuSco>
Cc: Kathleen.Moriarty.ietf@gmail.com, acme@ietf.org, smccammon@amsl.com, acme-chairs@ietf.org
Subject: [Acme] acme - Update to a Meeting Session Request for IETF 95
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
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, 14 Jan 2016 22:13:21 -0000

An update to a meeting session request has just been submitted by Stephanie McCammon, on behalf of the acme working group.


---------------------------------------------------------
Working Group Name: Automated Certificate Management Environment
Area Name: Security Area
Session Requester: Stephanie McCammon

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


Special Requests:
  BoFsďź ACCORD and ARCING.
---------------------------------------------------------


From nobody Thu Jan 14 18:55:46 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 958661A884C for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 18:55:44 -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 PttQ3DrPXBhs for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 18:55:43 -0800 (PST)
Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2E0C1A884B for <acme@ietf.org>; Thu, 14 Jan 2016 18:55:42 -0800 (PST)
Received: by mail-ig0-x231.google.com with SMTP id h5so2576853igh.0 for <acme@ietf.org>; Thu, 14 Jan 2016 18:55:42 -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=KlDj3g2zSvgMMPhANCAvJzP0tBV8P80v16XdX5vFFio=; b=BGyQH9yWNuvGbb45osWmxdqlUolCYYN9r+Cx4hbjNGqJ+ajy5nT5psm4hx5TZx+Ysw vL9cnNzp8tOp0pghvcPcQS/corRRrAOnlHMOeBEpxvayuuX2ev+cNmdS+ctHXwTQGR5w 3selzNgAl4YkT8UzozlcYcPIpe9x2PR5jLcQ8xltjTSpCwHlhXhu6+K86RyaD2ntp4Cv koNQG2+LlMEUi/hvWaUskWXbM8Fa8XKGRHBZU+GSLx5bgm2EBLMu7ybONWwyRDDk+Y1d GV9ZSt4wPSumhjJhRcZREX8nDDEKe1wbOea3sPOHlqLfAV8FTv8LIRO/QEzecs2SRYrJ zOPg==
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=KlDj3g2zSvgMMPhANCAvJzP0tBV8P80v16XdX5vFFio=; b=R3NXL0u0JGIqZR6ZoarV0KvSsrRnO3I8e6+FdsOsTymGu2ulncGmhxgZL4ehGdNlxi +ueeqk1OzMK0Np4thL7q5LNuNTXOx2ZY4DhimNDy6aZQT+qvebWU1/GQ9Dxt2V/WkrVG 8S2pDCT20pSdYXy6TuX0iylxBsstyzlELP/XM/LP8kzXHLAojRhJq/xYb5Bb5yZNQ9vO aUHxuzDTHUuTAheOfxI7UC4tGKUs9EJgF7eQvMu9ULxS+1A2kVeWqIpb1VkyKZnHG67k 2fhZbXL1Ru7cbA7md50l7klWsuk9nNwittXVxYankKyx3SqFHysgjJsdzCbLZt6KXFO4 NrVw==
X-Gm-Message-State: AG10YORrOCztaizLoHgeSr+YTXdJCL4N5+449ryWSvRuBJ4LL80BnqxEQgU51grxE8nmtaNpJSnAVjCGy+zbLQ==
MIME-Version: 1.0
X-Received: by 10.50.20.73 with SMTP id l9mr885777ige.58.1452826542200; Thu, 14 Jan 2016 18:55:42 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Thu, 14 Jan 2016 18:55:42 -0800 (PST)
In-Reply-To: <20160114152747.GA28898@andover>
References: <20160114152747.GA28898@andover>
Date: Fri, 15 Jan 2016 13:55:42 +1100
Message-ID: <CABkgnnWjCbLjRhLH=riyWfCRxBX-kLVfAgTqVjrRR-8bMVCMkw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Hugo Landau <hlandau@devever.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/YTBc5VkeRSzelWQn-7vHGJH9xXY>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Revoking certificates issued by an unknown ACME server
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, 15 Jan 2016 02:55:44 -0000

Is there any reason why you couldn't rely on a search engine for this?
 That is, search for "acme endpoint <intermediate CN>" and thereby
arrive at a value.  That's the "low tech" alternative to packing the
URL in the ee or intermediate cert.

On 15 January 2016 at 02:27, Hugo Landau <hlandau@devever.net> wrote:
> So while implementing revocation in my ACME client, I came to the
> following problem: how do you know which ACME server issued a
> certificate?
>
> Given an ACME server URL, one can obtain a certificate, but there is no
> reliable way to do the reverse.
>
> If you think about it, it might be desirable to be able to revoke a
> certificate possessing nothing but the certificate. For example, suppose
> you identify a misissued certificate for a domain you control. Under the
> current ACME protocol, if you can prove control of that domain, you can
> revoke the certificate; however, this requires you to know what server
> issued it.
>
> Not sure what the good solutions to this are. One would be to include
> the directory URL as an X.509 or OCSP extension, though that bloats the
> certificate/response. Another might be to reuse the OCSP responder URL,
> so that given an OCSP endpoint, one can obtain the ACME server URL, or
> at least one suitable for revocation.
>
> Something like:
>
>   Normal OCSP Request:
>   GET http://ocsp.example.com/ocsp/MFMwUTBPME0wSzAJ
>
>
>   Revocation Location OCSP Request:
>   GET http://ocsp.example.com/ocsp/acme-revoker/MFMwUTBPME0wSzAJ
>
>   302 Found
>   Location: https://acme-staging.letsencrypt.org/directory
>
>
> Thoughts?
>
> Hugo Landau
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme


From nobody Thu Jan 14 22:26:54 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 1D6261B29D2 for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 22:26:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 QX1aemIvp7pO for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 22:26:51 -0800 (PST)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) by ietfa.amsl.com (Postfix) with ESMTP id 15B261B29D1 for <acme@ietf.org>; Thu, 14 Jan 2016 22:26:51 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 36F811C13C; Fri, 15 Jan 2016 07:26: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=1452839210; x=1471028571; bh=mqKyphkfYN1+xS0bT7RGwJJAOs1jFSVPZ2DVzaUJo/M=; b= MGTkvpUfMGxx4Kk37panhzUDmxlfJkkhagW9R5SjZPxYTcfCcen1lqSNyVlog+KP /h1XPGySbPZnQhPHZqQ3PSw9OPstihw4s5b3G3YsoqgNhokyawn3u0bqR2cWMgJ6 /2z678DWTv1rgGKmsbP03bgQiPSWgQ5k6WHGiDUVmu0Rm+NsIr3I6/Ek2hsTDXrx Mazu1ieumMzHusX9bY3Pd1vybXa1h8N98cIZPluOItCrdlUe2DyduUMQ2ZkCQLHN eYPIXldfXkh7pRT0F4LKHInFvzVPiN7ZkkAjvvHhLC1nhFUVBZe5j+Z+Oz1iU0Hq UAIKNd6WyQB4BkIikikMZA==
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 vjW47UeU5KpI; Fri, 15 Jan 2016 07:26:50 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id ED0671C005; Fri, 15 Jan 2016 07:26:49 +0100 (CET)
Date: Fri, 15 Jan 2016 06:26:49 +0000
From: Hugo Landau <hlandau@devever.net>
To: Martin Thomson <martin.thomson@gmail.com>
Message-ID: <20160115062649.GA21476@andover>
References: <20160114152747.GA28898@andover> <CABkgnnWjCbLjRhLH=riyWfCRxBX-kLVfAgTqVjrRR-8bMVCMkw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABkgnnWjCbLjRhLH=riyWfCRxBX-kLVfAgTqVjrRR-8bMVCMkw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/cb3xvQ0u2Y2NWGAIxTVK6gb0YUc>
Cc: acme@ietf.org
Subject: Re: [Acme] Revoking certificates issued by an unknown ACME server
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, 15 Jan 2016 06:26:53 -0000

This isn't sanely automatable.

It's unlikely that this will pose an issue if a human wants to figure
out the issuing server. But as things stand to automate things you'd
need to maintain a database of CAs to directory URLs.

On Fri, Jan 15, 2016 at 01:55:42PM +1100, Martin Thomson wrote:
> Is there any reason why you couldn't rely on a search engine for this?
>  That is, search for "acme endpoint <intermediate CN>" and thereby
> arrive at a value.  That's the "low tech" alternative to packing the
> URL in the ee or intermediate cert.
> 
> On 15 January 2016 at 02:27, Hugo Landau <hlandau@devever.net> wrote:
> > So while implementing revocation in my ACME client, I came to the
> > following problem: how do you know which ACME server issued a
> > certificate?
> >
> > Given an ACME server URL, one can obtain a certificate, but there is no
> > reliable way to do the reverse.
> >
> > If you think about it, it might be desirable to be able to revoke a
> > certificate possessing nothing but the certificate. For example, suppose
> > you identify a misissued certificate for a domain you control. Under the
> > current ACME protocol, if you can prove control of that domain, you can
> > revoke the certificate; however, this requires you to know what server
> > issued it.
> >
> > Not sure what the good solutions to this are. One would be to include
> > the directory URL as an X.509 or OCSP extension, though that bloats the
> > certificate/response. Another might be to reuse the OCSP responder URL,
> > so that given an OCSP endpoint, one can obtain the ACME server URL, or
> > at least one suitable for revocation.
> >
> > Something like:
> >
> >   Normal OCSP Request:
> >   GET http://ocsp.example.com/ocsp/MFMwUTBPME0wSzAJ
> >
> >
> >   Revocation Location OCSP Request:
> >   GET http://ocsp.example.com/ocsp/acme-revoker/MFMwUTBPME0wSzAJ
> >
> >   302 Found
> >   Location: https://acme-staging.letsencrypt.org/directory
> >
> >
> > Thoughts?
> >
> > Hugo Landau
> >
> > _______________________________________________
> > Acme mailing list
> > Acme@ietf.org
> > https://www.ietf.org/mailman/listinfo/acme


From nobody Thu Jan 14 23:00:39 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 D93561B2A75 for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 23:00:37 -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 YXEtIr-Hh2ZA for <acme@ietfa.amsl.com>; Thu, 14 Jan 2016 23:00:36 -0800 (PST)
Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::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 C1B371B2A72 for <acme@ietf.org>; Thu, 14 Jan 2016 23:00:36 -0800 (PST)
Received: by mail-ig0-x230.google.com with SMTP id h5so5030022igh.0 for <acme@ietf.org>; Thu, 14 Jan 2016 23:00:36 -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=WPY2OK8BYmkUIxrhqV1FywA/E3ezLjTGlkNo0wkkgfA=; b=e3I11Z7WQZoKOlMvdtgmjo3o3CYT8s3KEMNEj2nEsEoXGYy4iQsqlwcawev5SA+4I8 ALraDYhB1hIoM4rY0qQj3DE4pTBctPggWXBULr4L/8zCvzi1aAts/7kPxMiK7Y24OW6u D4B3f9+mve+cDp518fM7xcFTjFWnIJ6C3s7xNyJrUcWcyxAsQBl3MwJRUQZd1vo/nhuJ rvn8BNLpzVK0d/gIg4uBlMpl6iV54A/1dG8uA//qPB5+uPYcZRwuFwKCkSY+zzs27Fs4 Wih2iknZqbRJCxy2xncj/DR4Q+alwpzWRreTlfnmjnSiGzZPFe/tmYZDPxZLip7AkCwC y7EA==
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=WPY2OK8BYmkUIxrhqV1FywA/E3ezLjTGlkNo0wkkgfA=; b=VbkmCdpnzuYz9bDqwG5cbgpHPtdxf4ageXwtCrAaWzhx+3bXmnjnzhsvIaA2ZwB+Ra wnHEXwuO/NuQBBIJzt4b7ZlxB2k2OGiq2fCPWWC60xqMh71qdaItTkcjdoixeORXssco 5xNQC6E4au0BTeokOGAZRFp6ugSdsxJ6vGISpsm5e1KiHIZ7axfl0K5zqNIC6DP5HWjw OSeUKmB0A9R1HtMlJI/umfXSevXFpcFOlMngSv2FVHLyrRFYt6b8r/e041yq//BXzIv+ 5/EiHmILCALf/vlWgU/C32CHvBFiMyaPgYOQPYH8GA0bsDox+pbKw022pwks7+SOzeAi 4ZOQ==
X-Gm-Message-State: AG10YOTEC5OKaDfe0EYIxzYPCkCkdgVToHSm+zMg1UlNGB9GUXv5/hqLrAfuV4W/XPeP3pODeKkgE17bSc4zqw==
MIME-Version: 1.0
X-Received: by 10.50.20.73 with SMTP id l9mr1705513ige.58.1452841236101; Thu, 14 Jan 2016 23:00:36 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Thu, 14 Jan 2016 23:00:36 -0800 (PST)
In-Reply-To: <20160115062649.GA21476@andover>
References: <20160114152747.GA28898@andover> <CABkgnnWjCbLjRhLH=riyWfCRxBX-kLVfAgTqVjrRR-8bMVCMkw@mail.gmail.com> <20160115062649.GA21476@andover>
Date: Fri, 15 Jan 2016 18:00:36 +1100
Message-ID: <CABkgnnWF9o6=xJdSCOOHO6gOxfRM4Ji8Ja_0vPhxqbnkvgQKyg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Hugo Landau <hlandau@devever.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/NWy-eG7td9x591eErFX7iiqXIS4>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Revoking certificates issued by an unknown ACME server
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, 15 Jan 2016 07:00:38 -0000

On 15 January 2016 at 17:26, Hugo Landau <hlandau@devever.net> wrote:
> This isn't sanely automatable.


Correct.  But it doesn't require any work to define.  Do you have
evidence that suggests this scenario (a certificate issued by an ACME
server needs revocation by someone other than the one who requested
the certificate) would be commonplace enough to warrant automation?


From nobody Fri Jan 15 08:04:34 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 CC52E1B2F87 for <acme@ietfa.amsl.com>; Fri, 15 Jan 2016 08:04:32 -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 UP1pNZZdXvCJ for <acme@ietfa.amsl.com>; Fri, 15 Jan 2016 08:04:31 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 0C4781B2F8A for <acme@ietf.org>; Fri, 15 Jan 2016 08:04:31 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id F2B4C423772; Fri, 15 Jan 2016 16:04:29 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id CD33A42373E; Fri, 15 Jan 2016 16:04:29 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1452873869; bh=ySXsXFIuoIJMaiW7QHlJ6eV9qSE0U64JgVbisgOGlxo=; l=624; h=From:To:CC:Date:References:In-Reply-To:From; b=knvkTESKXeKcvoREBrDOC/r0R203nbV2rOT3ZLVcHQUOToeuws7QdS36VXzwELiUw hiSFg8111b94iLDa+ZaRQNQ8cJlkllkf+Tg3sJ3KAY9ph9olCBzGbZJpfxMUq1ozWy sgSmMskhSUe0+X6E0N5/UjvEnf7JMJOmZzwGiHzo=
Received: from email.msg.corp.akamai.com (ecp.msg.corp.akamai.com [172.27.123.34]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id BCC81202A; Fri, 15 Jan 2016 16:04:29 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Fri, 15 Jan 2016 11:04:29 -0500
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1076.000; Fri, 15 Jan 2016 11:04:29 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Hugo Landau <hlandau@devever.net>, Martin Thomson <martin.thomson@gmail.com>
Thread-Topic: [Acme] Revoking certificates issued by an unknown ACME server
Thread-Index: AQHRTuAktrePmpEOb0Ki6RxUbkqxGp78NoMAgAA6/ICAAEzgQA==
Date: Fri, 15 Jan 2016 16:04:28 +0000
Message-ID: <a768976b72844ea987e6bf7f2b576fd8@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <20160114152747.GA28898@andover> <CABkgnnWjCbLjRhLH=riyWfCRxBX-kLVfAgTqVjrRR-8bMVCMkw@mail.gmail.com> <20160115062649.GA21476@andover>
In-Reply-To: <20160115062649.GA21476@andover>
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.91]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/0NFGFHlgBMXMiGWFTSCJc71agcg>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Revoking certificates issued by an unknown ACME server
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, 15 Jan 2016 16:04:33 -0000

> This isn't sanely automatable.
>=20
> It's unlikely that this will pose an issue if a human wants to figure out=
 the
> issuing server. But as things stand to automate things you'd need to main=
tain
> a database of CAs to directory URLs.

I don't see a problem with that.  You've got a cert, you can figure out the=
 issuer, and then you go to your table, csv, spreadsheet, appconfig, whatev=
er and see where the ACME server is that you first contacted.

On the other hand, if you want to define an authorityInfoAccess type of "ac=
meServer" kind of analogous crlDP, go ahead and let's see how takes it up.


From nobody Fri Jan 15 23:18:32 2016
Return-Path: <anders.rundgren.net@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 9115E1A039A for <acme@ietfa.amsl.com>; Fri, 15 Jan 2016 23:18:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 Vp3CjwFlrxOh for <acme@ietfa.amsl.com>; Fri, 15 Jan 2016 23:18:30 -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 B25671A0397 for <acme@ietf.org>; Fri, 15 Jan 2016 23:18:29 -0800 (PST)
Received: by mail-wm0-x22f.google.com with SMTP id f206so47393380wmf.0 for <acme@ietf.org>; Fri, 15 Jan 2016 23:18:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:subject:to:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=+FJO4jdElkgIsrt8bFRb4v/duKaSjfBIQwf7Rnd6RoQ=; b=l6tRfgbUca2DGlsGQfGGSlZ+m9tehMGzZn3cGtQeQ0x+iAkT5/FYHRtlgE3X8KxpRB eKXqpUoSMInvtYhr3q5xkuRevLFCHF12AYx1E52Sytd8EUEL6WVXC0KGm9Bj2R6CnDlD U9aObembBqdb5pvE4ejLJ0mOFrmqyWo9Zs2U28fWlWoIstOm8NiMR90TtGg8zN5A89I2 /CqeLcrXLPnVPxrLVcANmYG8zA5b3JJx7ocQM1aKnf/CPcNqp4vTBR3tqqKXmntHMykO 7iRrejToaep2oUmOGyysK8YuI2TgIqxQno/L2kcFcoprBkro4jq4W8SgGEjO2So6CDZj nv1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=+FJO4jdElkgIsrt8bFRb4v/duKaSjfBIQwf7Rnd6RoQ=; b=K562cfHkYepaCkILVxIKd4iPeDX5fcefBNu01MtFiUOosvOiY/g3kcCJYTGEZu28Bw NaCGSLk/xLB81ukLoX0fq8qNN9iDsDu7OV6nfTD5EOdj9Fo5X6/BJ92Ck74c8PJo2lKE SK2Dx4qsd1ujj8SZvBNiJBmQbzllny89yRNrLGaJi2GVp6Z45JHmJeDOVemqx/vQpXZQ nuyJr0MHYmoVb2iVDUQdGKNve8SEuUhIDnGGLZ3GV30SojgN/ybg9c4U1Z1IdC3y32nE JamwPTK7Q43qUWgK2RzmaK5m8VHH0ebRD2qTtEdrVW5Cq5oVp+mxcW3QNS/WxFH63nuz EnmQ==
X-Gm-Message-State: ALoCoQnLK36QwVa8+0Udecft4LbPUywmiPv22/slXu5D/yPa/b94IySyOtF6ot4W65NCxbo1623CC4s9Wcz9Hae+LnhCR3C8cg==
X-Received: by 10.194.176.170 with SMTP id cj10mr13874545wjc.165.1452928708391;  Fri, 15 Jan 2016 23:18:28 -0800 (PST)
Received: from [192.168.1.79] (9.197.130.77.rev.sfr.net. [77.130.197.9]) by smtp.googlemail.com with ESMTPSA id m128sm5669035wma.24.2016.01.15.23.18.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jan 2016 23:18:27 -0800 (PST)
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: "acme@ietf.org" <acme@ietf.org>
Message-ID: <5699EEC1.6000602@gmail.com>
Date: Sat, 16 Jan 2016 08:18:25 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/SHQaRpTllaEg-zKGMjYeu2Y3tKA>
Subject: [Acme] Cleartext JavaScript/JSON signatures using ES6 + Google V8
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, 16 Jan 2016 07:18:31 -0000

By relying on Google's V8 for number serialization, the final interop hurdle was removed.

JCS was developed to match information-rich, multi-signature schemes like https://www.w3.org/Payments/IG/wiki/Main_Page/ProposalsQ42015/SCAI#The_SCAI_line and similar.  JCS has recently been upgraded to match ECMAScript revision 6/Google V8 making JCS compatible with node.js, Chrome, Firefox, Safari and [of course] my Java reference implementation

It should work equally well for ACME...

JSON Cleartext Signature (JCS): https://cyberphone.github.io/openkeystore/resources/docs/jcs.html#ECMAScript_Compatibility_Mode

var signedObject = {
     // The data
     statement: "Hello signed world!",
     otherProperties: [2000, true],
     // The signature
     signature: {
         algorithm: "ES256",
         publicKey: {
             type: "EC",
             curve: "P-256",
             x: "vlYxD4dtFJOp1_8_QUcieWCW-4KrLMmFL2rpkY1bQDs",
             y: "fxEF70yJenP3SPHM9hv-EnvhG6nXr3_S-fDqoj-F6yM"
         },
         value: "2H__TkcV28QpGWPkyVbR1CW0I8L4xARrVGL0LjOeHJLOPozdzRqCTyYfmAippJXqdzgNAonnFPVCSI5A6novMQ"
     }
};


Anders


From nobody Thu Jan 21 03:47:56 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 C5E1A1A8A6B for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 03:47:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Level: 
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_34=0.6, 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 GJrXgp57I3AY for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 03:47:53 -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 07D091A8BC2 for <acme@ietf.org>; Thu, 21 Jan 2016 03:47:52 -0800 (PST)
Received: from altair.sotecware.net (x5d84a98b.dyn.telefonica.de [93.132.169.139]) by sol.sotecware.net (Postfix) with ESMTPSA id CFA5A200145 for <acme@ietf.org>; Thu, 21 Jan 2016 11:47:45 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1453376869; bh=BeLLTxxhgG3cC7RfvLxRnrM5+V7bieNoQaud9XN6+do=; h=Subject:To:References:From:Date:In-Reply-To; b=HNKvjqkQIWFJhnOLHluRjnV6inKCAaSTRM9142k9whMm0vtjZ8D3PCERLnI5asn0X dOS9iQ0iTU+SI9ZgPT91M1iEGOMQayi0zyzG7xepAbjFFZN5AfVcCSvHGFrCDhhmAK GtEsUP+jqoP/9uFctas7QiHULUh/B0BGCpXPgk0BPQ7Lgn3eS3BhbArWihHltXR/Yo szjd728LlGxJw0gs5SwukM14UwKHPVDXepupuLzFkbyqGm/SU/kciBYqqyLzkOlIgb kotnbrKIilEW1IGr53GmZdoRJJ0K1qW2bgGLCUYZL6AMV+ifxPKXDW2KSeyvmMQQxY T2Y4wUxqHQYYQ==
To: acme@ietf.org
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com>
From: Jonas Wielicki <jonas@wielicki.name>
X-Enigmail-Draft-Status: N1110
Message-ID: <56A0C558.2070202@wielicki.name>
Date: Thu, 21 Jan 2016 12:47:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/UJvrqROOck1wleAHTN00aa0BA14>
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: Thu, 21 Jan 2016 11:47:54 -0000

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

Hello list,

On 07.12.2015 01:32, Manger, James wrote:
>>> Ideally, it [Let's Encrypt] would use the IP of the requester 
>>> (of course only after it has verified that the IP is in the 
>>> DNS) or allow the requester to specify a preferred IP.
> 
> This is quite a sensible feature request from Jonas. It supports 
> multiple servers for a domain while encouraging keys that are tied 
> to a single piece of hardware, without adding extra coordination 
> requirements. It doesn't feel too onerous for CAs to implement.

Having the keys bound to a single piece of hardware (or administrative
sub-domain) is also what we had in mind. Thank you for bringing that
up in clearer wording.

>> There's a fairly good solution available with the current 
>> protocol, which is to serve a (long lived) redirect from 
>> /.well-known/acme-challenge/ on all of the servers to a
>> different URL that is always answered by the machine you run an
>> ACME client on.
> 
> This redirect-based workaround feels far from ideal. It assumes 1 
> server does all the ACME bits, which discourages per-hardware
> keys. It requires more coordination between servers (1 is
> different; others need its IP; need some extra mechanism to
> distribute key+cert once issued).

We totally agree. The additional coordination overhead feels
unnecessary and error prone.

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?

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

iQIcBAEBCgAGBQJWoMVYAAoJEMBiAyWXYliKmPwP/AhkeVsagYurFxAUdImIVDlB
Dq8axBHes+WuZsYypmx7j1+zot4ljgZloxx6w//XfJyNyKdwNV1jrsFLBEELe3J9
kbcAYNZKO/DvN32GzluwF3yGqiovLCEsJ/DfRoIpcIzNSfCwutzR4h0vU9eZPjaR
aAzUiyVF6rOz+eC1kIZuOvNRVXEOgSHWBiNiZMTsYSciiYls0jakGFmAN33O13Bi
KJomFcQ8GWZJ261anTbLxgcGZYHFYjba4kZOShXX9VQnDkLrHC15aF0/afDZLjt5
ntSktX1JM+Qq1yN+FgJPPrk2B6JxvpS74um9DA8cwgMft+NU3hxpdwGaind3CVPp
GqYcU0+Rm20mJOUYgJC3n/F6EnCeN75aQpZp82DLGoa5/oyCffgqJdcr4vcJfNk1
uI+8jmV13cgn0gzJUtWjHH09VUsaUfu6Da8QYhBKILYc+Lt2FgBNH/OVLiXyc/t9
eQKVdIMYZGxjsgE9oRGIG0qVXgloCB+N/5KSh/zUEt1WrqU2rJrtCF1wrk/zPvGa
s2bh3DFCvf2GnPwDB3OrQzt3/1NpzLPKdccgvbAxUp1DAnrxeh3R1GHBji3k3dbj
+8yPpaBaYstkB8rK9azCsvZ/D3jBIV5pv1LeMZ3oKCCmj2xDCk7kXonpKEAdruaR
F2U+3WxFJbFMzpDocCIA
=ftJz
-----END PGP SIGNATURE-----


From nobody Thu Jan 21 06:13:38 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 E17A21A8838 for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 06:13:36 -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 dlnz81A2IGP2 for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 06:13:35 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 4224A1A8831 for <acme@ietf.org>; Thu, 21 Jan 2016 06:13:35 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 0B07C423783; Thu, 21 Jan 2016 14:13:34 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id E86D142377C; Thu, 21 Jan 2016 14:13:33 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1453385613; bh=vYZNLIFk0UMhaBmZbW7A4J2QuG6VA56XdBw0aup2FQY=; l=501; h=From:To:Date:References:In-Reply-To:From; b=CD5p7j6a50zVZDMJbEeVH5AOkLQglty68SheeIEmgadJLda5VPLEb/ewTcSqgl8lf +jHLcNjsttn6mT9fuM63rwzjpVY548JS6t+Dyax+Cthu+15A4DIhIyjLh9s311vhAw cNckE4EqiUsXHxZ0ssx4UtrFIx9gx+0dBD+XNWD4=
Received: from email.msg.corp.akamai.com (ecp.msg.corp.akamai.com [172.27.123.34]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id E5BBB2029; Thu, 21 Jan 2016 14:13:33 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Thu, 21 Jan 2016 09:13:33 -0500
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1076.000; Thu, 21 Jan 2016 09:13:33 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Jonas Wielicki <jonas@wielicki.name>, "acme@ietf.org" <acme@ietf.org>
Thread-Topic: [Acme] Support for domains with redundant but not immediately synchronized servers
Thread-Index: AQHRVEGTaJgtiZRTw0K3dtOVX6aP7p8GAvOw
Date: Thu, 21 Jan 2016 14:13:32 +0000
Message-ID: <046f30469e8d4cdfafb01b7e7f9d4608@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <565C84A1.9040102@wielicki.name> <20151204084601.GQ18430@eff.org> <255B9BB34FB7D647A506DC292726F6E13BB473EFFB@WSMSG3153V.srv.dir.telstra.com> <56A0C558.2070202@wielicki.name>
In-Reply-To: <56A0C558.2070202@wielicki.name>
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.42.69]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/79nWyiEW-4tLnvOVfaUFOunDIE8>
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: Thu, 21 Jan 2016 14:13:37 -0000

> I am not at all familiar with the processes in an IETF WG. What is the wa=
y
> forward to get my proposal either into the protocol or officially dismiss=
ed?

This is the way it works. :)  People post to the mailing list and there's d=
iscussion.  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 sp=
ecific wording changes.


From jehiah@gmail.com  Thu Jan 21 18:38:27 2016
Return-Path: <jehiah@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 948241B369E for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 18:38:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 0nL0PGbZi2cd for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 18:38:26 -0800 (PST)
Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7CAB1B369B for <acme@ietf.org>; Thu, 21 Jan 2016 18:38:25 -0800 (PST)
Received: by mail-vk0-x22a.google.com with SMTP id k1so34250104vkb.2 for <acme@ietf.org>; Thu, 21 Jan 2016 18:38:25 -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=Kk7y3RKB63Y7/WQjCFoqsel0ZF1fmAFbtrN6fj0hDYc=; b=ZvML/lXKsVtB0YqZlo72UOgAt9r8C2hadFs/bcbjVieGu+6ar/A9fc01fBW+AcfaWL mizncw7npTCa+8SxiLV9CKvjn1+VS2ZVCIUYoM5KK6oCrTIjzKYpKFzlQHubd2aLbUqX NEtrycRxHvwQpp6zDlzQs9B0foifw0LxofG6DoPLyIJAU74X4i2wtloRqvdEgA1o8pRb 4NTT3PYrYmPqHuJ4JEXoeczLTcZRUjp0JCfHDUBZJHHczlmkRpjE5erwVUt81Pw3iyxw r+X/T95JHNBkeQMpLNLvrQeRnrupbRfYKQZXdPF/bW6dWLjTB8w91mHmVMvDhZG3hBvK OeTQ==
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=Kk7y3RKB63Y7/WQjCFoqsel0ZF1fmAFbtrN6fj0hDYc=; b=FDR9mDJ5gJ7HBUdncTfMuUHu5pNqFTHO+hNppk9c2Sx4rQDbuxwMraPAbqyVBvJHXt 89Vn80ao4gdslviM/Bxdd6V6QaW1Ey5c4G7jM+t2DqEI2Oxnv7Zdx84uR1Zvl0E2oW+F /Hfc441KCfanf2op2UIXRLNXPEscuQuJN/zgAIqfCWHNOflPqPHc4MU+tbbxvxizB+yI CIQoOL6+PBWnAotOSUlQvhivc/MEMcv9KAWZOgXf1RWaagXDXj2te4aupO8PQSzsLOuE Hw0dMefeNibajpR8mYZMeQyxClBcgVtVGPx731LoS74FRZ1nc9oJpK53Fz8NLH1E0khb 1exw==
X-Gm-Message-State: AG10YOQySqWPR9z7pxTL2PJDyM843+viWOUAwRmI5sGoQU6aRppTse7vgcn0ef0Y+dd3vLRj4CwGawmKd/oYvg==
MIME-Version: 1.0
X-Received: by 10.31.170.196 with SMTP id t187mr406368vke.66.1453430304891; Thu, 21 Jan 2016 18:38:24 -0800 (PST)
Received: by 10.31.92.77 with HTTP; Thu, 21 Jan 2016 18:38:24 -0800 (PST)
Date: Thu, 21 Jan 2016 21:38:24 -0500
Message-ID: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
From: Jehiah Czebotar <jehiah@gmail.com>
To: acme@ietf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/s8gaZ6ev-iqoSQjOZWUpZ41mA0M>
Subject: [Acme] tls-sni-01 validation compromise
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, 22 Jan 2016 02:40:46 -0000

In working to implemented LetsEncrypt at Bitly, I uncovered an issue
with the tls-sni-01 validation that limits its trustworthiness in
validation.

Issue:

The tls-sni-01 validation is intended to prove control over a domain
name. The challenge relies on presenting a
"<Zi[0:32]>.<Zi[32:64]>.acme.invalid" as the ServerName in the
clientHello, and relying on a self-signed certificate to used to
complete the TLS handshake that has a single matching
subjectAlternativeName/DNSName.

Because the server initiating the validation request is presenting the
full ServerName expected back, it is thus untrusted and can not be
used to imply any relation to the party requesting validation. It is
possible to configure a server that generates certificates on-the-fly
to match the ServerName presented, and thus passing ALL tls-sni-01
validation attempts. An example of such a server is
https://gist.github.com/jehiah/a5b508b8f4efad08e67a

Suggestions:

1) Change the requirement that the self signed cert have one DNSName,
and require the response to have TWO DNS names. One that matches the
requested hostname, and a second that is secret which proves it can
only be created by the appropriate party initiating validation
2) Remove reliance on SNI matching, and make the challenge `tls-01`
and fulfill the same HTTP response requirements as `http-01` where the
Hostname, and request path are untrusted, but the response body with
full keyAuthorization proves the connection to the requestor. This
opens up the possibility of TLS validation against the $domain being
validated instead of relying on a .acme.invalid hostname.

Other Notes:

There appear to have been discussions about `n` versions of
certificates being generated and requiring validation to check a
subset of them. I think this vulnerability means `n` is moot as no
number of checks for certificates that match the server hello prove
control over a domain name.

Thoughts?

p.s. Thank you to Richard Barnes from Mozilla for pointing me to this
mailing list.

-- 
Jehiah
http://jehiah.cz/


From nobody Thu Jan 21 19:03:05 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 0B61A1B36DE for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 19:03:04 -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 NRK5EYdE-wdS for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 19:03:02 -0800 (PST)
Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C36D1B36D7 for <acme@ietf.org>; Thu, 21 Jan 2016 19:03:02 -0800 (PST)
Received: by mail-io0-x234.google.com with SMTP id 77so75210625ioc.2 for <acme@ietf.org>; Thu, 21 Jan 2016 19:03:02 -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=FMtCJLpHZWdzTrDttO0zwejj9wBn0vu3HfXzurqRXFY=; b=DSAmUcaIZgeC3zVUvdZMOlhHCdYIivwy+afo2yX6rQRe+mEDEVlDDNUqxawfiMfywn EehkQ8oQwC6x/0CZ1xRi9UbH/BBS/fWEt8hi0JQVOpTN4ZuhJVQ051uYVe1ZOzipnbRp APvp999YFFhBBvkW1poErWhMvAtLESEzsolDH5i7SdFzV3T143sszjoGVKFy1V7IdIio dCKjhX/DMvQGPsWIsp967CVCwNzVob8CmH3bpFk5iOcE7WaYMLRKWQOVbEGo1M5QCXYE U4MeJRKc/VzzAiQuZILilkp2TZH9vMzx5SrZpMhUZv5I9bEW6/g5cGSV93PjZ1XkVbRW KF3A==
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=FMtCJLpHZWdzTrDttO0zwejj9wBn0vu3HfXzurqRXFY=; b=To8EoWNk2gtxadHPUiNbADvN5D+QU7ny3NJjmf1vOTLy1QcUKItE1BSi1JT7NMNTxA VB0BTQK96+6gy/AC+bMM2lsy8mbM5zrLNPdhItbMx7xWwBhJo4hQtag9HN10ht4mPuAy elFyTMyVcXO6geMTlsD4IYOZabXyAImUDtpqS5HVUpVwHK+CmO+VajsaDdFZU2hrJYto XsWZjuzebwxvK3YVjrv0ylvTpz0020dwNaSiKt8lPzgcJ/5VBMkXymu7xNNiTM0FBnnK CNbM4Y4OWPC0WBxgYaOMb+xd7rkXueYcTIme6WEFIw/+SjKB0uLuJB/+1c2ZlfNyiiUQ 0ccw==
X-Gm-Message-State: AG10YORsiJX1Mog+AUH6jv/Q1USoTX94xzse+jylLTUy1+SuWYdR+lZry0kCS3t66txBqfUYt1z+yGd/81SuZw==
MIME-Version: 1.0
X-Received: by 10.107.33.12 with SMTP id h12mr1215149ioh.108.1453431782011; Thu, 21 Jan 2016 19:03:02 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Thu, 21 Jan 2016 19:03:01 -0800 (PST)
In-Reply-To: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
References: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
Date: Fri, 22 Jan 2016 14:03:01 +1100
Message-ID: <CABkgnnVMDFnz3EARBBw=OhnHo3USsJo4ynpBCrca_Df6XGDSeQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Jehiah Czebotar <jehiah@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/JK5ARGG7Gy02QlLyQ65G-H6PjXY>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] tls-sni-01 validation compromise
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, 22 Jan 2016 03:03:04 -0000

On 22 January 2016 at 13:38, Jehiah Czebotar <jehiah@gmail.com> wrote:
> 1) Change the requirement that the self signed cert have one DNSName,
> and require the response to have TWO DNS names. One that matches the
> requested hostname, and a second that is secret which proves it can
> only be created by the appropriate party initiating validation
> 2) Remove reliance on SNI matching, and make the challenge `tls-01`
> and fulfill the same HTTP response requirements as `http-01` where the
> Hostname, and request path are untrusted, but the response body with
> full keyAuthorization proves the connection to the requestor. This
> opens up the possibility of TLS validation against the $domain being
> validated instead of relying on a .acme.invalid hostname.

I think that the suggestion that the challenge response include
something unique to the challenge (as http-01 already does) is a fine
suggestion.  I don't think that it matters much how that is done.  If
the intent is to verify that the requester exercises control over the
TLS server, having this restricted to things that are part of the TLS
server configuration is probably advisable.

To that end, adding a key authorization to the certificate would seem
to be the best option.  Whether that is done as a second
subjectAltName or as a separate extension probably doesn't matter
much.

Following through with a challenge like http-01 would work, but it
means playing with the configuration of the server in two places.


From nobody Thu Jan 21 20:09:28 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 C06271B3790 for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 20:09:27 -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 zNzZSCXNv0IC for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 20:09:26 -0800 (PST)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5389A1B3788 for <acme@ietf.org>; Thu, 21 Jan 2016 20:09:26 -0800 (PST)
Received: by mail-io0-x22c.google.com with SMTP id 1so76443250ion.1 for <acme@ietf.org>; Thu, 21 Jan 2016 20:09:26 -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=Y46nUyFBUu6h0b/8GIWAim5MTPRNs8xZ2ynEtp9TPbw=; b=JFvRCu0/le7LXwzFSobk0MhEYq8kyngaSiPi0GrtD3RWVXYTTjiPHKnluXdoq+fyMM zX00UxaeZQrWKtPVkaz1ruoHTBzg83mdtmaR+g1wsmiI0fuO1cGxe2pzbkiD4bsEn6/j ul1/9b+QFa6/lTn4PrFPZsePumT17Amf3Ib1bOWoyp8TdT/Y/r5M/UX7oTv5/vGEn7U4 zRaL5IdH8JU1DHrL/UFenAIh4sNkSIhfHKOFrZKx0jV2FNCkKidTqQhBz/voSRqfUVBD kXY4/X5E1DPqyfTsHdl42APunwFFYeJMZ2/iMlZfPN+YyEFN8H2Q436XpNDsgWfgzjdA 2MYA==
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=Y46nUyFBUu6h0b/8GIWAim5MTPRNs8xZ2ynEtp9TPbw=; b=XblGmRxdlvfa/f90qXO9NZpC1r97w99FaNbSE6TVomecwCJTzd93L1W+mDzTFiGKmz FCBl5KnlpBHPArieOCOcTlX8ShHNSPTBaxzHSESqdAAoV/vH6uUpBmYptUXTUowhbJY4 1T2QVyH26tHtH6yQndDN76kps0pdcEO33Ev5DUo4tQEw5is+DJqC1nm9ZA/kodWHkWRL hoOfS9UKsdBDS1j5uO1eRn8BHxpPoB9Io6og5z3eAhkXjn2iGXKA/5zjfYzQ58HbWNub M/XoX+riIFLEU5U9Suw0FY+pia/+GZqE8PC3kOisMcZjpZLaM+Zv+8MTkRo1m3o5IGUB jPnQ==
X-Gm-Message-State: AG10YOQ8t8vVcwp2svN4TeorTntIFZzclo8NM55jY1rU4t0jUsYypK9utSeeVNU4+zWQMV7Id+aP6N5vGQg73w==
MIME-Version: 1.0
X-Received: by 10.107.16.199 with SMTP id 68mr1567980ioq.100.1453435765756; Thu, 21 Jan 2016 20:09:25 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Thu, 21 Jan 2016 20:09:25 -0800 (PST)
In-Reply-To: <CABkgnnVMDFnz3EARBBw=OhnHo3USsJo4ynpBCrca_Df6XGDSeQ@mail.gmail.com>
References: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com> <CABkgnnVMDFnz3EARBBw=OhnHo3USsJo4ynpBCrca_Df6XGDSeQ@mail.gmail.com>
Date: Fri, 22 Jan 2016 15:09:25 +1100
Message-ID: <CABkgnnVZy-vycuZ86DnVCwy57nuv62Buut+Gt2=TbXERUwmd+g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Jehiah Czebotar <jehiah@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/bGNeK-u_Jr5ue-5nuOMf324IU6M>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] tls-sni-01 validation compromise
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, 22 Jan 2016 04:09:27 -0000

Thinking more about this, if the intent is to make the tls-sni-xx
challenge analogous to the http-xx one, then the request would encode
the token (not a hash of the key authorization) and the response to
that challenge would include the key authorization (as I suggest
below).

On 22 January 2016 at 14:03, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 22 January 2016 at 13:38, Jehiah Czebotar <jehiah@gmail.com> wrote:
>> 1) Change the requirement that the self signed cert have one DNSName,
>> and require the response to have TWO DNS names. One that matches the
>> requested hostname, and a second that is secret which proves it can
>> only be created by the appropriate party initiating validation
>> 2) Remove reliance on SNI matching, and make the challenge `tls-01`
>> and fulfill the same HTTP response requirements as `http-01` where the
>> Hostname, and request path are untrusted, but the response body with
>> full keyAuthorization proves the connection to the requestor. This
>> opens up the possibility of TLS validation against the $domain being
>> validated instead of relying on a .acme.invalid hostname.
>
> I think that the suggestion that the challenge response include
> something unique to the challenge (as http-01 already does) is a fine
> suggestion.  I don't think that it matters much how that is done.  If
> the intent is to verify that the requester exercises control over the
> TLS server, having this restricted to things that are part of the TLS
> server configuration is probably advisable.
>
> To that end, adding a key authorization to the certificate would seem
> to be the best option.  Whether that is done as a second
> subjectAltName or as a separate extension probably doesn't matter
> much.
>
> Following through with a challenge like http-01 would work, but it
> means playing with the configuration of the server in two places.


From nobody Thu Jan 21 20:31:27 2016
Return-Path: <jehiah@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 7781F1B37EA for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 20:31:25 -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 Burp9tEApM-b for <acme@ietfa.amsl.com>; Thu, 21 Jan 2016 20:31:23 -0800 (PST)
Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B75691B37EB for <acme@ietf.org>; Thu, 21 Jan 2016 20:31:23 -0800 (PST)
Received: by mail-vk0-x234.google.com with SMTP id e185so35187623vkb.1 for <acme@ietf.org>; Thu, 21 Jan 2016 20:31:23 -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=fLnanx9jblqG2WDcsyfsH8EV16dbatPKuW/sBYQUSNM=; b=v5CIIQSHQVi6ZQUeCCFd6qodaAiPNq01Nhn2URC+aVBy3z7rZf+SABX1au2y1m2Yjh +eWXooARcFqlDxBiSI9ogg4Vd5CJ7cNdyktq2+jV7UEVvH/rmXVXM0n3fRQubkVbplbx FuBUV9eTvtfewdZVS0DJy3U4NheBoH2uc97Pk0BlXJ45RaiYeTRqoKh/1Pg8cUllDOMJ JmuR+ihdSYfGXuwx9s0+jyOfJaGDbvqqk6lbt7G3SugNj/IjPQRZGRwfA49/GjYX25Xl yT2YaXnMW4XONlMCFqGY46OLdjoLxLkBRJZ/qlEhyNZh1ysH3m/sSFjiqulzMcu8jtl6 tgXQ==
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=fLnanx9jblqG2WDcsyfsH8EV16dbatPKuW/sBYQUSNM=; b=fKD+4GEFW+dYiJ5NpnpA2D9OTH/H8DOtcXnN/aZbqq/XLaLu1ITRw9W2JmpEgOGaz3 RiRqxlFBVBdDPmr27/QnQv8AkZN4/kAqJqVc6wmc7wgeMG0qwd3nk1uA25fSUKmJpifK qWNmF+fnVq1CRGSUrdzZ6C/p6O6Z6R4Y83q9h8YV5yuRcunGzx+13hcyFleaYnRycTZz rXRFIGE9gVkxmUPeDUBFWlS+0napWG71KiWdajViWUrF3wnho3GHWg4hlJ4SYeOlWTDY oglNbU26m0BZrSxQRdsX3hIEsyjy5Lo91BYIMh8re33RQmMlJ/AlsunQ5O59ejrJTSrN GaRQ==
X-Gm-Message-State: AG10YOQZ0/Dq7WE2HHHmGWBXeLxglg0Drz6gTolSKgYLJ2xihNEDAMhNvz8p34trIRRbuYyK5uKegtFgBIoMlQ==
MIME-Version: 1.0
X-Received: by 10.31.47.88 with SMTP id v85mr596787vkv.118.1453437082457; Thu, 21 Jan 2016 20:31:22 -0800 (PST)
Received: by 10.31.92.77 with HTTP; Thu, 21 Jan 2016 20:31:22 -0800 (PST)
In-Reply-To: <CABkgnnVZy-vycuZ86DnVCwy57nuv62Buut+Gt2=TbXERUwmd+g@mail.gmail.com>
References: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com> <CABkgnnVMDFnz3EARBBw=OhnHo3USsJo4ynpBCrca_Df6XGDSeQ@mail.gmail.com> <CABkgnnVZy-vycuZ86DnVCwy57nuv62Buut+Gt2=TbXERUwmd+g@mail.gmail.com>
Date: Thu, 21 Jan 2016 23:31:22 -0500
Message-ID: <CAES3dxThfq3iob4h7YLgWBEC-sWdR0e5jvOfhm+t8+eJ3SPPQw@mail.gmail.com>
From: Jehiah Czebotar <jehiah@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/2TfJpQ_0rKPgHc5lHHdFePJzt54>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] tls-sni-01 validation compromise
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, 22 Jan 2016 04:31:25 -0000

Yes, I agree it's odd that the validation request is based on the key
authorization not the token. That's really the crux of the issue and
more succinct than my original message.

In option 1) I proposed, to be clear it would make sense to update
tls-sni-01 validation to use Z(token) as the SNI hostname, and use two
entries in the DNSName cert response. One matching the SNI hostname
based on Z(token) so the right cert is chosen, and one based on Z(key
authorization) that serves as the secret.

As you mentioned a new `tls-01` could depend on just the
request/response like `http-01` and not depend on details of the cert
so that you don't have to mess with configurations of both cert &
request handling as much.

--
Jehiah

On Thu, Jan 21, 2016 at 11:09 PM, Martin Thomson
<martin.thomson@gmail.com> wrote:
> Thinking more about this, if the intent is to make the tls-sni-xx
> challenge analogous to the http-xx one, then the request would encode
> the token (not a hash of the key authorization) and the response to
> that challenge would include the key authorization (as I suggest
> below).
>
> On 22 January 2016 at 14:03, Martin Thomson <martin.thomson@gmail.com> wrote:
>> On 22 January 2016 at 13:38, Jehiah Czebotar <jehiah@gmail.com> wrote:
>>> 1) Change the requirement that the self signed cert have one DNSName,
>>> and require the response to have TWO DNS names. One that matches the
>>> requested hostname, and a second that is secret which proves it can
>>> only be created by the appropriate party initiating validation
>>> 2) Remove reliance on SNI matching, and make the challenge `tls-01`
>>> and fulfill the same HTTP response requirements as `http-01` where the
>>> Hostname, and request path are untrusted, but the response body with
>>> full keyAuthorization proves the connection to the requestor. This
>>> opens up the possibility of TLS validation against the $domain being
>>> validated instead of relying on a .acme.invalid hostname.
>>
>> I think that the suggestion that the challenge response include
>> something unique to the challenge (as http-01 already does) is a fine
>> suggestion.  I don't think that it matters much how that is done.  If
>> the intent is to verify that the requester exercises control over the
>> TLS server, having this restricted to things that are part of the TLS
>> server configuration is probably advisable.
>>
>> To that end, adding a key authorization to the certificate would seem
>> to be the best option.  Whether that is done as a second
>> subjectAltName or as a separate extension probably doesn't matter
>> much.
>>
>> Following through with a challenge like http-01 would work, but it
>> means playing with the configuration of the server in two places.


From nobody Fri Jan 22 08:13:11 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 471A61AD333 for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 08:13:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 JpD4hBLTihTD for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 08:13:08 -0800 (PST)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) by ietfa.amsl.com (Postfix) with ESMTP id 77F4C1AD338 for <acme@ietf.org>; Fri, 22 Jan 2016 08:13:08 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 5E8601C38D for <acme@ietf.org>; Fri, 22 Jan 2016 17:13:07 +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=1453479187; x=1471668548; bh=/s1l TxKi4tWH1Xqprjgsf62M3Hq3HBklMVJQ7w0CWW8=; b=eyc+yK7bH8+FnoSxSTwu A3uuWjtMtp5rZrW/eWZbmiUPO3HTHMhz5XyZTAox80vpJuhDtOWoyawqAOmbqEEV aG1Z+3vt2twntLJGRtWUapLGlL3Pb9qsC3ihRa3hmKdsMIBf4k2B3Arzvm1wZRPF wh2Vh4Q3KwCg+xg7uikYfHmae/bVa9Ms4dl7/gEvSMsHKgtnjLWjAnMQwmQ5qDBy LY9SHZOJl91cOZOIrKi7GDgVpmnutEz5iftrwTOzlX6iPOubhhwXRSv33Bbz3VSZ C57DoJIj6E5D+AC2vXWL4Bk0zhCCpRObAKmLE0c8ztbThiVN7VXCkGQh7GfWOygf Jg==
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 6bcpNurcoMa1 for <acme@ietf.org>; Fri, 22 Jan 2016 17:13:07 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 2E08C1C38B for <acme@ietf.org>; Fri, 22 Jan 2016 17:13:07 +0100 (CET)
Date: Fri, 22 Jan 2016 16:13:07 +0000
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20160122161306.GA19607@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/OnLEcxUa_K30ERLIZl5kAreyyh8>
Subject: [Acme] Proposed changes to TLS-SNI, autorenewal removal
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, 22 Jan 2016 16:13:10 -0000

I've submitted various pull requests for discussion here.

Firstly, I've drafted a specification for tls-sni-02
which resolves Jehiah's concerns.
  <https://github.com/ietf-wg-acme/acme/pull/71>

Secondly, I've added operational guidance for the use
of DNSSEC by ACME CAs.
  https://github.com/ietf-wg-acme/acme/pull/69

Thirdly, I propose the removal of autorenewal, which
complicates the protocol, introduces a number of concerns
and risks, and doesn't really enable anything that couldn't
be done without it. I'm also not aware of any current implementations of
it.
  <https://github.com/ietf-wg-acme/acme/pull/67>

Fourthly, I think the expiry of authorizations should be a timestamp,
not merely a date. This also fixes some examples with incorrect RFC3339
timestamps.
  <https://github.com/ietf-wg-acme/acme/pull/68>

Hugo Landau


From nobody Fri Jan 22 10:27:29 2016
Return-Path: <agwa@andrewayer.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 6516C1B2B7F for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 10:27:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 JQFohAIBjuri for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 10:27:27 -0800 (PST)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [IPv6:2600:3c00:e000:6c::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2723A1B2B7C for <acme@ietf.org>; Fri, 22 Jan 2016 10:27:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=alcazar2; t=1453487246; bh=f367JdzX26un2N5mIbEJL5++3AiaOCAdNXQ+hy3ofCs=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=HS+5w3XBe3x0+OBinTae6rkMv9TvomTcZwhTlb8Yi5VWVuAECJuVV+DSGJgexCLDG Igu/NWYW9NyhvXKNVuc9hkQrENIf0aHv2459MZHvGjXPeyk66Nn/BecJpJXGpHYClt 1rKK2ZUzsqmyNk7pSCAQTV/AuwexoS8xYdtMT0VspFw0RHgJi5nN1AZjGFzM9l2nV0 2vpN8C2g8sh4f5DzcHPiWklQPsOKg8DzcvnYcxYBf3XWZUZwvyJ8cRDAByuQFPEild i1sGD5i2/B89x81UUJoZuOL7+IC5SM0DycWYL2Z+mhyUypAMsB1/iw3G7AIY3f5nA3 85ucyzKtHjc6Q==
Date: Fri, 22 Jan 2016 10:27:25 -0800
From: Andrew Ayer <agwa@andrewayer.name>
To: Hugo Landau <hlandau@devever.net>
Message-Id: <20160122102725.5f4c2d02825dccf312513a9a@andrewayer.name>
In-Reply-To: <20160122161306.GA19607@andover>
References: <20160122161306.GA19607@andover>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/xy6DYIXHg2JZh29Wa9c6xRIUD2U>
Cc: acme@ietf.org
Subject: Re: [Acme] Proposed changes to TLS-SNI, autorenewal removal
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, 22 Jan 2016 18:27:28 -0000

On Fri, 22 Jan 2016 16:13:07 +0000
Hugo Landau <hlandau@devever.net> wrote:

> Firstly, I've drafted a specification for tls-sni-02
> which resolves Jehiah's concerns.
>   <https://github.com/ietf-wg-acme/acme/pull/71>

I agree with jehiah's comment on GitHub that for consistency with the
http-01 challenge, SAN A (the token) should be used for the SNI
request, and SAN B (the keyAuthorization) should be the SAN which the
ACME server looks for.

Also, it's not necessary for the ACME server to verify that the
returned certificate contains SAN A (the token).  Seeing the
keyAuthorization in a SAN is sufficient.

I think these changes should be made because paring the challenges down
to their essentials and making them as similar as possible makes them
much easier to reason about.  For both http-01 and tls-sni-02, the
basic procedure would be:

1. Request a resource (file or certificate) at the domain using the
token to identify the resource.

2. Verify that the returned resource contains the keyAuthorization.

-- Andrew


From nobody Fri Jan 22 10:54: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 BE7CA1B2C0C for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 10:54:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 AazQY_glGQy9 for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 10:54:44 -0800 (PST)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) by ietfa.amsl.com (Postfix) with ESMTP id 0AA971A0155 for <acme@ietf.org>; Fri, 22 Jan 2016 10:54:44 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 636351C38D; Fri, 22 Jan 2016 19:54: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=1453488883; x=1471678244; bh=CVAKVpQJGOScdQEzAQmE6JSE1qY0Hf7L/kJMxQw5Md4=; b= T1QL0cJa344ENsBxNkO79ZO4S++AEw3rzXV48C9GONp6ocV/CPdW18fYqSGG9v/E tpd/+lzn1NzJOR/scb+rU/J95punJb3iCUiK0DhX8tDm14iAGnhQzVIWjCDndLNS dohwNoIC53B+4Bjm4+BFTsGuIlwNezXlrk1F+quUHYDoaohgcDvW201labZa5u7c LM/PZgE9i7y1u800aCqEcw/Y4gcYTcFiu8MA193A1vOwKO6+moqYClqgih0kHVAS LS3FsXK1kB1R/pGyra7IgLf/B9TVrwiHysgKeM8unmtCPwGt2QmIE1iq6cbA478t TIsSQUN4d/d5vf0kgMMKdw==
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 TX77MOG0y1ZX; Fri, 22 Jan 2016 19:54:43 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 2A5221C38B; Fri, 22 Jan 2016 19:54:43 +0100 (CET)
Date: Fri, 22 Jan 2016 18:54:43 +0000
From: Hugo Landau <hlandau@devever.net>
To: Andrew Ayer <agwa@andrewayer.name>
Message-ID: <20160122185442.GA27811@andover>
References: <20160122161306.GA19607@andover> <20160122102725.5f4c2d02825dccf312513a9a@andrewayer.name>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160122102725.5f4c2d02825dccf312513a9a@andrewayer.name>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ILEqZSeQ3aodLUg98eiKeJ8p-VA>
Cc: acme@ietf.org
Subject: Re: [Acme] Proposed changes to TLS-SNI, autorenewal removal
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, 22 Jan 2016 18:54:45 -0000

I've reversed the roles of SAN A and SAN B. The branch has been updated.

Certificates should probably contain SAN A. If they don't, this is
liable to confuse TLS implementations and supporting infrastructure,
which doesn't expect that an SNI request for x should result in a
certificate not listing x.

You could allow extra names (which could be SAN A, or something else
entirely), but, well, why allow extra names? If you have SANs of
foo.token.acme.invalid, bar.ka.acme.invalid and example.com, something
is wrong. If you don't allow extra names, you need to check that all
naems are in {SAN A, SAN B} anyway. Or you require a SNI request for SAN
A lead to a certificate with {SAN B}, which is rather bizarre and will
probably cause problems somewhere.

This is a request-response procedure but it's a request-response
procedure being conducted in a byzantine fashion using TLS's certificate
presentation functionality. The practicalities of that mechanism must be
considered.

On Fri, Jan 22, 2016 at 10:27:25AM -0800, Andrew Ayer wrote:
> On Fri, 22 Jan 2016 16:13:07 +0000
> Hugo Landau <hlandau@devever.net> wrote:
> 
> > Firstly, I've drafted a specification for tls-sni-02
> > which resolves Jehiah's concerns.
> >   <https://github.com/ietf-wg-acme/acme/pull/71>
> 
> I agree with jehiah's comment on GitHub that for consistency with the
> http-01 challenge, SAN A (the token) should be used for the SNI
> request, and SAN B (the keyAuthorization) should be the SAN which the
> ACME server looks for.
> 
> Also, it's not necessary for the ACME server to verify that the
> returned certificate contains SAN A (the token).  Seeing the
> keyAuthorization in a SAN is sufficient.
> 
> I think these changes should be made because paring the challenges down
> to their essentials and making them as similar as possible makes them
> much easier to reason about.  For both http-01 and tls-sni-02, the
> basic procedure would be:
> 
> 1. Request a resource (file or certificate) at the domain using the
> token to identify the resource.
> 
> 2. Verify that the returned resource contains the keyAuthorization.
> 
> -- Andrew
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme


From nobody Fri Jan 22 11:18:50 2016
Return-Path: <agwa@andrewayer.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 2AE011B2C76 for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 11:18:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 ngqQcPsnKdxP for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 11:18:48 -0800 (PST)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [70.85.129.230]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 228C01B2C60 for <acme@ietf.org>; Fri, 22 Jan 2016 11:18:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=alcazar2; t=1453490327; bh=Jg7baLJXijItcyDHCw7hG9uxup0tPfhWPCIMW3xCEQY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=zjqv2aXklr/prRbgZIK+dq1Zb8c2U20DRZZsCTf08SC6Rc+PWWmNsrSGbSSlJFp4x bhd9dfId0UIVMXfbDZcIDVi7y1EBivZywRr2GVvxv3w8NuN9eosJ0kmX4LGVkABjcQ AtkHuP38U7fGnYs+8OS4hU6gJUGESDhOmQSm/X9UE4ZiTrD1NGpBNVQ7lzP1OxeppQ eXXqUGxoHILP9DXw/lr8FwnuLW4ci+fRdl15/wjnSl6SJ2zsGMKdkGcQx8kevsyb6V 6uskIH9DvIOB4TrEfcxyc4ogS994LQVmvWpwPnKSYQghMC5ELvFJbP/l8rhqs8+laW QpNtTtBhkUfDg==
Date: Fri, 22 Jan 2016 11:18:46 -0800
From: Andrew Ayer <agwa@andrewayer.name>
To: Hugo Landau <hlandau@devever.net>
Message-Id: <20160122111846.3297c87708f2d021900edc49@andrewayer.name>
In-Reply-To: <20160122185442.GA27811@andover>
References: <20160122161306.GA19607@andover> <20160122102725.5f4c2d02825dccf312513a9a@andrewayer.name> <20160122185442.GA27811@andover>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/LBuofru6OWUd9dc2Asb8agIik-g>
Cc: acme@ietf.org
Subject: Re: [Acme] Proposed changes to TLS-SNI, autorenewal removal
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, 22 Jan 2016 19:18:49 -0000

On Fri, 22 Jan 2016 18:54:43 +0000
Hugo Landau <hlandau@devever.net> wrote:

> Certificates should probably contain SAN A. If they don't, this is
> liable to confuse TLS implementations and supporting infrastructure,
> which doesn't expect that an SNI request for x should result in a
> certificate not listing x.

Agreed, but that doesn't mean the ACME server has to check for such a
SAN.  What the client has to do and what the server has to do are
separate things, and the server should only do what's necessary to
ensure the security of the challenge.  Superfluous checks obscure the
security-critical checks, which makes the challenge harder to reason
about, and makes it harder to audit server implementations.

So I say keep the client-side part of the spec the same, but change
item three of the server-side part to say:

"Verify that the certificate contains a subjectAltName extension
containing a dNSName entry of SAN B.  The comparison MUST be
insensitive to case and ordering of names."

-- Andrew


From nobody Fri Jan 22 11:20:40 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 A8F471B29EC for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 11:20:39 -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 hBFdzm9f3cMQ for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 11:20:35 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 45C2F1AD0A0 for <acme@ietf.org>; Fri, 22 Jan 2016 11:20:35 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 662FF3F4050; Fri, 22 Jan 2016 19:20:34 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 4FAF03F4026; Fri, 22 Jan 2016 19:20:34 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1453490434; bh=B09aom+UVccMZUsCWNbS3qzIk+rMhj4OpsBLo1Jec3Q=; l=505; h=From:To:CC:Date:References:In-Reply-To:From; b=kkXz6TMz2dawovBeoiSNC0QOtKGkPxqDelygi0ag+QxV9oFV+vX/3DrGFFG5ygPNC 7tNXPouF4UlR/3hEbZXvTvDbahxNQ3LodonAMNi3R66vg3sh+/b8F6PQlcdLjSbTXb 1LML4kXpqK7Rpe9LUqdsym89asOxsuAZY1ePuAwI=
Received: from email.msg.corp.akamai.com (usma1ex-casadmn.msg.corp.akamai.com [172.27.123.33]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 49BE0202D; Fri, 22 Jan 2016 19:20:34 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Fri, 22 Jan 2016 14:20:33 -0500
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1076.000; Fri, 22 Jan 2016 14:20:33 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Andrew Ayer <agwa@andrewayer.name>, Hugo Landau <hlandau@devever.net>
Thread-Topic: [Acme] Proposed changes to TLS-SNI, autorenewal removal
Thread-Index: AQHRVS/MVe514ggv6EOz/48jLqevr58ILoeAgAAHoICAAAa4AP//rIaA
Date: Fri, 22 Jan 2016 19:20:32 +0000
Message-ID: <dc578ecaefd543e6ae6aa7919d6a2f3c@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <20160122161306.GA19607@andover> <20160122102725.5f4c2d02825dccf312513a9a@andrewayer.name> <20160122185442.GA27811@andover> <20160122111846.3297c87708f2d021900edc49@andrewayer.name>
In-Reply-To: <20160122111846.3297c87708f2d021900edc49@andrewayer.name>
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.42.98]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/m7idqdjX8Fau7elzvVYcAl4oO0o>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Proposed changes to TLS-SNI, autorenewal removal
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, 22 Jan 2016 19:20:39 -0000

> Agreed, but that doesn't mean the ACME server has to check for such a SAN=
.

Agreed.

> So I say keep the client-side part of the spec the same, but change item
> three of the server-side part to say:
>=20
> "Verify that the certificate contains a subjectAltName extension containi=
ng a
> dNSName entry of SAN B.  The comparison MUST be insensitive to case and
> ordering of names."

In other words, follow the rules of subjectAltName per the RFC.  So perhaps=
 strike the last sentence.


From nobody Fri Jan 22 11:49:41 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 24D691B2CDC for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 11:49:40 -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 dRvZC8VqkSp9 for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 11:49:38 -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 0B2C11B2CDA for <acme@ietf.org>; Fri, 22 Jan 2016 11:49:38 -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=3JTBG7cgucfz2dWfnh7oTDsgBq4935oHlJ21tR8Z5pE=;  b=YJP2t9iCjDvOlWQE8GvfDySjjD4gKF/cnHVtgBp5iVuybBX/GbbybfeQsZPSmJtNO9qb7HuI6nRG8RaHuNRcAPlHNY81kC4tP5GNsLiobZxBaOMdifxZ/FgUpODizEjJb+qHz4Ay3ZRm18b1Uz39RpVro7t1JrQJ/ah7f91UaDE=;
Received: ; Fri, 22 Jan 2016 11:49:37 -0800
Date: Fri, 22 Jan 2016 11:49:37 -0800
From: Peter Eckersley <pde@eff.org>
To: Jehiah Czebotar <jehiah@gmail.com>
Message-ID: <20160122194937.GN19827@eff.org>
References: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/VVH8IYWSbwf9QVBF6i-27hbmEC0>
Cc: acme@ietf.org
Subject: Re: [Acme] tls-sni-01 validation compromise
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, 22 Jan 2016 19:49:40 -0000

On Thu, Jan 21, 2016 at 09:38:24PM -0500, Jehiah Czebotar wrote:
 
> Because the server initiating the validation request is presenting the
> full ServerName expected back, it is thus untrusted and can not be
> used to imply any relation to the party requesting validation. It is
> possible to configure a server that generates certificates on-the-fly
> to match the ServerName presented, and thus passing ALL tls-sni-01
> validation attempts. An example of such a server is
> https://gist.github.com/jehiah/a5b508b8f4efad08e67a

This is certainly possible, and a reason to spec tls-sni-02 to fix the
issue.  For purposes of scheduling deprecatio of tls-sni-01, do we know
of any deployed implementations that have done things that way?  Making
the cert in response to the SNI request is usually going to be a bit
more involved, TLS-library-wise, than making it when the socket starts
listening. If nobody has deployed mid-handshake cert generation, we can
be a bit more gradual with the tls-sni-01 deprecation schedule.

-- 
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 Jan 22 12:30:11 2016
Return-Path: <lussnig@suche.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 5B2601A877F for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 12:30:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.251
X-Spam-Level: 
X-Spam-Status: No, score=-1.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001, 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 cpsBkZFm3hyn for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 12:30:01 -0800 (PST)
Received: from relay-mx.smcc.de (relay-mx.smcc.de [194.50.33.90]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04BF31A8771 for <acme@ietf.org>; Fri, 22 Jan 2016 12:30:00 -0800 (PST)
Received: by mx-32.smcc.de (Postfix, from userid 65534) id B59196528A; Fri, 22 Jan 2016 21:29:58 +0100 (CET)
X-Spam-SCL: 1
Received: from localhost (localhost [127.0.0.1]) by mx-32.smcc.de (Postfix) with ESMTP id 72A4365281 for <acme@ietf.org>; Fri, 22 Jan 2016 21:29:58 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mx-30.smcc.net
Received: from relay-mx.smcc.de ([127.0.0.1]) by localhost (relay-mx-02.smcc.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cl9wQFyQ_QdK for <acme@ietf.org>; Fri, 22 Jan 2016 21:29:58 +0100 (CET)
Received: from [192.168.1.3] (ip-37-24-30-28.hsi14.unitymediagroup.de [37.24.30.28]) by mx-32.smcc.de (Postfix) with ESMTPSA id 5682565271 for <acme@ietf.org>; Fri, 22 Jan 2016 21:29:58 +0100 (CET)
To: acme@ietf.org
References: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
From: =?UTF-8?Q?Thomas_Lu=c3=9fnig?= <lussnig@suche.org>
Message-ID: <56A29147.80601@suche.org>
Date: Fri, 22 Jan 2016 21:29:59 +0100
MIME-Version: 1.0
In-Reply-To: <CAES3dxRZ7ieQ+G0Zv0oZmehUFPGU36KUdvrkSL+MMLSQWbP08w@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/F-yRyYk1dZuB3gGAp8cOAKG1UjA>
Subject: Re: [Acme] tls-sni-01 validation compromise
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, 22 Jan 2016 20:30:02 -0000

Hi,

these problem is not new. I raised the roblem with letsencrypt over an 
month ago.
Better Would be:
Client Send clientnone,ECDSA-SHA256(servernonce,clientnonce)

The cert for <fqdn>.challenge.amce contain the public key.
So the client had proved he control the server


From nobody Fri Jan 22 17:38:13 2016
Return-Path: <pzbowen@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 3D6331B2EB5 for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 17:38:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level: 
X-Spam-Status: No, score=-4 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, 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 ZevvzezBG-2f for <acme@ietfa.amsl.com>; Fri, 22 Jan 2016 17:38:11 -0800 (PST)
Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::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 455DD1B2EB3 for <acme@ietf.org>; Fri, 22 Jan 2016 17:38:11 -0800 (PST)
Received: by mail-pf0-x22f.google.com with SMTP id 65so50735566pff.2 for <acme@ietf.org>; Fri, 22 Jan 2016 17:38:11 -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=0sv+UmIpLaXFxrTFO23OGvvf0cTPCxPjAyxaKIOhxNs=; b=o874W9CBfPf1NS6KtIkI9T5DJS7n5mvGyu/aYXaKzoqkVVcK+x1yDrlzfqhoKle/kX QAxAZs1iADD07QGCoxGqkwx4/3v+KANOV2EGVROgM6nRL45irIi0av+QWimy3d3PrD4u VYth7vKGYFrLvGnPu7Wc7Z7TzvUYakO7vty2vyYV8OMgQ7fOhnjV/Vcf0pT/Ja62WH9Q TPKXYWwA0aoQM9wxmOedGUfcmxPyLT7q4PSO4ew8qN6Vay6HnbvyDGBAZ8XKTfCcAa9o R0CL7owVnXPHnIGevVYp+/0Wi+y8/5dyYl1a3MFyizMlITAYOKC05nXaICQv4XkFjGfr 17ww==
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=0sv+UmIpLaXFxrTFO23OGvvf0cTPCxPjAyxaKIOhxNs=; b=IINrDnBdIvoOabPAwm6yqol1Vwnc3rh9GLKmpaHp9gOQbSikV0SIPTd8vYZzydVA+n X/21X2fb1Ih+ue1v2JTIkwPpHPEqseE8M0mt7wUFf8MThYJiaI6gtf/uo5PXMGcSMmNN YwXHpQySkqLReXUsjzy9wubx7MbECsa9tW3UaCh+L6/qCQI6cgci0B5gvDZ9C8GtRwHN rsXPmlblk/9+KA3EVI2nrEGiIqYKp5iKJyNSNcSBZrhzRAP2rZzg5/9YH0dkw7uNDFA2 nH9MdI9WIoDpniTOANBJPCjPNQdDuSxX2G3HxKr5xr6Yv1zGoyb4ZbvjqmHVvXlEE50N G/eg==
X-Gm-Message-State: AG10YORX6NQolKcBifdGD8r/NBhN0MtVp6rspPLybCvgNoCi7i5Td2AmHPHPkl2Jhxug++aEq5MOAcI6Ff3e/g==
MIME-Version: 1.0
X-Received: by 10.98.8.218 with SMTP id 87mr8865222pfi.39.1453513090849; Fri, 22 Jan 2016 17:38:10 -0800 (PST)
Received: by 10.66.142.193 with HTTP; Fri, 22 Jan 2016 17:38:10 -0800 (PST)
In-Reply-To: <CAL02cgQnXOZFwpbRcbdDAzBjeM2pyqOkoTv3WbXWf_BVT5SdBg@mail.gmail.com>
References: <CAL02cgQnXOZFwpbRcbdDAzBjeM2pyqOkoTv3WbXWf_BVT5SdBg@mail.gmail.com>
Date: Fri, 22 Jan 2016 17:38:10 -0800
Message-ID: <CAK6vND_s+dOFqNN2OPyMv91b-CbKqbCwCOediG-n3FWSLMDhMA@mail.gmail.com>
From: Peter Bowen <pzbowen@gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/jLtbHQIq6g795KkEW15gkIx6310>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] ACME for pre-ACME CAs
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, 23 Jan 2016 01:38:13 -0000

On Tue, Dec 22, 2015 at 12:02 PM, Richard Barnes <rlb@ipv.sx> wrote:
> I mentioned at the IETF meeting that a major next milestone for ACME
> is to get it to the point where it can be used by current CAs,
> including ones that require clients to pay for certificates.  I've
> been chatting with Andrew Ayer and a few other folks about how to do
> this, and have come up with the following loose proposal (in a Gist
> because it's a little long):
>
> https://gist.github.com/bifurcation/8c955b99bd0daec8673d
>
> tl;dr:
> - Add an "order" resource type that can group certificates
> - Reinforce the distinction between certificate requests and certificates
> - Add an "activation" action or an "out-of-band" challenge type

Richard,

I think that this is a good start.  However I think there is a high
risk of putting too much policy into the protocol.  Given this, what I
describe below are what I see as core building blocks that allow a CA
to implement policy as they see fit.

I think there are several areas where the current draft API could be
enhanced to better support existing CA and places where it is worth
calling out things that are out of scope and better handled via some
other standard.  The biggest of these is permissions and roles.  The
current spec only considers one

The first area that probably needs work is identifier authorization.
There are three main groups of methods for validating domain
authorization:
- Public challenge (this is what ACME has today)
- Private challenge
- Non-automated

One popular way to validate control of an identifier is to look up the
owner or registrant of the identifier, get contact info (such as a
postal address) and mail them a letter containing a private challenge.
Once they receive the letter, they provide the challenge to the CA/RA
to provide they received the letter.  Today with ACME, there is no way
to have a private challenge.  Additionally, given that there may be
multiple contact addresses, it is necessary to give the caller a way
to choose which address to use when there are multiple choices.  For
these challenge types, the token would would not be in the structure.

Non-automated validation is another gap.  There are times where it is
desirable to record that an account is authorized for the identifier
via some "other' mechanism.  This could be via an authorization letter
or research by the CA.

The other item missing from domain authorization information is scope.
Some CAs may determine that an authorization is good for a portion of
the DNS tree larger than just the validated FQDN.  For example, I
might validate peterbowen.org and then be able to get
foo.peterbowen.org without re-validating.  I suggest reusing the scope
terms from LDAP as an attribute on base, one, sub, and children as a
new attribute in the identifier structure.

In addition to dns identifiers, CAs that include subject identity
information will need to be able to represent these identifiers.  I
don't expect that most of these identifiers will use any automated
challenge.  Instead the URL might be somewhere that scans of documents
can be uploaded.

In addition to identifier and challenge enhancements, the new-cert
method does not align to what most CAs do today.  Specifically, almost
all CAs allow providing the certificate details outside of the CSR and
only use the CSR to carry the public key and self-signature.  The
new-cert method probably should allow optional parameters for
specifying identities to be included in the certificate.

Many CAs also offer different certificate profiles, which is also
missing from the new-cert method.  Profiles can be used to determine
which extensions to include, how to set key usages, and even which CA
will sign the certificate.

Lastly, I would extend CSR to allow for either a PKCS#10 formatted CSR
or a SPKAC CSR.  This would allow systems built using the HTML5 keygen
element and other systems that use SPKAC formatted CSRs to use ACME.

I think these changes would give a solid foundation and API upon which
many different business models and issuance policies could be
implemented.

Thanks,
Peter


From nobody Mon Jan 25 17:48:38 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 ECC7A1ACD65 for <acme@ietfa.amsl.com>; Mon, 25 Jan 2016 17:48:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.698
X-Spam-Level: 
X-Spam-Status: No, score=0.698 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.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 6gXS0BzLJouW for <acme@ietfa.amsl.com>; Mon, 25 Jan 2016 17:48:35 -0800 (PST)
Received: from umbriel.devever.net (umbriel.devever.net [149.202.51.241]) by ietfa.amsl.com (Postfix) with ESMTP id 2711F1ACD5D for <acme@ietf.org>; Mon, 25 Jan 2016 17:48:35 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 579B11C66D for <acme@ietf.org>; Tue, 26 Jan 2016 02:48:34 +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=1453772914; x=1471962275; bh=bduc plBG3uSBRvuqSSM+wR/giX28J2hBjYrVtQ3zdRc=; b=BtqBML7SNoYy6Tzo9p6d 7GBY4kJJgLRK4BxybDpAR4D3aBXAjxbZS8VdePFYNnZvccT+fDax4jN5iCnm143I hU1SmogFXAfpXCDJ5QH8/or+qYWKuS3CS+kXdNgpBfyXD7f0zz2sJ++f8rlqCf8c h0aiO57eQwzdJQbuAVAB3LeeucNWD0GYNN2Y25acKHRuB43D7AFR8JL6LtD/qyw+ 6aQe0WapU1pjKmMWPsQsjwu1B2E7BsEC4bQ0eXl+2lCWEV6cY6VLPYC/xic+zu8n 1MM6GEpOJVJGdJMKBz6rOr+y0pW4ILpoGtcNAdrf98It/L5E+csc2w6jn6WI9FMP Dg==
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 vHctxBk_hnNf for <acme@ietf.org>; Tue, 26 Jan 2016 02:48:34 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 2637E1C38C for <acme@ietf.org>; Tue, 26 Jan 2016 02:48:34 +0100 (CET)
Date: Tue, 26 Jan 2016 01:48:34 +0000
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20160126014833.GA16635@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/AzbC_ZCoQmD3PScHvJdDFQjg1zA>
Subject: [Acme] Predictability of http-01 challenge response
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, 26 Jan 2016 01:48:37 -0000

Someone pointed out to me that the http-01 challenge can be satisfied
using no knowledge other than the account fingerprint.

For example, as an nginx config:

  location ~ "^/\.well-known/acme-challenge/(-_a-zA-Z0-9]+)$" {
    default_type text/plain;
    return 200 "$1.ACCOUNT_THUMBPRINT";
  }

Was this an intended design feature of the http-01 challenge?

Perhaps more pertinently I should ask, is this property desirable?

This reduces the http-01 challenge to what is essentially an account key
nomination, alebit with a random token (probably needed to satisfy CA/B
forum requirements). I've previously suggested that e.g. the DNS
challenge be changed similarly. In that regard it's quite convenient.
I'm just mildly worried that this property doesn't seem to have been
particularly noticed or discussed, in terms of its security properties.

Musing a little, if this property was deemed desirable, the possibility
of multiple account keys could be better accommodated by including say,
a hash of the account key thumbprint in the URL. Reasoning: The response
value shouldn't match the request value to guard against webservers
which for some reason echo everything they see. A hash of an account key
thumbprint is sufficient to identify an account amongst a list of known
accounts, for the purposes of determining which account an ACME server
is soliciting an endorsement for.

OTOH if this property was deemed undesirable the token in the URL could
be hashed; the response would then prove the server knew the token.

Hugo Landau


From nobody Tue Jan 26 02:58:56 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 758BF1ACEC7 for <acme@ietfa.amsl.com>; Tue, 26 Jan 2016 02:58:55 -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 Vj7WQQ7j5eVE for <acme@ietfa.amsl.com>; Tue, 26 Jan 2016 02:58:53 -0800 (PST)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::2]) (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 4C23F1ACECD for <acme@ietf.org>; Tue, 26 Jan 2016 02:58:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1453805930; l=4687; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=PWXuCcMrH8OOGYuaZ2KLzp7AqRTh1aeeHBXSEqw1ofQ=; b=PnpTNgMp/6vYen4DWr75JjpQoqGPMSfBAXMC4/hZuvgzU6KIOs9KPt8Qao3Kb+9Tcpv 88qVvP8J0bjbXyUGZuggUmT1yHt1g9Z3qPe3tboms9Q5JBui95PwX6z3WkOuk56DM03EE rsEIgArBqxXKtGuYBWO2rZnu5pJvIajceFU=
X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3c6
X-RZG-CLASS-ID: mo00
Received: from mail-wm0-f44.google.com ([74.125.82.44]) by smtp.strato.de (RZmta 37.15 AUTH) with ESMTPSA id z068ecs0QAwoTQf (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>; Tue, 26 Jan 2016 11:58:50 +0100 (CET)
Received: by mail-wm0-f44.google.com with SMTP id n5so123710124wmn.0 for <acme@ietf.org>; Tue, 26 Jan 2016 02:58:50 -0800 (PST)
X-Gm-Message-State: AG10YOQ6Za/lc/D2xmqul7cQS09J8PiZtsUiD1/fCL1a3QOfjBOoOTMEuaYju/EsqVmvT2xq4BUR6hA6BKOYTA==
MIME-Version: 1.0
X-Received: by 10.28.232.221 with SMTP id f90mr22521578wmi.60.1453805930079; Tue, 26 Jan 2016 02:58:50 -0800 (PST)
Received: by 10.194.78.133 with HTTP; Tue, 26 Jan 2016 02:58:50 -0800 (PST)
In-Reply-To: <20160126014833.GA16635@andover>
References: <20160126014833.GA16635@andover>
Date: Tue, 26 Jan 2016 11:58:50 +0100
X-Gmail-Original-Message-ID: <CANUQDCjRrv80t-2K-3A9FjAQLiyOJ4mc9ArLyQDgPBfKvaV38Q@mail.gmail.com>
Message-ID: <CANUQDCjRrv80t-2K-3A9FjAQLiyOJ4mc9ArLyQDgPBfKvaV38Q@mail.gmail.com>
From: Niklas Keller <me@kelunik.com>
To: Hugo Landau <hlandau@devever.net>
Content-Type: multipart/alternative; boundary=001a1147bd3208fff1052a3a924b
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/ggwIVJaJcJX-wI-95MbKKwAYiiI>
Cc: IETF ACME <acme@ietf.org>
Subject: Re: [Acme] Predictability of http-01 challenge response
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, 26 Jan 2016 10:58:55 -0000

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

2016-01-26 2:48 GMT+01:00 Hugo Landau <hlandau@devever.net>:

> Someone pointed out to me that the http-01 challenge can be satisfied
> using no knowledge other than the account fingerprint.
>
> For example, as an nginx config:
>
>   location ~ "^/\.well-known/acme-challenge/(-_a-zA-Z0-9]+)$" {
>     default_type text/plain;
>     return 200 "$1.ACCOUNT_THUMBPRINT";
>   }
>
> Was this an intended design feature of the http-01 challenge?
>
> Perhaps more pertinently I should ask, is this property desirable?
>
> This reduces the http-01 challenge to what is essentially an account key
> nomination, alebit with a random token (probably needed to satisfy CA/B
> forum requirements). I've previously suggested that e.g. the DNS
> challenge be changed similarly. In that regard it's quite convenient.
> I'm just mildly worried that this property doesn't seem to have been
> particularly noticed or discussed, in terms of its security properties.
>
> Musing a little, if this property was deemed desirable, the possibility
> of multiple account keys could be better accommodated by including say,
> a hash of the account key thumbprint in the URL. Reasoning: The response
> value shouldn't match the request value to guard against webservers
> which for some reason echo everything they see. A hash of an account key
> thumbprint is sufficient to identify an account amongst a list of known
> accounts, for the purposes of determining which account an ACME server
> is soliciting an endorsement for.
>
> OTOH if this property was deemed undesirable the token in the URL could
> be hashed; the response would then prove the server knew the token.
>

The challenge is to provide the payload on a specific host, not to know
some random token.

If a server knows the account finger print, it can solve challenges made to
it, but that doesn't help to get certificates for other hostnames.

Regards,
Niklas Keller

--001a1147bd3208fff1052a3a924b
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=
-01-26 2:48 GMT+01:00 Hugo Landau <span dir=3D"ltr">&lt;<a href=3D"mailto:h=
landau@devever.net" target=3D"_blank">hlandau@devever.net</a>&gt;</span>:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">Someone pointed out to me that the http-01=
 challenge can be satisfied<br>
using no knowledge other than the account fingerprint.<br>
<br>
For example, as an nginx config:<br>
<br>
=C2=A0 location ~ &quot;^/\.well-known/acme-challenge/(-_a-zA-Z0-9]+)$&quot=
; {<br>
=C2=A0 =C2=A0 default_type text/plain;<br>
=C2=A0 =C2=A0 return 200 &quot;$1.ACCOUNT_THUMBPRINT&quot;;<br>
=C2=A0 }<br>
<br>
Was this an intended design feature of the http-01 challenge?<br>
<br>
Perhaps more pertinently I should ask, is this property desirable?<br>
<br>
This reduces the http-01 challenge to what is essentially an account key<br=
>
nomination, alebit with a random token (probably needed to satisfy CA/B<br>
forum requirements). I&#39;ve previously suggested that e.g. the DNS<br>
challenge be changed similarly. In that regard it&#39;s quite convenient.<b=
r>
I&#39;m just mildly worried that this property doesn&#39;t seem to have bee=
n<br>
particularly noticed or discussed, in terms of its security properties.<br>
<br>
Musing a little, if this property was deemed desirable, the possibility<br>
of multiple account keys could be better accommodated by including say,<br>
a hash of the account key thumbprint in the URL. Reasoning: The response<br=
>
value shouldn&#39;t match the request value to guard against webservers<br>
which for some reason echo everything they see. A hash of an account key<br=
>
thumbprint is sufficient to identify an account amongst a list of known<br>
accounts, for the purposes of determining which account an ACME server<br>
is soliciting an endorsement for.<br>
<br>
OTOH if this property was deemed undesirable the token in the URL could<br>
be hashed; the response would then prove the server knew the token.<br></bl=
ockquote><div><br></div><div>The challenge is to provide the payload on a s=
pecific host, not to know some random token.</div><div><br></div><div>If a =
server knows the account finger print, it can solve challenges made to it, =
but that doesn&#39;t help to get certificates for other hostnames.</div><di=
v><br></div><div>Regards,</div><div>Niklas Keller</div></div></div></div>

--001a1147bd3208fff1052a3a924b--


From nobody Tue Jan 26 12:41:18 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 B78891B30BB for <acme@ietfa.amsl.com>; Tue, 26 Jan 2016 12:41:17 -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 f9HFOD89cChI for <acme@ietfa.amsl.com>; Tue, 26 Jan 2016 12:41:15 -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 D2E3B1B2D4B for <acme@ietf.org>; Tue, 26 Jan 2016 12:41:15 -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=IIrAI16ufUt25yTzI/Ijqz4Zan/cLwhmNP3USYbB4zA=;  b=DhhjELR+PuH/xB83UI/Y1VahiZel/PxQJos3BFG4LpvMSFRaN3xgXqAqCarvTBcWuT6HbHnKp8VTqdLOLGAFYwSIkG+axbid3/OXg4CIE6CsfEDhLqvSGZHLQIIPV5sLlcXhqtx+1f6AlOD9NFia47GtLZw/9Emr9/7vwfJ0grk=;
Received: ; Tue, 26 Jan 2016 12:41:14 -0800
To: Hugo Landau <hlandau@devever.net>, acme@ietf.org
References: <20160126014833.GA16635@andover>
From: Jacob Hoffman-Andrews <jsha@eff.org>
X-Enigmail-Draft-Status: N1110
Message-ID: <56A7D9E9.3030009@eff.org>
Date: Tue, 26 Jan 2016 12:41:13 -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: <20160126014833.GA16635@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/RoWyf5p1YBmKobuHbxF1X1KAVbk>
Subject: Re: [Acme] Predictability of http-01 challenge response
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, 26 Jan 2016 20:41:17 -0000

On 01/25/2016 05:48 PM, Hugo Landau wrote:
> Was this an intended design feature of the http-01 challenge?
I think it was not specifically intended or discussed.
> Perhaps more pertinently I should ask, is this property desirable?
The main property we want from challenges is that they are unlikely to
be satisfied accidentally by a party other than the requester. I believe
that's the main value of random tokens as challenges. It's extremely
unlikely that someone will unintentionally have a file on their server
matching the random token.

It's likely that some people using Let's Encrypt will use the sort of
automated response you described, so they could unintentionally response
with a challenge they did not intend to make. However, the inclusion of
the account key thumbprint would ensure that they are not authorizing an
account other than their own.


> This reduces the http-01 challenge to what is essentially an account ke=
y
> nomination, alebit with a random token (probably needed to satisfy CA/B=

> forum requirements). I've previously suggested that e.g. the DNS
> challenge be changed similarly. In that regard it's quite convenient.
> I'm just mildly worried that this property doesn't seem to have been
> particularly noticed or discussed, in terms of its security properties.=

I think treating challenges as account key nominations is valuable and
has the potential to make repeated challenge fulfillment easier. But
you're right, we should document the specific security properties that
the DV challenges are intended to provide.
> Musing a little, if this property was deemed desirable, the possibility=

> of multiple account keys could be better accommodated by including say,=

> a hash of the account key thumbprint in the URL.
This is an interesting idea, but I think if we want to go further down
this road, it makes more sense to have a challenge that returns all
account keys that the subscriber considers to be authorized for issuance
on the requested domain.


From fbraun@mozilla.com  Fri Jan 29 05:48:05 2016
Return-Path: <fbraun@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 5A4041ACD9C for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 05:48:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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 bRkOQZiKcmAn for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 05:48:01 -0800 (PST)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DA091ACD8F for <acme@ietf.org>; Fri, 29 Jan 2016 05:48:01 -0800 (PST)
Received: by mail-wm0-x234.google.com with SMTP id l66so68109262wml.0 for <acme@ietf.org>; Fri, 29 Jan 2016 05:48:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=TmMNpjwgi74E/H7NdDDJRD+jKh0+1v1Q9Blv15QeQnc=; b=XadreP/SlwmNu2Ow71orsHYWCrgBvDFuzVK3XvxasUvsvu4CEBVqLXCRe/sCl5HAxY G5wLBTzyuSUurIEArf1ZLZbwNPN+2RYtT9X3eKdBAw+m3bQFhZJRGO/lD0m9QRsaj2Zv xuUDwVkabfWagocNDXYpFCeiu0/lBEl2RgZZD6qOAn5PZkFSdfinPp2lf+/UahLnFlvQ gDC1W3SeIwJMY75vkMhhbXez+D5PgHXJA3ZR69nDkFe9DymfcgdPjj6a/70SePjo3AE+ jHUyf/sOP6VU2zBCHD9IdLps+eqDKMGefaC/MBXMjL0GPVhRGy7hbDHLEla5OXrwWHjr c03Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=TmMNpjwgi74E/H7NdDDJRD+jKh0+1v1Q9Blv15QeQnc=; b=RcqOu3BIkSprdw8MJovm96yz6p7VLYmC7shoUs73z2cdJY78VZ1NTYMD9yTnlu9skE tS5VdBYwFuR3x6DIIsF4yqFE6UJmAEkUZORWBx197za5+FaCqXKNMlUowmoI7woOm+An MFIZaU5yepZDZgHm6aMnPTHprZvuSj2QmkJvXeMlCGo8YA5tRvzV59LQmGNN+LlazFt1 aaeCOlHaeVSmZH/qNzMfvIgyYtgY/4CUlzPGiab5BlQD8MVA1cqn0xappW8/7PgQ52Nd kJYpQckL90BkMJP0XOvhSZUwR7jqRaoV62d1Z4V0mlPzQMf55E1tfqu6+UjAJhpqWRDl h76Q==
X-Gm-Message-State: AG10YOS/4uGOnS7RxDByaUPyjn8kfBdRutAzgJYMMBLaxt9y+ccAUdYB2GdPVoDA2I1YtzMv
X-Received: by 10.28.45.151 with SMTP id t145mr9679007wmt.88.1454075279724; Fri, 29 Jan 2016 05:47:59 -0800 (PST)
Received: from ?IPv6:2a02:8109:a400:4bb:81d9:11e2:f5fc:1a03? ([2a02:8109:a400:4bb:81d9:11e2:f5fc:1a03]) by smtp.gmail.com with ESMTPSA id 73sm7616430wmm.7.2016.01.29.05.47.58 for <acme@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 05:47:58 -0800 (PST)
To: acme@ietf.org
From: Frederik Braun <fbraun@mozilla.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <56AB6D8D.9010803@mozilla.com>
Date: Fri, 29 Jan 2016 14:47:57 +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: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/b_e1R7wxSe-aos_kAN9lRxftKuo>
Subject: [Acme] dns challenges and dynamic dns services (security considerations for domain holders)
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, 29 Jan 2016 13:50:41 -0000

Hi,

I filed a pull request proposing some text around the following issue [1]:

It appears to me that it is not unlikely to get a subdomain from someone
else's domain. Nobody would assume that the subdomain could be used to
compromise or endanger the actual domain. This is how dynamic dns
services operate: Everyone can get foo.dyndns.example

I'm concerned that an attacker might request
_acme-challenge.dyndns.example and get a valid certificate for
dyndns.example.

Comparing the dns challenge scheme with other meaningful TXT records
(e.g., SPF), I would suggest that the dns challenge TXT record should
maybe live on the domains TXT record itself?

e.g., dyndns.example IN TXT "_acme-challenge=value"

As far as I understand, this attack is not as bad because a security
conscious domain holder has their domain registered as a public suffix.


Cheers,
Frederik




[1] https://github.com/ietf-wg-acme/acme/pull/76


From nobody Fri Jan 29 06:34:36 2016
Return-Path: <celti@celti.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 11C071A6EF0 for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 06:34:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 MMVfB0fFlIcz for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 06:34:32 -0800 (PST)
Received: from ilmatar.celti.name (ilmatar.celti.name [173.255.241.118]) (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 6C63E1A6EEC for <acme@ietf.org>; Fri, 29 Jan 2016 06:34:32 -0800 (PST)
Received: from siduri.celti.name (unknown [IPv6:2600:8800:300:751:dafc:93ff:fea9:5a9c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ilmatar.celti.name (Postfix) with ESMTPSA id 0B7A7642BA for <acme@ietf.org>; Fri, 29 Jan 2016 07:34:31 -0700 (MST)
Date: Fri, 29 Jan 2016 07:34:30 -0700
From: "Patrick Burroughs" <celti@celti.name>
To: acme@ietf.org
Message-ID: <20160129073430.22789a02@siduri.celti.name>
In-Reply-To: <56AB6D8D.9010803@mozilla.com>
References: <56AB6D8D.9010803@mozilla.com>
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/EocgZYVCFlvjZed+Xf3vcIm"; protocol="application/pgp-signature"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/Zdt2fPi6-MzyPgM3hFwDTvXwcLg>
Subject: Re: [Acme] dns challenges and dynamic dns services (security considerations for domain holders)
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, 29 Jan 2016 14:34:36 -0000

--Sig_/EocgZYVCFlvjZed+Xf3vcIm
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 29 Jan 2016 14:47:57 +0100
Frederik Braun <fbraun@mozilla.com> wrote:

> [...] I would suggest that the dns challenge TXT record should
> maybe live
> on the domains TXT record itself?
>=20
> e.g., dyndns.example IN TXT "_acme-challenge=3Dvalue"

As I understand it, wouldn't this prevent you from setting challenges
for subdomains that are CNAMEs? A TXT record can't coexist with a CNAME
for the same subdomain.

Regards,
~Patrick

--Sig_/EocgZYVCFlvjZed+Xf3vcIm
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

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

iQIcBAEBCAAGBQJWq3h3AAoJEERuEWwrGAqkS2QP/2c5NcyFmRAw0QUgBKq+cIuZ
cCuHcDDTzUCafMFuBAUwljoBDK52skggdq4OJEkn8lHNVquAWS130Gy3Ctec1/AO
kJRW4dV5xKwGdPrrtyzTiVYSIkqf6Np0RdcXm8mSX4WPKQ5R+HED8KoZ2g7cfHg7
JXHBDrhQXlWqEq04XrlEYlVCcwcPcgsxrviW6jP5XVsogMhGLf7mWiSZqo+QmDx7
zNu1+plfRAAJrSy2Ol5n6gspKjHzNhmRvnSEjdmYe5kjwEj540HYsJqBq77Cp6jc
+jjgk8LLwz8MbPoLCKSR3bQju6x4b9nRLPOLhgOE7N6aHVwFPp6rb5WpiKiCw8JR
m4faQzLid8XNvJAkNTXe03dNsgIZmhngFsxdz8h2SdfVKqgtHhtBNUUk6Aby2z14
JJBvkBMOueTVqtj9fSut326l+zPDJ9LpgEQZbc9b7ekXuuRK6qhgqhkkrhBA22sD
HdWJUr1e4s4XP1u4rK/AU9jtwDGg1loCgBaXQSBAdDTo8Nv45NJ1BoiAXdLjedgb
s6+0TR9LPExKja7gAkq+yeeZHjTUaR1+ymMxiGjCznyhiM9mFcq/AX5ywSCY/WFa
7CUQUxqFCSXyih+ZUL4dvhcYLmtg8PKixtXEGjC1pm5SpAChLXje7GTpgVumXTsj
4rejpVPJijT/b7Y5CZeW
=DvY6
-----END PGP SIGNATURE-----

--Sig_/EocgZYVCFlvjZed+Xf3vcIm--


From nobody Fri Jan 29 07:11:37 2016
Return-Path: <admin@moparisthebest.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 A037E1A802E for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 07:11:35 -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 3rgs6VPhGNCu for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 07:11:34 -0800 (PST)
Received: from mailer.moparscape.org (mailer.moparscape.org [144.76.72.168]) (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 5D5711A7D85 for <acme@ietf.org>; Fri, 29 Jan 2016 07:11:34 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at burtrum.org
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=moparisthebest.com; s=2013; t=1454080285; bh=XOumK/2p9G4CoWaP5W2vs1qg/k20DMUhjcSnssyWjlE=; h=Subject:To:References:From:Date:In-Reply-To:From; b=nHLcrNFjbvWJbYzMuoC3O5wNDZBDYVaEE/8IeUZTB83McIoI5aY1hKc0T2gCeFuy2 t44Q1f6FS2TXiFBztTMs31Hg1SXXrRxWYrVLapoJiTlzhvtUNfYWg+Z7ULtm0Bd1+Z Foy7otMkJ0HKE/QbGIIQMtiMZ+tVQJvGdpv5J284=
To: acme@ietf.org
References: <56AB6D8D.9010803@mozilla.com>
From: moparisthebest <admin@moparisthebest.com>
Message-ID: <56AB8118.9020500@moparisthebest.com>
Date: Fri, 29 Jan 2016 10:11:20 -0500
MIME-Version: 1.0
In-Reply-To: <56AB6D8D.9010803@mozilla.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/E0fSZSVjz67x6V3665A92vMaawM>
Subject: Re: [Acme] dns challenges and dynamic dns services (security considerations for domain holders)
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, 29 Jan 2016 15:11:35 -0000

Hello Frederik,

On 01/29/2016 08:47 AM, Frederik Braun wrote:
> I'm concerned that an attacker might request
> _acme-challenge.dyndns.example and get a valid certificate for
> dyndns.example.

Does there exist a dynamic DNS service that allows setting TXT records?
 I've never seen one.  Also this can also be easily mitigated by them
just disallowing the _acme-challenge subdomain similar to the way they
probably all disallow www.

Thanks,
moparisthebest


From nobody Fri Jan 29 07:26:22 2016
Return-Path: <fbraun@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 F3F2A1ACE4D for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 07:26:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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 6WvrsC2a200J for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 07:26:16 -0800 (PST)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::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 B24F61ACE4A for <acme@ietf.org>; Fri, 29 Jan 2016 07:26:16 -0800 (PST)
Received: by mail-wm0-x22d.google.com with SMTP id p63so73269848wmp.1 for <acme@ietf.org>; Fri, 29 Jan 2016 07:26:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=JQpP9hlzWEmcGjp+EsHMEl4Adihg8P2OK/f8O12TpMA=; b=F8odANtdKK/oHvxgAYWOzx1V0HriJhF4kQ0XHNYu9Zw3oN0xxsGVkg05VBI8JY6iR9 BguBtlSJ3Y7gIXuH70uBRkY5+EyZCPcTcTGG3TTtTl8hLWNsNPz9iAfb0zYpksCbgcr9 Fm6HrMN+cIS5B293nbJqiLFP9TPp5lHF7g14/oNEbGyCQmUaBuqOp5hbg0K2wbBW6QzN M5FuU2430egieTk5MLWHTOtIeyUjEaT+saj+EOsY4itOviDvKb78PIb2TdRea8mLhxy7 n7gXvuVck6rfIumCAlsukrMz6sQGWEyCiZYcApoprFQ8iqc/jKvmvuPXt1TPIMO+2TWE x98g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=JQpP9hlzWEmcGjp+EsHMEl4Adihg8P2OK/f8O12TpMA=; b=i0RZmJ3rcIAXB/0TkO2Qrk6rpcL3lrkSL03jrmBHoML5IDxSWhfrT9dmnVMIWCSYFg 4sR3hYbc0Td0oUFI1oZwq/OeGvRJppDR1tBkY/ju1FkrdJMCKZ1D8+82UUB/O88tnX8D M9gAOmbHQk/jjkXKx13eAVlhG6732DNqzA6g+kyagyKyhBMbvEditTzTYwHw2BjFFE7B 30xGZhTzhkDzN4I9+qag/1HZYPZr8wu2r2nO11O7Mh16Aev4/NFCJrasubMYb3CZKYQZ BNPquYguxrp4tM8HrFa9hBSien4bfQpvH0ovbKx669UziB+PFI8zC4VSMYFR0SUuu8h9 RopQ==
X-Gm-Message-State: AG10YORoYREg8vaPKXrAIZrE0a9bDPHBoI1agH5E1sa3ekHPWhnqMLdctSRFIxaxjt0e3kjr
X-Received: by 10.28.145.194 with SMTP id t185mr10095964wmd.32.1454081175117;  Fri, 29 Jan 2016 07:26:15 -0800 (PST)
Received: from ?IPv6:2a02:8109:a400:4bb:81d9:11e2:f5fc:1a03? ([2a02:8109:a400:4bb:81d9:11e2:f5fc:1a03]) by smtp.gmail.com with ESMTPSA id y188sm7946016wmy.11.2016.01.29.07.26.14 for <acme@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 07:26:14 -0800 (PST)
To: acme@ietf.org
References: <56AB6D8D.9010803@mozilla.com> <56AB8118.9020500@moparisthebest.com>
From: Frederik Braun <fbraun@mozilla.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <56AB8495.9000309@mozilla.com>
Date: Fri, 29 Jan 2016 16:26:13 +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: <56AB8118.9020500@moparisthebest.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/bShHMj36X57y47Rj7LkY_qWcnzY>
Subject: Re: [Acme] dns challenges and dynamic dns services (security considerations for domain holders)
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, 29 Jan 2016 15:26:21 -0000

On 29.01.2016 16:11, moparisthebest wrote:
> Hello Frederik,
> 
> On 01/29/2016 08:47 AM, Frederik Braun wrote:
>> I'm concerned that an attacker might request
>> _acme-challenge.dyndns.example and get a valid certificate for
>> dyndns.example.
> 
> Does there exist a dynamic DNS service that allows setting TXT records?
>  I've never seen one.  Also this can also be easily mitigated by them
> just disallowing the _acme-challenge subdomain similar to the way they
> probably all disallow www.

https://freedns.afraid.org/ allows TXT records. They now forbid
_acme-challenge subdomains after I reached out.

I'm concerned that everyone having to update their blacklists[1] will
lead to more trouble.




[1] Of course, security based on black lists is not a great idea. But
that's the reality.


From nobody Fri Jan 29 08:54:23 2016
Return-Path: <cloos@jhcloos.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 D055F1A87C8 for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 08:54:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 PAyZVSIqMoux for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 08:54:20 -0800 (PST)
Received: from ore.jhcloos.com (ore.jhcloos.com [198.147.22.87]) (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 8B8771A87C7 for <acme@ietf.org>; Fri, 29 Jan 2016 08:54:20 -0800 (PST)
Received: by ore.jhcloos.com (Postfix, from userid 10) id C34521E8A3; Fri, 29 Jan 2016 16:54:19 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=ore14; t=1454086459; bh=OLK+F3SEYG059R7aQ4p6VoLcNoTTZpEKmcp+BgDImPU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=kzNWt245aFUxqlOjrjs4MFdW8Dd/GEeDOdLdRPL1EJSLd6FVdmzC9U2BOqsWSF8Mx JMt12Pll86ILePok6s5k47qhLHQCfUJx224aBnfLK6pFY2SJcrDn+MS/6rkrqdR17Q PYXt/fOUZ8zteaWMTOzs4duX98ccBERVRaTasdCI=
Received: by carbon.jhcloos.org (Postfix, from userid 500) id 8567A107BCAA1; Fri, 29 Jan 2016 16:52:11 +0000 (UTC)
From: James Cloos <cloos@jhcloos.com>
To: Frederik Braun <fbraun@mozilla.com>
In-Reply-To: <56AB8495.9000309@mozilla.com> (Frederik Braun's message of "Fri,  29 Jan 2016 16:26:13 +0100")
References: <56AB6D8D.9010803@mozilla.com> <56AB8118.9020500@moparisthebest.com> <56AB8495.9000309@mozilla.com>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC
Copyright: Copyright 2015 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6; url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Fri, 29 Jan 2016 11:52:11 -0500
Message-ID: <m3y4b8gwg4.fsf@carbon.jhcloos.org>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain
X-Hashcash: 1:28:160129:fbraun@mozilla.com::ELN+vc+fA+5N7E63:000000000000000000000000000000000000000000OFnC/
X-Hashcash: 1:28:160129:acme@ietf.org::dYecCbGIsm/EVKPM:000Hjbam
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/FIFPdcK2YQcUnp-SKNK7vedMR1w>
Cc: acme@ietf.org
Subject: Re: [Acme] dns challenges and dynamic dns services (security considerations for domain holders)
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, 29 Jan 2016 16:54:22 -0000

>>>>> "FB" == Frederik Braun <fbraun@mozilla.com> writes:

FB> I'm concerned that everyone having to update their blacklists[1] will
FB> lead to more trouble.

They really all ought to forbid any label which start with an
underscore.

Wasn't that part of the motivation for using an underscore to initiate
such lables?

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6


From nobody Fri Jan 29 09:38:13 2016
Return-Path: <agwa@andrewayer.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 253ED1A88FF for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 09:38:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 sQeX0hMR8-Nn for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 09:38:10 -0800 (PST)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [IPv6:2600:3c00:e000:6c::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5133B1A6EDB for <acme@ietf.org>; Fri, 29 Jan 2016 09:38:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=alcazar2; t=1454089087; bh=6lU1wmuhqWBFfsXMAiJtwlfkUJpiAEvSghG2ekjZSvY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=xMqAJ+vbFmmc+dE50tUlvWSdEa5jqOemZa0Nj2H5IZLw0TbRg+gHOfEKTo7N0zp0D 1YJTfSbThHDPwQdQrkQDZRC3ofFDrqL5Pez/0nUxjUxPxOP6ifPBn59A1USM7gATap 0Z5GFEE81Z1Nm33E+Gqi8P0TfVqXZTYl7JLLLityQMMDEQHOL6p0VZXIvtZ3b2Hjzg FnVo4pjH8ECnFCjUPBQCerSQWEnShmTZTA5bS3+IpanVCBY71wFoqg0+2+WFK2NRi4 ifWB7+iWGS7F2ArYFsfvRhOqlqSlY7bg9WLYQxbLb7yVPWVCxvfdh+RVgfQgkMscLa eMrgMDPTS1bxA==
Date: Fri, 29 Jan 2016 09:38:06 -0800
From: Andrew Ayer <agwa@andrewayer.name>
To: James Cloos <cloos@jhcloos.com>
Message-Id: <20160129093806.e512a4471ec468655b6b1723@andrewayer.name>
In-Reply-To: <m3y4b8gwg4.fsf@carbon.jhcloos.org>
References: <56AB6D8D.9010803@mozilla.com> <56AB8118.9020500@moparisthebest.com> <56AB8495.9000309@mozilla.com> <m3y4b8gwg4.fsf@carbon.jhcloos.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/-cqQQS2Jx_lHko1vfoWYCx85Bmo>
Cc: acme@ietf.org, Frederik Braun <fbraun@mozilla.com>
Subject: Re: [Acme] dns challenges and dynamic dns services (security considerations for domain holders)
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, 29 Jan 2016 17:38:12 -0000

On Fri, 29 Jan 2016 11:52:11 -0500
James Cloos <cloos@jhcloos.com> wrote:

> >>>>> "FB" == Frederik Braun <fbraun@mozilla.com> writes:
> 
> FB> I'm concerned that everyone having to update their blacklists[1]
> FB> will lead to more trouble.
> 
> They really all ought to forbid any label which start with an
> underscore.

Agreed.  Underscores are not allowed in hostnames, so dynamic DNS
services should not allow registration of such names (I don't even
understand why they would allow TXT records).  If they do allow
registration of arbitrary TXT records for names starting with
underscores, then they are also allowing attackers to set arbitrary
DKIM and DMARC records for their domain, and probably inflict other
damage.

The dynamic DNS service in question[1] also claims support for SRV
records, so there's a good chance they're also allowing attackers to
hijack various services for their domain.

I consider this similar to (but less likely than) web hosts allowing
user uploads to the /.well-known directory.  Operators ought to know
better, and while there's a risk that some won't, it's a risk that has
to be tolerated if DV is to exist at all.

Andrew

[1] https://freedns.afraid.org/


From nobody Fri Jan 29 14:48:19 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 9A2A81A9047 for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 14:48:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.068
X-Spam-Level: 
X-Spam-Status: No, score=-1.068 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FS_START_DOYOU2=1.633, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-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 ybz2U3aOBvWD for <acme@ietfa.amsl.com>; Fri, 29 Jan 2016 14:48:16 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 1B47D1A8F33 for <acme@ietf.org>; Fri, 29 Jan 2016 14:48:16 -0800 (PST)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 2987A42372D for <acme@ietf.org>; Fri, 29 Jan 2016 22:48:15 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 133DC423715 for <acme@ietf.org>; Fri, 29 Jan 2016 22:48:15 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1454107695; bh=wWvNE9xj25KTv3Jgp1O9URkuXhzGtDzp22mrCtQlI3M=; l=2474; h=From:To:Date:From; b=E86AqSR2iPdlnblQWfQopbNSrqk5Cnn6TanxPDgJVqAUPRvdzlUVtJV+JiGY/uMIb EzxHaRP7Vmg0D2MQyC7oaltM7XfYc19sTzJIISz6u2ddhRLizSPNAc01wx8dFqh9cl XlEAynw8x8VYnXuonrfNPdr+v/rz1etL8vuzAAjU=
Received: from email.msg.corp.akamai.com (ecp.msg.corp.akamai.com [172.27.123.33]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 10C17202E for <acme@ietf.org>; Fri, 29 Jan 2016 22:48:15 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb3.msg.corp.akamai.com (172.27.123.103) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Fri, 29 Jan 2016 17:48:14 -0500
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1076.000; Fri, 29 Jan 2016 17:48:14 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "acme@ietf.org" <acme@ietf.org>
Thread-Topic: Do you have an (open source) ACME server?
Thread-Index: AdFa5x22SRgEp4ljSKmzizbVFpfFxw==
Date: Fri, 29 Jan 2016 22:48:14 +0000
Message-ID: <475e965df0924409b94fa2e657cfb8c9@usma1ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.42.70]
Content-Type: multipart/alternative; boundary="_000_475e965df0924409b94fa2e657cfb8c9usma1exdag1mb1msgcorpak_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/UwofKw4T-UmzW9hlx0oUxrWVz6U>
Subject: [Acme] Do you have an (open source) ACME server?
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, 29 Jan 2016 22:48:18 -0000

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

If so, please let me know (offline)

--
Senior Architect, Akamai Technologies
IM: richsalz@jabber.at Twitter: RichSalz


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">If so, please let me know (offline)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">--&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">Senior Architect, Akamai Technologies<o:p></o:p></p>
<p class=3D"MsoNormal">IM: richsalz@jabber.at Twitter: RichSalz<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_475e965df0924409b94fa2e657cfb8c9usma1exdag1mb1msgcorpak_--


From nobody Sat Jan 30 19:39:30 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 6A4F51B3EF1 for <acme@ietfa.amsl.com>; Sat, 30 Jan 2016 19:39:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.103
X-Spam-Level: 
X-Spam-Status: No, score=-0.103 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 Ezb0plzCD24u for <acme@ietfa.amsl.com>; Sat, 30 Jan 2016 19:39:28 -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 D63B61B3EF0 for <acme@ietf.org>; Sat, 30 Jan 2016 19:39:27 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id D35591C60D for <acme@ietf.org>; Sun, 31 Jan 2016 04:39:25 +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=1454211565; x=1472400926; bh=7jFp wsRjmw8AOm7CsR8HWt2KliUKSha0vs11BYMsRWg=; b=sF4RHt7iv+re1hmQqTTG aOo7HS1BeY6hsOUF5hBIBo+q5yvOusbnG8W9Tt9KyjpSW2CyOrHQU4SATKKUkyxq po59YzVhzzGr1qpq40MPYGom4kDdUdWf2kH9X5+LoUDPix8dvmPSdxakIq1aOJ7y fxbyjj0gTVuvyD9hdnlL7irRRicPWqV0R0/ILU/F0dXoRDxEVZR7HOYr/2kR2yD1 6qiyabUoiaKpKH+7YVNNcTsNDjYhMfEOJiAtsiL11Wxns0h2gMZxHtVb/vg7239Z b8esvsrdFe2RbMX2OjEGLKTpTpxnBZ6/2hvO3octkUAv7J08990ZEVYi2/yC1iVC 6Q==
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 KczslToY3Mde for <acme@ietf.org>; Sun, 31 Jan 2016 04:39:25 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id A00F61C60B for <acme@ietf.org>; Sun, 31 Jan 2016 04:39:25 +0100 (CET)
Date: Sun, 31 Jan 2016 03:39:25 +0000
From: Hugo Landau <hlandau@devever.net>
To: acme@ietf.org
Message-ID: <20160131033925.GA29713@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/RNiPetVQZengyDpd3kkwqTgq_pI>
Subject: [Acme] Directory metadata; wildcard support; conditional authz creation
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: Sun, 31 Jan 2016 03:39:29 -0000

More proposals from me.

Add metadata to directory. This is quite needed.
<https://github.com/ietf-wg-acme/acme/pull/72>

A proposed scheme for wildcard support.
<https://github.com/ietf-wg-acme/acme/pull/74>

Allow authorizations to be created conditionally.
<https://github.com/ietf-wg-acme/acme/pull/77>

Hugo Landau


From nobody Sat Jan 30 21:26:28 2016
Return-Path: <agwa@andrewayer.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 15DAA1B4033 for <acme@ietfa.amsl.com>; Sat, 30 Jan 2016 21:26:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.298
X-Spam-Level: *
X-Spam-Status: No, score=1.298 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_62=0.6, SPF_HELO_PASS=-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 8WlxfoVqFiUh for <acme@ietfa.amsl.com>; Sat, 30 Jan 2016 21:26:25 -0800 (PST)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [70.85.129.230]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC91D1B4032 for <acme@ietf.org>; Sat, 30 Jan 2016 21:26:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=alcazar2; t=1454217984; bh=gfoJX3heGLDXUWoAuix5TpMn9Bu/9f2WaBLvvatbVf4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=gs1W/NohY99we+hNYtEPsgAJ/MNJ8w/RA/UJr1SmK782VocIjUji+WuaO2/+UrsX9 pxqxcMFrx557D7cCpH1t+MyuvT5FmCo1F/Vbwcr42+MSE+uAQM9msi5uqsAoIZnp7O 8rGFejYalWSPWIKUqthMAbp/NJVZVH79Hg3J5mK/jy5s2uRCETdNv4c5qRqbLK3KO5 eQnRk3m6sXr4tPjw7dRPKxE8FX/yQPuLM4Js6O+U3uN5iWwyoMsagLn7ePGpGQulQM JJGdms6c0nV/2M+ExsYRbtY9ZYO7oZb24HEKwahgIaSD5ezAOSyWv/8wZqA6zja4ka AwduDdEPVgELQ==
Date: Sat, 30 Jan 2016 21:26:24 -0800
From: Andrew Ayer <agwa@andrewayer.name>
To: Hugo Landau <hlandau@devever.net>
Message-Id: <20160130212624.d28caed07b79d3ccb0c24b39@andrewayer.name>
In-Reply-To: <20160131033925.GA29713@andover>
References: <20160131033925.GA29713@andover>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/eLu_xKqW9BYrJvS11qCAwzByUdk>
Cc: acme@ietf.org
Subject: Re: [Acme] Directory metadata; wildcard support; conditional authz creation
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: Sun, 31 Jan 2016 05:26:27 -0000

On Sun, 31 Jan 2016 03:39:25 +0000
Hugo Landau <hlandau@devever.net> wrote:

> A proposed scheme for wildcard support.
> <https://github.com/ietf-wg-acme/acme/pull/74>

1. I don't think ACME should support wildcard characters anywhere but
the leftmost label.  RFC6125 says TLS clients SHOULD NOT match wildcards
in other labels, and in practice neither clients nor CAs support them.

2. The validation mechanism is insecure when a domain allows
users to register arbitrary sub-domains and host content on them
(e.g. github.io, Amazon S3).  For example, if I create a wildcard
authz for *.github.io, the server will issue challenges for some
random sub-domains (e.g. df2icxw7mg5gbbfc636ttbwsmi.github.io,
fonm6ymv77dlpac2qfvyjns4u4.github.io).  I can go register those
sub-domains at github.io (since the sub-domain labels have high entropy,
they will be available with high probability), complete the challenges,
and then be authorized for all of *.github.io.  To fix this, the server
should also require I complete a challenge for the "underlying"
identifier (github.io in this example).

3. It's not specified how the server communicates to the
client what sub-domains need to be validated.

I suggest that the HTTP, DNS, and TLS SNI challenge objects be extended
to include a "hostname" field, which specifies the hostname under which
the challenge must be completed. The server can then make use of the
existing combinations mechanism to require the client complete
challenges under several sub-domains.

Perhaps ACME shouldn't even specify how wildcard identifiers are
validated, but leave it as a matter of CA policy.  Some CAs might be
fine only requiring a challenge on the underlying domain (which is how
some CAs currently validate wildcard certs), while others would require
challenges on random sub-domains.  The policy might even be different
depending on challenge type: the CA might accept either a single DNS
challenge on the underlying domain, or a combination of HTTP challenges
on the underlying domain and several random sub-domains.

-- Andrew


From nobody Sun Jan 31 00:40:08 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 4AF2D1A90D0 for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 00:40:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.497
X-Spam-Level: 
X-Spam-Status: No, score=0.497 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_62=0.6, RP_MATCHES_RCVD=-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 2Bi2T4nP-aGn for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 00:40: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 6272C1A90CE for <acme@ietf.org>; Sun, 31 Jan 2016 00:40:05 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 77C961C60D; Sun, 31 Jan 2016 09:40:03 +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=1454229603; x=1472418964; bh=4t542MkNHnx8bu/BxzhE20B49eNbCkp8QC0jM9cy1dc=; b= TP2FT2BBuGfZtsdV8ioSzSVpV4Hm6MspjwL/OW5UFIFEONdRFolVQ4uRdsFjPP7s Qeb4O37gurr66f2XR1JAb7pmCF1r2D6b5MKXRdLLuUnsZUuCPODFRNTXnrXk9Qq8 FNZqxGfxDT1Io/nzIBCOqtIFuPuna3ClBBomvbvFjrJiqWpsS5GpVkBZnhdCf76D W2wXdJYVdbtaoFyoWT8SSiqK4dkUdVO5+/dA1Qm+xmkTj+RRaQ0qLiZs3Ncc32f0 ofYQNPjRdIJ5xXTtl9jF2R9alWNryPUSIAnjt+ZQDdi29c0u9Wr93pELdxhjinix zrQrtM+mhMWDcP7gBBMvXg==
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 0a1pL52hReob; Sun, 31 Jan 2016 09:40:03 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with SMTP id 40BBF1C083; Sun, 31 Jan 2016 09:40:03 +0100 (CET)
Date: Sun, 31 Jan 2016 08:40:03 +0000
From: Hugo Landau <hlandau@devever.net>
To: Andrew Ayer <agwa@andrewayer.name>
Message-ID: <20160131084003.GA26421@andover>
References: <20160131033925.GA29713@andover> <20160130212624.d28caed07b79d3ccb0c24b39@andrewayer.name>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160130212624.d28caed07b79d3ccb0c24b39@andrewayer.name>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/EE-ldAa6Yt38oJT2w_2Gd2QGOUc>
Cc: acme@ietf.org
Subject: Re: [Acme] Directory metadata; wildcard support; conditional authz creation
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: Sun, 31 Jan 2016 08:40:07 -0000

On Sat, Jan 30, 2016 at 09:26:24PM -0800, Andrew Ayer wrote:
> On Sun, 31 Jan 2016 03:39:25 +0000
> Hugo Landau <hlandau@devever.net> wrote:
> 
> > A proposed scheme for wildcard support.
> > <https://github.com/ietf-wg-acme/acme/pull/74>
> 
> 1. I don't think ACME should support wildcard characters anywhere but
> the leftmost label.  RFC6125 says TLS clients SHOULD NOT match wildcards
> in other labels, and in practice neither clients nor CAs support them.
> 
> 2. The validation mechanism is insecure when a domain allows
> users to register arbitrary sub-domains and host content on them
> (e.g. github.io, Amazon S3).  For example, if I create a wildcard
> authz for *.github.io, the server will issue challenges for some
> random sub-domains (e.g. df2icxw7mg5gbbfc636ttbwsmi.github.io,
> fonm6ymv77dlpac2qfvyjns4u4.github.io).  I can go register those
> sub-domains at github.io (since the sub-domain labels have high entropy,
> they will be available with high probability), complete the challenges,
> and then be authorized for all of *.github.io.  To fix this, the server
> should also require I complete a challenge for the "underlying"
> identifier (github.io in this example).
> 
> 3. It's not specified how the server communicates to the
> client what sub-domains need to be validated.
You misunderstand, perhaps I should clarify the wording; the server
never tells. You don't get to know the random subdomains it requests.
This ensures that the wildcard exists and is under control.

Adding a requirement for base domain control would be fine but I don't
see the need.

> 
> I suggest that the HTTP, DNS, and TLS SNI challenge objects be extended
> to include a "hostname" field, which specifies the hostname under which
> the challenge must be completed. The server can then make use of the
> existing combinations mechanism to require the client complete
> challenges under several sub-domains.
> 
> Perhaps ACME shouldn't even specify how wildcard identifiers are
> validated, but leave it as a matter of CA policy.  Some CAs might be
> fine only requiring a challenge on the underlying domain (which is how
> some CAs currently validate wildcard certs), while others would require
> challenges on random sub-domains.  The policy might even be different
> depending on challenge type: the CA might accept either a single DNS
> challenge on the underlying domain, or a combination of HTTP challenges
> on the underlying domain and several random sub-domains.
This might be a good idea.

> 
> -- Andrew


From nobody Sun Jan 31 03:25:00 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 0B8561ACEF9 for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 03:24:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.872
X-Spam-Level: 
X-Spam-Status: No, score=0.872 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, 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 PLIUXahVuX7e for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 03:24:57 -0800 (PST)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::12]) (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 367131ACEF8 for <acme@ietf.org>; Sun, 31 Jan 2016 03:24:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1454239494; l=519; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=ST8x5PesUGO0B1MhkH4VWoWYjbcAy8o6n5ZngX/dFuo=; b=tCOOO2LV2PWjztlcWe5bMC/44tnk2bL3f2cqZVDAn2JPhMFkRR6cKY3C251I7AjPiJ7 NMSwk5htYtSkypjok6TxvI4YX2XXWwftnD/OxlmBp9hXaDeXWHc0Wrs7q9aUjmh0Lwuhf xfwiAfHxzRDBKvkVCt9TANRRLBVsB7Xy2lA=
X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3U6
X-RZG-CLASS-ID: mo00
Received: from mail-wm0-f46.google.com ([74.125.82.46]) by smtp.strato.de (RZmta 37.17 AUTH) with ESMTPSA id q0355cs0VBOsOyN (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>; Sun, 31 Jan 2016 12:24:54 +0100 (CET)
Received: by mail-wm0-f46.google.com with SMTP id l66so34894646wml.0 for <acme@ietf.org>; Sun, 31 Jan 2016 03:24:54 -0800 (PST)
X-Gm-Message-State: AG10YORJyU8i0u4ptvMavvLz1CemiFLofW0kdfKlLDKpZXe752ZPHOmM+g4hUfQ5QfdoXUpoEfcoFXX6j682+w==
MIME-Version: 1.0
X-Received: by 10.28.30.198 with SMTP id e189mr3604914wme.60.1454239494598; Sun, 31 Jan 2016 03:24:54 -0800 (PST)
Received: by 10.194.78.133 with HTTP; Sun, 31 Jan 2016 03:24:54 -0800 (PST)
In-Reply-To: <20151206003601.GA32274@andover>
References: <CANUQDCjv6oVAyFNm8pQfmEzEJ+s+HsAS7OkV5H3U1X8JWHaRNA@mail.gmail.com> <20151206003601.GA32274@andover>
Date: Sun, 31 Jan 2016 12:24:54 +0100
X-Gmail-Original-Message-ID: <CANUQDCjLy+spEQ4xSTnyUXNxkSVmrSEX21R1nnMC_tMzN5K28w@mail.gmail.com>
Message-ID: <CANUQDCjLy+spEQ4xSTnyUXNxkSVmrSEX21R1nnMC_tMzN5K28w@mail.gmail.com>
From: Niklas Keller <me@kelunik.com>
To: Hugo Landau <hlandau@devever.net>, Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary=001a114b33de7e7a36052a9f84a4
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/3V2njH_y9tXAD9ycbKwkYv8G-7U>
Cc: IETF ACME <acme@ietf.org>
Subject: Re: [Acme] Authorizations and Certificates in Registrations
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: Sun, 31 Jan 2016 11:24:59 -0000

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

I just opened a PR: https://github.com/ietf-wg-acme/acme/pull/78

Regards, Niklas

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

<div dir=3D"ltr">I just opened a PR:=C2=A0<a href=3D"https://github.com/iet=
f-wg-acme/acme/pull/78">https://github.com/ietf-wg-acme/acme/pull/78</a><di=
v><br></div><div>Regards, Niklas</div></div>

--001a114b33de7e7a36052a9f84a4--


From nobody Sun Jan 31 08:51:35 2016
Return-Path: <agwa@andrewayer.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 2F7AE1ACD5C for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 08:51:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.698
X-Spam-Level: 
X-Spam-Status: No, score=0.698 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 VuLXSjy8Vri8 for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 08:51:33 -0800 (PST)
Received: from alcazar.beanwood.com (alcazar.beanwood.com [70.85.129.230]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 302881ACD5B for <acme@ietf.org>; Sun, 31 Jan 2016 08:51:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=alcazar2; t=1454259092; bh=Wloa6sgfjT1GW+t/sWsEKS/WQnqqqHq7vnYXn3y32bI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=A+Y/TobB5Dn/e+8njckahqn+dtmkUYiPGh5Xx19kJeHOrLYjhWZYPaZAD5apwV3O7 2Z4TQ70sjZc+beDkaxpkZOSg2smGDPsMZhizdZrTwa2WKODspQab3o/KvHjCAgRTBF tBiNFBv/gcGUPr1oKtNwr5QQpz5PGojodaSQ2QPHLSebHblu9i6DvCsuoWdsYxVhnv BixYiLFAZuij5wwPO2U9k9YJvApvP4tAuov0zuUxvpNVSxQuUjmwHsVx20GPcVAZXh vd9MxBfoVnVO8m7t0v7d/7nh1GXHkct9DC1GqEnoZcPAMiPx0aeshV59AcL/sWFI0W qv9bYcATm+71A==
Date: Sun, 31 Jan 2016 08:51:31 -0800
From: Andrew Ayer <agwa@andrewayer.name>
To: Hugo Landau <hlandau@devever.net>
Message-Id: <20160131085131.09222b0bd9e64592b75a12f1@andrewayer.name>
In-Reply-To: <20160131084003.GA26421@andover>
References: <20160131033925.GA29713@andover> <20160130212624.d28caed07b79d3ccb0c24b39@andrewayer.name> <20160131084003.GA26421@andover>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/Nn1fnjCkx2qZjqdprWvCouxoOtY>
Cc: acme@ietf.org
Subject: Re: [Acme] Directory metadata; wildcard support; conditional authz creation
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: Sun, 31 Jan 2016 16:51:34 -0000

On Sun, 31 Jan 2016 08:40:03 +0000
Hugo Landau <hlandau@devever.net> wrote:

> You misunderstand, perhaps I should clarify the wording; the server
> never tells. You don't get to know the random subdomains it requests.
> This ensures that the wildcard exists and is under control.
>
> Adding a requirement for base domain control would be fine but I don't
> see the need.

Ohhh, I see.  Yes, I misunderstood.  That seems secure and I agree the
base domain doesn't need to be validated with that scheme.

Perhaps the "hostname" field I proposed could support wildcards.  If the
server sends the client a challenge with a wildcard in the hostname,
the client would need to be prepared to respond to the challenge on any
hostname matching the wildcard.  The CA can choose whether to send
a challenge for "*.example.com" or just "example.com" when validating a
wildcard authz for "*.example.com".

That said, it seems like it might be hard for the client to complete
the challenge when it doesn't know the exact hostnames. Apache and nginx
support wildcards for matching virtual hosts, but do other web servers?
DNS only supports wildcards in the left-most label, so there's no way to
provision a TXT record for _acme-challenge.*.example.com unless you have
a fancy DNS server.  (Although I don't think this scheme is needed with
DNS - I don't think there's a likely scenario where someone could set a
TXT record for _acme-challenge.example.com, but not for _acme-challenge
in any arbitrary sub-domain of example.com.)

-- Andrew


From nobody Sun Jan 31 11:01:26 2016
Return-Path: <acme@ml.shredzone.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 B1C221B2BDA for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 11:01:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.099
X-Spam-Level: *
X-Spam-Status: No, score=1.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MIME_8BIT_HEADER=0.3, 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 gjUSjhOXY1m2 for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 11:01:23 -0800 (PST)
Received: from arrietty.shredzone.net (arrietty.shredzone.net [213.133.102.195]) (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 04BBD1B2BD8 for <acme@ietf.org>; Sun, 31 Jan 2016 11:01:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=shredzone.net; s=dkim_1;  h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=iB4UrouBX/Q2xAq9aP1hSxsB/O57zRQp8V0EB4uJHLc=;  b=le49lqNIt+1PfdcuE7tV1fmuYK7Ay37D4W7FSOY4ZP2gr0CgtIrKpKS/CUsS9BVXyAlf4b06MqOUE3Ph7X66xdFTZT5/+z3BQw+YHztQYh2dPCCv5Sz+mAls8nHZH70x8MfPaQeDnJDsqjNcxqHdLWT8Y9i5xEZvzl4Szd/foN8=;
Received: from static-87-79-75-184.netcologne.de ([87.79.75.184] helo=ronja.home) by arrietty.shredzone.net with esmtpsa (UNKNOWN:AES128-SHA:128) (Exim 4.72) (envelope-from <acme@ml.shredzone.de>) id 1aPxFP-0004n9-Uq for acme@ietf.org; Sun, 31 Jan 2016 20:01:20 +0100
To: acme@ietf.org
References: <20160131033925.GA29713@andover> <20160130212624.d28caed07b79d3ccb0c24b39@andrewayer.name> <20160131084003.GA26421@andover> <20160131085131.09222b0bd9e64592b75a12f1@andrewayer.name>
From: =?UTF-8?Q?Richard_K=c3=b6rber?= <acme@ml.shredzone.de>
Message-ID: <56AE59FF.9040006@ml.shredzone.de>
Date: Sun, 31 Jan 2016 20:01:19 +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: <20160131085131.09222b0bd9e64592b75a12f1@andrewayer.name>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/8BgR2thgILhM76AzClJXApRBJiA>
Subject: Re: [Acme] Directory metadata; wildcard support; conditional authz creation
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: Sun, 31 Jan 2016 19:01:24 -0000

> Perhaps the "hostname" field I proposed could support wildcards.  If the
> server sends the client a challenge with a wildcard in the hostname,
> the client would need to be prepared to respond to the challenge on any
> hostname matching the wildcard.  The CA can choose whether to send
> a challenge for "*.example.com" or just "example.com" when validating a
> wildcard authz for "*.example.com".

I couldn't think of a situation where someone owns and controls a domain, but
would be unable to control any of the subdomains.

So, wouldn't it be sufficient that for a wildcard domain (*.example.com), only
the domain itself (example.com) is challenged?

-- 
Richard Körber


From nobody Sun Jan 31 12:37:26 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 8F3621B2CDF for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 12:37:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.702
X-Spam-Level: 
X-Spam-Status: No, score=-1.702 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-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 CGJvr5fiO8NP for <acme@ietfa.amsl.com>; Sun, 31 Jan 2016 12:37:23 -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 823331B2CD7 for <acme@ietf.org>; Sun, 31 Jan 2016 12:37:23 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id BC51C1C60D; Sun, 31 Jan 2016 21:37:21 +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=1454272641; x=1472462002; bh=u9yK tNwmhr6nM1AO3BXQzdQDBrtQP0GEJi+ziJhnEwU=; b=Mt7E5mRT4quxO19sFnl4 f0sZD0BoVzM/sKjuA3D8zgrVkTdf+jDbMDvFMpWGWAZIjxIiMXOEbzVk7i9pYs5X oilTmH+hSAdHVm4m8QYxWiywm3QGxO2Qf99Ddlsu8WSn6vCzSfLFYp0kp+4Xk6Uo UxKrVGQQf8xmcGiTFDaqDlIEc/xbY37XqE+D3OdGWdTNaU740Y49hK1wv9vJUnRj 5FzaXlJ+DCfuIVo6gtmNvPfZSv3zFSWI0tA1QMi3AxBYJuvxBZRwzlUkE7MyLkL9 72JkUW1r2oI6WM2X6C9VC1OA+u8Cemk3c2hfHZlPRztLhCaqBQVtmguFaG0KpU/W wg==
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 xLxw2p07g8wq; Sun, 31 Jan 2016 21:37:21 +0100 (CET)
Received: from andover (localhost [127.0.0.1]) by umbriel.devever.net (Postfix) with ESMTP id 842A11C60B; Sun, 31 Jan 2016 21:37:21 +0100 (CET)
Date: Sun, 31 Jan 2016 20:37:21 +0000
From: Hugo Landau <hlandau@devever.net>
To: Richard =?iso-8859-1?Q?K=F6rber?= <acme@ml.shredzone.de>
Message-ID: <20160131203721.GA8485@andover>
References: <20160131033925.GA29713@andover> <20160130212624.d28caed07b79d3ccb0c24b39@andrewayer.name> <20160131084003.GA26421@andover> <20160131085131.09222b0bd9e64592b75a12f1@andrewayer.name> <56AE59FF.9040006@ml.shredzone.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <56AE59FF.9040006@ml.shredzone.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/Lsx80JngVt2UYvngj-0GUe9cbC4>
Cc: acme@ietf.org
Subject: Re: [Acme] Directory metadata; wildcard support; conditional authz creation
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: Sun, 31 Jan 2016 20:37:25 -0000

By this logic it should be allowed to obtain a certificate for any
domain x.y.z.example.com. if you have an authorization for example.com.
That might be justifiable, but it's a big divergence from the current
design of the protocol.

I think given the current design of the protocol, it would be
inconsistent to allow wildcard domains to be created due to a base
domain authorization.

On Sun, Jan 31, 2016 at 08:01:19PM +0100, Richard Körber wrote:
> 
> > Perhaps the "hostname" field I proposed could support wildcards.  If the
> > server sends the client a challenge with a wildcard in the hostname,
> > the client would need to be prepared to respond to the challenge on any
> > hostname matching the wildcard.  The CA can choose whether to send
> > a challenge for "*.example.com" or just "example.com" when validating a
> > wildcard authz for "*.example.com".
> 
> I couldn't think of a situation where someone owns and controls a domain, but
> would be unable to control any of the subdomains.
> 
> So, wouldn't it be sufficient that for a wildcard domain (*.example.com), only
> the domain itself (example.com) is challenged?
> 
> -- 
> Richard Körber
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme

