[Acme] Re: Interactions between HTTPS RRs (rfc9460) and HTTP-01 DV

Erik Nygren <erik+ietf@nygren.org> Tue, 15 April 2025 22:50 UTC

Return-Path: <nygren@gmail.com>
X-Original-To: acme@mail2.ietf.org
Delivered-To: acme@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 3E3F01C9C1AF for <acme@mail2.ietf.org>; Tue, 15 Apr 2025 15:50:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level:
X-Spam-Status: No, score=-1.893 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KwqGVWZgojJk for <acme@mail2.ietf.org>; Tue, 15 Apr 2025 15:50:22 -0700 (PDT)
Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 17A861C9C1A8 for <acme@ietf.org>; Tue, 15 Apr 2025 15:50:22 -0700 (PDT)
Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-548409cd2a8so7998187e87.3 for <acme@ietf.org>; Tue, 15 Apr 2025 15:50:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744757421; x=1745362221; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EvOt/OmJYo5JRya8SNj24mnChXgLcVsADnQWOyzvnoU=; b=w+PcIhvCeva1EBAWYBahvqAw0ua3XMUTvPlqU8stc6rW5KEt739gcEnP35EIjaBwLl /Pxec9ElbWGCwTk4J3+/avFGREc1E4g2n8IVKKfX4nqTZQVP8VbDxCv089TjXJrnt9ff dkzNtaU/OpzcdXW8VXTazibWqC94k76mgHIRlRlkRu5tp4WxY7QvH2BZqsUDt95MqhJ/ E7SdKummptmrH/7dCpU8hzzngf8316PbDdiBkmJdJhwfbHF1hjygM4mmd4Sao4zCPRGW 8gFv2XbnfVg50+l8en9IUGelJPjLrGVzVMRTRYck88bzOBKVcCuQxu9OYyZrWCBCvBi7 oyaQ==
X-Gm-Message-State: AOJu0Yw8wfrFvwR3UanlXThGIQlW0djwyun/1/Z4/Q3Z5miyhWoeugfi 8F1N+VJhwxmgvaS7aHdBrXNIvw1uE9k0AJ9GK1UuBa+IHgbLDunIqg2ZpYCJy0Q4G1eTUPUqhz+ JDgEHwk9FG5U3ks+yp0puYt//k/HSdw==
X-Gm-Gg: ASbGncvh9q6iDLD9Cd+ecx3Bd7/hW8In0QsTa3EezzJJuoWVw2JMKLu9SNS5alc86M2 tjmhPz1PKv5NNP0LZvJvqwkDO+ofQV7bM4mVq/btEg1H1GGy1RDcM8wfA0slmDSgiKmSuMnVVdY 4tQuQYBYxur1R02uvsPzKxMRjp74AqBwQClxgU+d6DkpuAB8Rp9/1KgFXT1/3me8fO
X-Google-Smtp-Source: AGHT+IE+WdLdL9vPbGM1DwVlE1F0vsSgGpFm/ezwFBVLrcsiR7HMBzuZn9ywMOmE32OIZ3LejSi5QaGZ1Aemem2IS6w=
X-Received: by 2002:a05:6512:10ce:b0:54a:cbfb:b62e with SMTP id 2adb3069b0e04-54d60562141mr220988e87.35.1744757420390; Tue, 15 Apr 2025 15:50:20 -0700 (PDT)
MIME-Version: 1.0
References: <CAKC-DJiDx7onEahH7KcYHykzf7iqGbOgjKD45BNHcE+AmHgoWg@mail.gmail.com> <22779.1744755025@obiwan.sandelman.ca>
In-Reply-To: <22779.1744755025@obiwan.sandelman.ca>
From: Erik Nygren <erik+ietf@nygren.org>
Date: Tue, 15 Apr 2025 18:50:08 -0400
X-Gm-Features: ATxdqUEI-oc6sAYSX0HbbNEzEga6kqI1WAzeVpsD4ugszkieu4OZTR021CG1OxM
Message-ID: <CAKC-DJhaAiepBjTyANko7v5cq0WxtUYVBnOAoFnQnwx-_sZYCw@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Content-Type: multipart/alternative; boundary="0000000000004304a80632d8fe9f"
Message-ID-Hash: L67WHMNUHOVJXU5AAMZWYVUCZTSZXB24
X-Message-ID-Hash: L67WHMNUHOVJXU5AAMZWYVUCZTSZXB24
X-MailFrom: nygren@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-acme.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: IETF ACME <acme@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Acme] Re: Interactions between HTTPS RRs (rfc9460) and HTTP-01 DV
List-Id: Automated Certificate Management Environment <acme.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/hNWxjQAlfLOctMeS2XztE2ogP1I>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Owner: <mailto:acme-owner@ietf.org>
List-Post: <mailto:acme@ietf.org>
List-Subscribe: <mailto:acme-join@ietf.org>
List-Unsubscribe: <mailto:acme-leave@ietf.org>

Thanks.  I went ahead and filed an errata for this.

    Erik


On Tue, Apr 15, 2025 at 6:10 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> Erik Nygren <erik+ietf@nygren.org> wrote:
>     > One of my colleagues recently pointed out a potential interaction
> between
>     > HTTPS RRs (RFC 9460) as it relates to ACME and HTTP-01 DV.  If a
> hostname
>     > get an HTTPS RR into DNS prior to getting a cert validated, then
> there
>     > would be a problem if the ACME client resolved the HTTPS RR and
>     > auto-upgraded the http:// URI to https as part of HTTP-01 DV.
> Since a cert
>     > won't exist yet this would fail.
>
> That seems like a bad thing for an ACME server to do.
> It's an http-01 challenge, not an https-01 challenge.
> It shouldn't be updating.  ACME servers doing dns-01 challenges already
> take
> special care to avoid caching, so they should also pay attention to ignore
> HTTPS RRs
>
>     > How would we want to clarify this?  It's probably too big for an
> errata for
>     > RFC 8555 but annoying to have to have a draft just to clarify all on
> its
>     > own.  If there are plans to do an rfc8555bis (or anything else
> Updating
>     > rfc8555 for HTTP-01) this could be good to include in there.
>
>     > The reading of RFC 8555 section 8.3 is fairly clear that:
>
>     > Dereference the URL using an HTTP GET request. This request MUST be
> sent to
>     > TCP port 80 on the HTTP server
>
> I don't think it's too big for an errata.
> "When doing http-01 challenges, ignore HTTPS RRs"
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>
>