Re: [Acme] Want client-defined callback port

Bruce Gaya <gaya@apple.com> Thu, 23 April 2015 17:12 UTC

Return-Path: <gaya@apple.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 E435D1ACDB6 for <acme@ietfa.amsl.com>; Thu, 23 Apr 2015 10:12:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.1
X-Spam-Level:
X-Spam-Status: No, score=-4.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, 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 P6-ysPirhdFv for <acme@ietfa.amsl.com>; Thu, 23 Apr 2015 10:12:23 -0700 (PDT)
Received: from mail-in2.apple.com (mail-out2.apple.com [17.151.62.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF47B1ACDB4 for <acme@ietf.org>; Thu, 23 Apr 2015 10:12:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1429809143; x=2293722743; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eoLPi/Aki/7mRn0F0LsnpoNB8oGw/HoMxx+L40xpZ6o=; b=PnwZ26Oz3ehfs+LObcbRi28gGmRFHIOQPuL6bGGOAcF8m1V8puqQu0fV/eQOBSC1 S58ZKnrgxGFGiVP+VHKagmycg956hDFFUV87fh2f84lv2gBzqGxjNWIV5+ZKmnMT zipIcGaZCwieCgOJLb8gyOOcqi0/x0rd4wObs33AKxlTnErRch2M5B1zvoK01lzZ vp/aZGz/BouerzGXXQwfiTbj9Zg00cfU8ikSUwvdACGx9oB7/5DgiBjx8SXVkxq3 KURsfCZ4foXgg4Tv7LtQWGNcqf1AUagqLb4M9B+fGRZnrSk7n9C0SEjppaWrszyu L2WD2LU/nk7hBc2CeXJoHw==;
Received: from relay2.apple.com (relay2.apple.com [17.128.113.67]) by mail-in2.apple.com (Apple Secure Mail Relay) with SMTP id E1.BC.19360.7F729355; Thu, 23 Apr 2015 10:12:23 -0700 (PDT)
X-AuditID: 11973e11-f79186d000004ba0-4c-553927f7c586
Received: from marigold.apple.com (marigold.apple.com [17.128.115.132]) (using TLS with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by relay2.apple.com (Apple SCV relay) with SMTP id 08.A3.08671.8E729355; Thu, 23 Apr 2015 10:12:08 -0700 (PDT)
Received: from cc0102a-dhcp146.apple.com ([17.212.158.146]) by marigold.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) with ESMTPSA id <0NN900L0JRSMEO20@marigold.apple.com> for acme@ietf.org; Thu, 23 Apr 2015 10:12:23 -0700 (PDT)
MIME-version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Content-type: multipart/alternative; boundary="Apple-Mail=_C7FB5E00-7CA1-4CD2-9374-0FE9BD336C91"
From: Bruce Gaya <gaya@apple.com>
In-reply-to: <CAL02cgTxSOa16-kkEpOZ91yZfKFuSmXXZwyMVD1yYvBe2eP1hg@mail.gmail.com>
Date: Thu, 23 Apr 2015 10:12:22 -0700
Message-id: <4D946DE0-094F-46E8-A5DA-DD1B643AD41C@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> <CAL02cgSDk0TNYusEkXA3onmqF7=kaAWhHjpW8WjbiqxgQMdQwQ@mail.gmail.com> <555F6C74-2416-4893-BDEA-A3C2E55A6D57@apple.com> <16985cf1c8c444c48d328fa766ec5ff8@usma1ex-dag1mb2.msg.corp.akamai.com> <DE264105-7317-4343-BCEE-539A73D42544@apple.com> <CAL02cgTv5Zi4wP0gJPvcrty6N96pAaLRkCveyvMNfoyjQrrEyw@mail.gmail.com> <20150423023358.GW27613@eff.org> <CABkgnnXRoBuydMD2v6Jp5jwZRPEUKQKBqiFTfiK=Fs1KQKUzCg@mail.gmail.com> <CAL02cgTxSOa16-kkEpOZ91yZfKFuSmXXZwyMVD1yYvBe2eP1hg@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
X-Mailer: Apple Mail (2.2098)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsUi2FDorPtd3TLU4NcGcYtVzwMdGD2WLPnJ FMAYxWWTkpqTWZZapG+XwJXx684R1oI9MhVbDnQzNTDul+hi5OSQEDCR2LKxgR3CFpO4cG89 WxcjF4eQwF5GiS0Xz7PBFH16OpMdIjGJSeLW7PNMEM40JolvD/ezgFQJC5hKHHq3jBHE5hXQ k5hzfQFYN7NAksTia/+ZQGw2AUWJ6a0vwGxOgWCJlpn7wepZBFQlns2fywwylFlgJ6NEZ9dW dohBNhJHnmxggdj2mlXi+aM9YNtEBOQlTl9/wNrFyAF0n6zE161yIDUSAhPYJPb9amedwCg0 C8khs5AcAmFrSyxb+Jp5FlA7s4COxOSFjBBheYntb+cww5R8PH+EaQEj2ypGodzEzBzdzDwj vcSCgpxUveT83E2MoMCf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me/2HYGqllnWgCR0kSPsABAAQ1-8-4>
Cc: "Salz, Rich" <rsalz@akamai.com>, Peter Eckersley <pde@eff.org>, Martin Thomson <martin.thomson@gmail.com>, "acme@ietf.org" <acme@ietf.org>, Nico Williams <nico@cryptonector.com>
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: Thu, 23 Apr 2015 17:12:25 -0000

> On 23 Apr 2015, at 06:18, Richard Barnes <rlb@ipv.sx> wrote:
> 
> 
> 
> On Thu, Apr 23, 2015 at 12:09 AM, Martin Thomson <martin.thomson@gmail.com <mailto:martin.thomson@gmail.com>> wrote:
> On 22 April 2015 at 19:33, Peter Eckersley <pde@eff.org <mailto:pde@eff.org>> wrote:
> > Perhaps those policies can be stored out of band, or perhaps we can add
> > a separate REST API endpoint where clients ask what ports the server
> > considers acceptable for DV Challenges.
> 
> 
> Or just pick port 100 (or another that isn't already taken) and say
> 443 or _that_.  I can't imagine you would need to have many numbers
> before you found one that was free.
> 
> This seems like a simpler and safer option to me.  Register an ACME port and use that if HTTPS isn't feasible.
> 
> Bruce, would that meet your use case?  That is, in your scenario, can the CalDAV service open a new (privileged) port, or does the ACME verification have to happen on the CalDAV port?
> 

Any port that is currently unused on the client is fine with me.  (CalDAV was just as example.)

Bruce