Re: [Acme] Short term certificates - two options

Yaron Sheffer <yaronf.ietf@gmail.com> Wed, 20 July 2016 15:40 UTC

Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BDF2D12D62F for <acme@ietfa.amsl.com>; Wed, 20 Jul 2016 08:40:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6HogFWZnBUUu for <acme@ietfa.amsl.com>; Wed, 20 Jul 2016 08:40:11 -0700 (PDT)
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 EF41C12B028 for <acme@ietf.org>; Wed, 20 Jul 2016 08:40:10 -0700 (PDT)
Received: by mail-wm0-x22e.google.com with SMTP id q128so22926792wma.1 for <acme@ietf.org>; Wed, 20 Jul 2016 08:40:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=+xco75dArAle9E7CWZEDV9Lx8KilrMfD0G7cB8ooYJg=; b=TRStBjLN1fWLZKW2V8riJY+25myzOuD+xoZ48XY8v18hqIlYYPm1jM3wl9RVHIKfNm V4HDxMMk1XT/a8jZgdnTzVb71AOhvgXAgJ1cWk6meTZ5tTl0EsEDMssV+wqLktH+cPM+ RUyF8hqAgHr0VcI32DqkmpuiRhR7oaskwTvBDCM+f2rWr+hDHMFEAgbRPbABcl6X57Rf OR+txsa4bGhxeR1lWGlJhiTQap86seUEOBVPODnI2wQXdpRSl++fHACArQGqN+VWs79l OUvjt6Pg3tN1solD+mM8GeABBs9R2AlNmcBG+xoDBiyVegOFSHsDGj8PQ+OZXWRzzgXW FOGQ==
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:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=+xco75dArAle9E7CWZEDV9Lx8KilrMfD0G7cB8ooYJg=; b=f0WDGHo9EBorbihGtFWyAOsy8ZL879VzUfv7oubFCpbgnacwSqQxKf6J0SWn3gUq2t UYnnf1nRBaFnjaIe3DV3OWjTOa5n26SuAYI9aXbaa8cdY0kL5d5L9dLwEG4BRlxFI+nd mxLdN5poWgR42k3CIilrXGwMGEu1P2oVXb0MIobw77d2v9XFeCbNWo70lTAHXs4qPNrk 84O81rRfoAbLV6oKnl9NqUb5wfoiDcKP2saeQKLH4HxoYPU/vcs3Nilfo8LoCDUyGyym 14HChv+bUBvU3xvFTpiNOX/av2SvDPqq9jgA5K0925y/Mx5dQwh5Q+iUGxBE3HaXwWQk zSgw==
X-Gm-Message-State: ALyK8tK7Q/mxtkzfQjliicAlsCpX9q3fl3JuWu1dL0wISJwsQpG9QY0DtAxDL19yYaWYyQ==
X-Received: by 10.28.173.205 with SMTP id w196mr11576292wme.86.1469029209247; Wed, 20 Jul 2016 08:40:09 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:160:e99d:fe39:137d:bd46? ([2001:67c:370:160:e99d:fe39:137d:bd46]) by smtp.gmail.com with ESMTPSA id x3sm1848594wjf.14.2016.07.20.08.40.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 08:40:08 -0700 (PDT)
To: Niklas Keller <me@kelunik.com>
References: <826ed7ae-9358-a3fc-f816-bc5074395f99@gmail.com> <CANUQDCgj0qN0KCbSUqiFzh6nqGC7P5eZrcm1XHpZqGN9u9+h_w@mail.gmail.com>
From: Yaron Sheffer <yaronf.ietf@gmail.com>
Message-ID: <f1f870e9-722e-d3e3-08bb-22b9ca971ad5@gmail.com>
Date: Wed, 20 Jul 2016 17:40:07 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CANUQDCgj0qN0KCbSUqiFzh6nqGC7P5eZrcm1XHpZqGN9u9+h_w@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/2b0s7lYjONDwPaBAx8mNehiYjNc>
Cc: ACME WG <acme@ietf.org>
Subject: Re: [Acme] Short term certificates - two options
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 15:40:13 -0000

On 20/07/16 14:43, Niklas Keller wrote:
> 2016-07-20 11:51 GMT+02:00 Yaron Sheffer <yaronf.ietf@gmail.com
> <mailto:yaronf.ietf@gmail.com>>:
>
>     Hi,
>
>     At the LURK BoF this week there was some interest in having a solution
>     where a domain owner can delegate to some other entity (which we will
>     call "the TLS server") the authority to terminate TLS connections on its
>     behalf, using short-term certificates. These certificates allow the
>     domain owner to terminate the TLS server's authorization when necessary,
>     without requiring certificate revocation - which we know doesn't work
>     reliably. The certificates' validity is measured in days, e.g. 3 days.
>
>     First, I would like to request the working group to adopt short-term
>     certificates as a charter item.
>
>     Second, I would like the group's advice in choosing between two very
>     different approaches to this problem.
>
>
> You can already delegate HTTP-01 by redirecting
> `/.well-known/acme-challenge/*` (maybe even just for unknown tokens).
>
> Also, for short-lived certificates, there's already the `notAfter` field
> when filing applications for a certificate:
>
> https://ietf-wg-acme.github.io/acme/#rfc.section.6.1.3
>
> Regards, Niklas

In fact delegating HTTP-01 is a big security issue in the context of 
rogue CDNs (or CDN employees). Please see 
https://tools.ietf.org/html/draft-sheffer-lurk-cert-delegation-00#section-4.3

Thanks,
	Yaron