I’m using a certificate obtained with the command
certbot certonly --webroot
for multiple domain names hosted on my Debian server, each with a different document root.
During the request process, I specified all the domain names and the document roots for the .well-known directories.
My first renewal is due in a few days, and out of curiosity I peeked at the letsencrypt configuration files. I can’t find where the document roots are specified, and I’m wondering how certbot will handle the ACME autentication without this information.
Also, if I start hosting a new domain, is there a way to repeat the certificate request with the exact same settings I put in the interactive GUI the last time I ran it, but adding a new FQDN and document root, without repeating the whole interactive procedure? I’m guessing (hoping?) that certbot automatically saves the configuration somewhere.