[Acme] Wildcard certificate via http-01

Hugo Leisink <hugo@leisink.net> Wed, 24 January 2018 21:42 UTC

Return-Path: <hugo@leisink.net>
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 39296129966 for <acme@ietfa.amsl.com>; Wed, 24 Jan 2018 13:42:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
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 rV8kjL_EbyzK for <acme@ietfa.amsl.com>; Wed, 24 Jan 2018 13:41:58 -0800 (PST)
Received: from smtpq5.tb.mail.iss.as9143.net (smtpq5.tb.mail.iss.as9143.net [212.54.42.168]) (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 D1C6F12D0C3 for <acme@ietf.org>; Wed, 24 Jan 2018 13:41:57 -0800 (PST)
Received: from [212.54.42.135] (helo=smtp11.tb.mail.iss.as9143.net) by smtpq5.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from <hugo@leisink.net>) id 1eeSnr-0003Q5-6b for acme@ietf.org; Wed, 24 Jan 2018 22:41:55 +0100
Received: from 546a4f1f.cm-12-3b.dynamic.ziggo.nl ([84.106.79.31] helo=[192.168.0.11]) by smtp11.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from <hugo@leisink.net>) id 1eeSnr-0001Y6-4F for acme@ietf.org; Wed, 24 Jan 2018 22:41:55 +0100
To: acme@ietf.org
From: Hugo Leisink <hugo@leisink.net>
Message-ID: <95fc4d5d-8f5f-7f5a-0e36-d1e4b45178b8@leisink.net>
Date: Wed, 24 Jan 2018 22:42:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-SourceIP: 84.106.79.31
X-Ziggo-spambar: /
X-Ziggo-spamscore: 0.0
X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=QZJIQPTv c=1 sm=1 tr=0 a=3c37YVrUqD63QaKbC7vMpg==:17 a=IkcTkHD0fZMA:10 a=RgaUWeydRksA:10 a=9jmlPmk0AAAA:8 a=n4KSzSuFX6Yk3X_CQbcA:9 a=QEXdDO2ut3YA:10 a=SgxwDoEmwWXplCpI_pOv:22 none
X-Ziggo-Spam-Status: No
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/m_B85N6Q7-rT1vD7c3AWolWN3OM>
X-Mailman-Approved-At: Wed, 24 Jan 2018 13:58:04 -0800
Subject: [Acme] Wildcard certificate via http-01
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.22
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, 24 Jan 2018 21:42:48 -0000

Hi,

While implementing ACMEv2 for Let's Encrypt, I noticed that wildcard
certificates can only be obtained via dns-01. Because it's not possible
for me to do that automatically, I proposed them a way to do it via
http-01. After they said that 'it might work', they told me to contact
you about this.

My idea is that when a client requests a wildcard certificate
(*.domain.tld), the CA server offers a challenge and requests that
challenge via HTTP while using a random hostname (<long random
string>.domain.tld). Because only a webserver with a website configured
for *.domain.tld and with a properly configured DNS can respond to this
challenge, it's enough proof that the request for a wildcard certificate
is valid. Perhaps the CA server can do multiple requests with a new
randomly chosen hostname for more proof. After all, they will all end up
at the same website.

The discussion about this at the Let's Encrypt forum can be found here:
https://community.letsencrypt.org/t/wildcard-certificates-via-http-01/51223

I really like to hear your thoughts about this.

Kind regards,
Hugo Leisink