Cant automate Renew + Cloudflare DNS

I’m having problems to automate (CRON) cert renews with domains on Cloudflare that need plugin.

Everytime that certbot updates, plugin need to be manually reinstalled:

Upgrading certbot-auto 0.34.2 to 0.35.1…
Replacing certbot-auto…
Creating virtual environment…
Installing Python packages…
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/centraldj.com.br.conf

Renewal configuration file /etc/letsencrypt/renewal/centraldj.com.br.conf (cert: centraldj.com.br) produced an unexpected error: ‘Namespace’ object has no attribute ‘dns_cloudflare_credentials’. Skipping.

No renewals were attempted.

Additionally, the following renewal configurations were invalid:
/etc/letsencrypt/renewal/centraldj.com.br.conf (parsefail)

How can I fix this? Last time I manually ran the command to install the plugin.

Thank you.

I'm afraid that's what you have to do. certbot-auto don't support dns plugins.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.