Re: [Acme] Want client-defined callback port

Richard Barnes <rlb@ipv.sx> Fri, 17 April 2015 12:08 UTC

Return-Path: <rlb@ipv.sx>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFFE91B2B87 for <acme@ietfa.amsl.com>; Fri, 17 Apr 2015 05:08:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 1ICLmi8nocLK for <acme@ietfa.amsl.com>; Fri, 17 Apr 2015 05:08:57 -0700 (PDT)
Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) (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 8D2301B2B85 for <acme@ietf.org>; Fri, 17 Apr 2015 05:08:57 -0700 (PDT)
Received: by lbbqq2 with SMTP id qq2so81033205lbb.3 for <acme@ietf.org>; Fri, 17 Apr 2015 05:08:56 -0700 (PDT)
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=+J4LFzPzdsxHRQ9STl4wPKusDRYZGl9+QSxtno3FIwg=; b=U8ZvK2XCq43oAjK+h2jdOknGWlrBvXd+SpxpRRjHDaK8c8PZIIA6jRpQh5CvbfnM4c mu9SNl+TMYGFPWz6F3pVKtKX8va1SnnMSlL1C1g/IHTBBRFvbPorrARHS1qnpZBVOwgP YB1fGUPAALu88VVOhpZ7l9DNSmxhT7PI01rKUQ/FwL9u/HSyjcYZfIXfxE57biJSSfRs e2isUiA0S0LFHS7Pq8bGm5wEz2VUAtc46p/QiqxBPfiKd/X80HwZMPtPTnFv/bAx31UE IoBJJtU+9yUjg0cHPMQhaEHExEfckAPXmiBgI99cwFmPzYx/FuMGIaWqAfnHfftgBSNm zJ9Q==
X-Gm-Message-State: ALoCoQlgfrdihhBMAUsY2LygghHtuHrqhtLQIA+KzB2HtSv9uoTiUMwMkvGEKSB1PvXLLUotX5NL
MIME-Version: 1.0
X-Received: by 10.152.203.201 with SMTP id ks9mr2898984lac.49.1429272535892; Fri, 17 Apr 2015 05:08:55 -0700 (PDT)
Received: by 10.25.214.162 with HTTP; Fri, 17 Apr 2015 05:08:55 -0700 (PDT)
In-Reply-To: <FF21526F-BA8D-4F54-AAE3-047632706668@apple.com>
References: <352DA5FE-AC6F-49A7-8F9F-70A74889204F@apple.com> <CAK3OfOjey4bk02qC_jj2c0AzZ54qnP=KAJnG=mXnO6A5gZ4m9g@mail.gmail.com> <CAL02cgQ94ijVrCM9SStcodRW+XSG2w5Zwu3+ny8HriDBnxjdtg@mail.gmail.com> <FF21526F-BA8D-4F54-AAE3-047632706668@apple.com>
Date: Fri, 17 Apr 2015 08:08:55 -0400
Message-ID: <CAL02cgSDk0TNYusEkXA3onmqF7=kaAWhHjpW8WjbiqxgQMdQwQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Bruce Gaya <gaya@apple.com>
Content-Type: multipart/alternative; boundary=001a1134668aca1e6f0513ea7126
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/Ngx8rBGCVhTBpEm0LGeaf2tRL70>
Cc: Nico Williams <nico@cryptonector.com>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Want client-defined callback port
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: <http://www.ietf.org/mail-archive/web/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, 17 Apr 2015 12:08:59 -0000

On Thu, Apr 16, 2015 at 10:50 PM, Bruce Gaya <gaya@apple.com> wrote:

>
> On 16 Apr 2015, at 18:57, Richard Barnes <rlb@ipv.sx> wrote:
>
> Right.  The property that we're trying to authenticate here is that the
> ACME client controls something associated with the hostname.  Ideally, this
> would be the person with write access to the zone file (cf. DNS
> challenges), but to facilitate validation, modern validation accepts
> validation of things like controlling an HTTP or HTTPS server.  It's less
> clear that it would be acceptable to validate that someone can provision a
> service on, say, port 36707.
>
> That said, the ability to do domain validation without service
> interruption seems like an important requirement.  It seems like the DNS
> challenge listed in the current draft meets that requirement.  We should be
> able to design the simpleHttps challenge so that you just have to to
> provision an extra file on an HTTPS server, not reconfigure it.
>
> --Richard
>
> On Thu, Apr 16, 2015 at 8:56 PM, Nico Williams <nico@cryptonector.com>
> wrote:
>
>> You have to be able to prevent unauthorized users from using this
>> alternative callback port to get certs with which to impersonate your
>> service.
>>
>
> The server (ACME client) computer may be shared between various
> administrators.  It may also have multiple DNS names and host multiple
> services.  If I use ACME to get a certificate for a non-web service, like a
> CalDAV service (default https port = 8443). I do not want to touch or
> reconfigure the web server or (whatever happens to be using port 443) just
> to get a cert for CalDAV.
>

This argument seems a little confused.  The certificates that CalDAV uses
are not "certs for CalDAV", they're DV certificates just like any others --
if you can get a cert for CalDAV, then you can use it for, say, HTTPS as
well.

>From that perspective, letting the CalDAV admin get a certificate for the
whole domain seems even a little reckless.  Likewise, requiring the CalDAV
admin to coordinate with the HTTPS admin, or someone else in the management
for the domain, doesn't seem unduly burdensome.

Now, if your concern is about CalDAV in particular, and not arbitrary
ports, you could define a validation mechanism that uses CalDAV explicitly,
so that a server could offer to validate that way.  That would address
another major gap in your proposal, namely what interaction should happen
over the client-selected port.

--Richard




>
> - Bruce
>
>