More than one domain with dietpi_letsencrypt

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Tarrasque
Posts: 10
Joined: Wed Jun 26, 2019 11:13 am

More than one domain with dietpi_letsencrypt

Post by Tarrasque »

Can I request for a certificate valid for 2 domains with dietpi_letsencrypt like I can with the regular Let's enctypt certbot utility?

If I can, in case I have already requested one (and thus my nginx default server configuration is already set for one), what will happen to my configuration? will it be overwritten? will a new server entry be added to the "default" file?
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: More than one domain with dietpi_letsencrypt

Post by MichaIng »

@Tarrasque
You can easily extend the list of domains for an existing certificate with the certbot binary: https://certbot.eff.org/docs/using.html ... rtificates

We have an open request to allow adding multiple and wildcard domains, but this is not a short-term task on my plan, so might take a while if not someone else finds some time to contribute.
But as dietpi-letsencrypt uses the regular certbot binary, one can adjust everything as above.
Post Reply