My domain is: blamethe.network
I ran this command: kelvintr@kokochap-server:~$ sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials ./credentials.ini -d blamethe.network -d www.blamethe.network
It produced this output: Missing properties in credentials configuration file ./credentials.ini:
- Property “dns_cloudflare_email” not found (should be email address associated with Cloudflare account).*
- Property “dns_cloudflare_api_key” not found (should be API key for Cloudflare account, obtained from https://www.cloudflare.com/a/account/my-account).*
My web server is (include version): Apache 2.4.41
The operating system my web server runs on is (include version): Ubuntu 18.04
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No, direct CLI access.
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): Certbot 0.31.0
I want to use the zone API key for Cloudflare to give Certbot access to make requests to the Cloudflare API for the increased control and security. I provided the key in the credentials.ini file by writing “dns_cloudflare_api_token = api key here” as indicated by the official documentation (found here), but I receive an error that it’s explicitly looking for the email and global API key. I’ve tried adding the certbot repository to apt and running sudo apt update and sudo apt upgrade to no avail, as it says it’s up to date.
Any assistance for this issue would be absolutely appreciated! Thank you in advance for your time.