I am not using certbot
, only letsencrypt
command, and this other question/answer is so complex to something so simple: use --expand
in a letsencrypt
command.
The question here: how to use --expand
, what the correct syntax?
there are no example in the guide.
Supposing that domain1 is the main domain, and domain2 and domain3 was created with the initial command, letsencrypt --apache -d domanin1 -d www.domanin1 -d wiki.domanin1 -d domanin2 -d www.domanin2 -d domanin3
... What the correct syntax to add a domain4? 1, 2 ... or 5?
letsencrypt --apache --expand domanin4
letsencrypt --apache --expand -d domanin4
letsencrypt --expand -d domanin4
letsencrypt --apache --expand -d domanin1 -d domanin4
letsencrypt --apache --expand -d domanin1 -d www.domanin1 -d wiki.domanin1 -d domanin2 -d www.domanin2 -d domanin3 -d domain4
PS: need to repeat all domains and subdomains in the expansion?