this post was submitted on 04 Apr 2025
876 points (99.2% liked)

Programmer Humor

22232 readers
601 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] rbos@lemmy.ca 2 points 1 day ago (1 children)

Yeah. For wildcard DNS from letsencrypt, you can't do HTTP validation, only DNS, which involves creating a TXT record.

Your DNS provider needs to run an ACME server, which runs an API that'll add the required TXT records on request.

As I understand it.

[โ€“] elvith@feddit.org 1 points 19 hours ago

The DNS provider needs to provide an API, but not an ACME server.

Your server contacts Lets Encrypt and wants a certificate - say for homeserver.example.com. It tells Let's Encrypt to use DNS based authentication. Let's encrypt answers with a challenge code, that you now publish as a txt record with a defined name via your providers API for this (sub)domain. Let's encrypt then checks the TXT record and if it finds the challenge there, it sends you the certificate.