Hi,
I saw this thread:
but I'm confused how to solve issue on all my domains.
OS: Ubuntu 18.04 LTS
Certbot installed from repository from certbot site.
Certbot version: certbot 0.31.0
I issued SSL first time with next command:
certbot certonly --webroot -w "my_webroot_path" --non-interactive --agree-tos --email my_email - d my_domain.com -d www.my_domain.com
This issued SSL without problems.
When I run:
certbot renew --dry-run
I get error:
Cleaning up challenges
Attempting to renew cert (my_domain.com) from /etc/letsencrypt/renewal/my_domain.com.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Select the webroot for my_domain.com:
Choices: ['Enter a new webroot', 'my_webroot_path']
(You can set this with the --webroot-path flag). Skipping.
My renew.conf file looks like:
# renew_before_expiry = 30 days
version = 0.31.0
archive_dir = /etc/letsencrypt/archive/my_domain.com
cert = /etc/letsencrypt/live/my_domain.com/cert.pem
privkey = /etc/letsencrypt/live/my_domain.com/privkey.pem
chain = /etc/letsencrypt/live/my_domain.com/chain.pem
fullchain = /etc/letsencrypt/live/my_domain.com/fullchain.pem
# Options used in the renewal process
[renewalparams]
account = fb0c829331a914588fa1b4fd3b980aea
authenticator = webroot
webroot_path = my_webroot_path,
server = https://acme-v02.api.letsencrypt.org/directory
[[webroot_map]]
www.my_domain.com = my_webroot_path
If I remove the comma from webroot_path = my_webroot_path,
renew dry-run works normally.
Or if I don't touch comma and only add:
[[webroot_map]]
www.my_domain.com = my_webroot_path
my_domain.com = my_webroot_path
renew also works
Is this some bug in certbot?
How can I solve all my domains, I have about 5-6 servers with several SSL on each one.
Thank you.