Is there a way to get certs for multiple domains?
Preferably in one file.
I would like to replace the following certbot with this plugin:
certbot certonly --agree-tos -n --keep-until-expiring --email 'mail@example.com' --no-redirect --text --cert-name cert -d example.com -d www.example.com -d nextcloud.example.com -d '*.pages.example.com' --authenticator dns-godaddy --dns-godaddy-propagation-seconds 160 --dns-godaddy-credentials /run/secrets/nginx_cerbot_godaddy_credentials --server https://acme-v02.api.letsencrypt.org/directory
I tried adding multiple domains to the domain keyword but it didn't work.
I also added two domain keys to the acme block but then only the last one is used.
Is there a way to get certs for multiple domains? Preferably in one file.
I would like to replace the following certbot with this plugin:
certbot certonly --agree-tos -n --keep-until-expiring --email 'mail@example.com' --no-redirect --text --cert-name cert -d example.com -d www.example.com -d nextcloud.example.com -d '*.pages.example.com' --authenticator dns-godaddy --dns-godaddy-propagation-seconds 160 --dns-godaddy-credentials /run/secrets/nginx_cerbot_godaddy_credentials --server https://acme-v02.api.letsencrypt.org/directory
I tried adding multiple domains to the
domain
keyword but it didn't work. I also added twodomain
keys to the acme block but then only the last one is used.Here is my
Corefile
:If this is already possible the documentation could be improved. Thank you for your work on the plugin.