Re: [Acme] Revoking certificates issued by an unknown ACME server

Martin Thomson <martin.thomson@gmail.com> Fri, 15 January 2016 02:55 UTC

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