I get an error when renewing one of three certificates on a server:
$ sudo certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/mydomain.uk.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator dns-google, Installer None
Renewing an existing certificate
Performing the following challenges:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Attempting to renew cert (mydomain.uk) from /etc/letsencrypt/renewal/mydomain.uk.conf produced an unexpected error: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.. Skipping.
It goes on to successfully renew two other certificates, including another one on google cloud platform, in the same account and project, so it cannot be a problem with the credentials, can it?
The only real difference with this failing domain and the other google one which passes, is that this one is not a wildcard certificate.
The certificate was made in much the same way, apart from * being replaced with www.
I don’t know if this is relevant, but this domain did previously have another certbot certificate which was made without the dns-google plugin, but it was deleted with sudo certbot delete and there are no TXT records in the zone (I can’t remember how it was authenticated before, but I didn’t delete any).
File file /etc/letsencrypt/renewal/mydomain.uk.conf is exactly the same as the other dns-google one, apart from the domains. I even replaced the domain with the other using sed and there was no difference with diff. The other one is the same as well, apart from the domain and the cloudflare authenticator line.
The path to the credential files is also correctly expanded in those files, so I did not do anything further regarding that.
I have gone through everything many times and cannot find any problem on my side. Mysterious.
If I find out why this is happening I will give you an update, for the records. I’m planning on rebuilding this server soon, and hopefully it won’t happen again when I do. At least I don’t need to be using this problem domain in the immediate future.