I started creating multiple certificates with certbot-auto (lastest version) using webroot authenticator. Creation and renewal works fine.
A few weeks ago, we also started to create wildcard certificates using route53 DNS plugin. This also works fine.
All is automated through scripts using a specific certbot.ini file for each challenge (one for webroot certs and one for dns certs)
But now comes the time to renew these wildcard certificates and with our standard renew script, we get the following error :
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
This is normal as renew is configured to use webroot and wildcards need Route53 dns challenge.
If I create a new renew script using the correct ini file (as I do when creating certs), it works.
The problem is that these scripts logically generates errors for certs not using the specified challenge.
Is there any way to tell certbot which challenge to use for each domain in a single script ?
Thank you for your help,