Skip to content

lego allows using subdomain DNS to obtain Let's Encrypt wildcard certificates #2196

Answered by aaro-n
aaro-n asked this question in Q&A
Discussion options

You must be logged in to vote

@ldez lego can now handle the issues I raised.

Subdomain issues required for Let's Encrypt DNS verification

Let's Encrypt can use _acme-challenge.example.com for verification, as well as _acme-challenge.letsencrypt.example.com and all.letsencrypt.example.com for verification. There are no special requirements for subdomains. Both _acme-challenge.letsencrypt and all.letsencrypt subdomains successfully obtained wildcard certificates.

Run lego with docker-compose

docker-compose.yaml
version: '3'
services:
    lego:
        image: goacme/lego
        restart: always
        container_name: lego
        working_dir: /home/www/letsencrypt
        environment:
        - LEGO_ACCOUNT_EMAIL=xxx@gm…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ldez
Comment options

Comment options

You must be logged in to vote
1 reply
@ldez
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by aaro-n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2195 on May 29, 2024 14:27.