How to fix certbot error: unrecognized arguments: --dns-cloudflare-credentials
Problem:
While trying to request a Let’s encrypt certificate using certbot with the DNS-01 challenge using the Cloudflare DNS provider, you see the following error message:
certbot_unrecognized_args.txt
certbot: error: unrecognized arguments: --dns-cloudflare-credentials /etc/letsencrypt/cloudflare-akamba.iniSolution
You need to install the cloudflare plugin for certbot using
install_certbot_cloudflare_plugin.sh
pip install -U certbot-dns-cloudflareAfter that, certbot will recognize the --dns-cloudflare-credentials command line option
Check out similar posts by category:
Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow