You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(b) Using the global API key
You can get your global API key from your Cloudflare profile page, under the API tokens section. Click "View" next to Global API key, verify your Cloudflare password, and it will be revealed to you. It is a 32-character hexadecimal string that you must provide to acme.sh by setting the environment variable CF_Key to its value. You must also set CF_Email to the email address that is associated with your Cloudflare account; this is the email address you enter when logging in to Cloudflare. For example:
How does this work? I checked 'acme.sh' and looked for (ctrl+w 'CF_Key') but there's no mention of it? Where do i set this 'environment variable' ?
NVM. I found it in dns_cf.sh this could be clearer in the guide. To me this wasn't clear at all.
Yet it doesn't work? cat dns_cf.sh (no these aren't the real keys).
i tried:
Options:
CF_Key 8f3528153273812312231231231726381723123123f
CF_Email [email protected]
and:
Options:
CF_Key "8123123123123f3528153273818726381723123123f"
CF_Email "[email protected]"
and:
CF_Key="8123123123123f3528153273818726381723123123f"
CF_Email= "[email protected]"
neither works?
And output :
[Wed Jan 22 11:53:23 CET 2025] You didn't specify a Cloudflare api key and email yet.
[Wed Jan 22 11:53:23 CET 2025] You can get yours from here https://dash.cloudflare.com/profile.
[Wed Jan 22 11:53:23 CET 2025] Error adding TXT record to domain: _acme-challenge.my.domain.eu
[Wed Jan 22 11:53:23 CET 2025] Please add '--debug' or '--log' to see more information.
[Wed Jan 22 11:53:23 CET 2025] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
The command that i ran :
./acme.sh --issue --dns dns_cf -d my.domain.eu -d '*.domain.eu'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, i searched for 'CF_Key' but i have no idea what to do with it?
I'm trying to do : https://github.com/hungnguyenm/edgemax-acme
Following this guide : https://github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_cf
it mentions:
https://github.com/acmesh-official/acme.sh/wiki/dnsapi#b-using-the-global-api-key
(b) Using the global API key
You can get your global API key from your Cloudflare profile page, under the API tokens section. Click "View" next to Global API key, verify your Cloudflare password, and it will be revealed to you. It is a 32-character hexadecimal string that you must provide to acme.sh by setting the environment variable CF_Key to its value. You must also set CF_Email to the email address that is associated with your Cloudflare account; this is the email address you enter when logging in to Cloudflare. For example:
export CF_Key="763eac4f1bcebd8b5c95e9fc50d010b4"
export CF_Email="[email protected]"
How does this work? I checked 'acme.sh' and looked for (ctrl+w 'CF_Key') but there's no mention of it? Where do i set this 'environment variable' ?
NVM. I found it in dns_cf.sh this could be clearer in the guide. To me this wasn't clear at all.
Yet it doesn't work? cat dns_cf.sh (no these aren't the real keys).
i tried:
Options:
CF_Key 8f3528153273812312231231231726381723123123f
CF_Email [email protected]
and:
Options:
CF_Key "8123123123123f3528153273818726381723123123f"
CF_Email "[email protected]"
and:
CF_Key="8123123123123f3528153273818726381723123123f"
CF_Email= "[email protected]"
neither works?
And output :
[Wed Jan 22 11:53:23 CET 2025] You didn't specify a Cloudflare api key and email yet.
[Wed Jan 22 11:53:23 CET 2025] You can get yours from here https://dash.cloudflare.com/profile.
[Wed Jan 22 11:53:23 CET 2025] Error adding TXT record to domain: _acme-challenge.my.domain.eu
[Wed Jan 22 11:53:23 CET 2025] Please add '--debug' or '--log' to see more information.
[Wed Jan 22 11:53:23 CET 2025] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
The command that i ran :
./acme.sh --issue --dns dns_cf -d my.domain.eu -d '*.domain.eu'
I honestly don't know what i'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions