Obtain this error:
Attempting to renew cert (server3.example.org) from /etc/letsencrypt/renewal/server3.example.org.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Select the webroot for server3.example.org:
Choices: ['Enter a new webroot', '/var/www/letsencrypt'](You can set this with the --webroot-path flag). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/server3.example.org/fullchain.pem (failure)
On my virtualhost so I've set the webroot-path:
...
Alias /.well-known/acme-challenge/ /var/www/letsencrypt/.well-known/acme-challenge/
<Directory "/var/www/letsencrypt/.well-known/acme-challenge/">
Options None
AllowOverride None
ForceType text/plain
RedirectMatch 404 "^(?!/\.well-known/acme-challenge/[\w-]{43}$)"
</Directory>
And running certbot:
certbot certonly --cert-name server3.example.org --webroot -w /var/www/letsencrypt --email master@example.org --expand -d server3.example.org -d www.server3.example.org -d example.john.eu -d www.example.john.eu -d example.doe.org -d www.example.doe.org