Clarify Cloudflare examples and add note about multiple Cloudflare accounts
parent
f23f7f4113
commit
0ba87839de
|
@ -208,6 +208,7 @@ Once you have the token, you must provide it to acme.sh by setting the environme
|
|||
You must also specify either the ID of a single zone (via `CF_Zone_ID`) or, if you are planning to issue ACME DNS challenges for multiple domains, the ID of the account to which all of the zones belong to (via `CF_Account_ID`). You can find the Zone ID and the Account ID on the right side of the "Overview" page of any zone. For example, if you have `example.com` on your Cloudflare account, on the "Account Home" page, click `example.com` to go its "Overview" page, then on the right side under "API" you will see "Zone ID" and "Account ID".
|
||||
|
||||
```sh
|
||||
# For single or multiple domains within the same Cloudflare account
|
||||
export CF_Token="zfNp-Xm0VhSaCNun7dkLzwnw0UN7FNjaMurUZ8vf"
|
||||
export CF_Account_ID="763eac4f1bcebd8b5c95e9fc50d010b4"
|
||||
./acme.sh --issue --dns dns_cf -d example.com -d '*.example.com'
|
||||
|
@ -216,11 +217,14 @@ export CF_Account_ID="763eac4f1bcebd8b5c95e9fc50d010b4"
|
|||
or
|
||||
|
||||
```sh
|
||||
# For a single domain
|
||||
export CF_Token="zfNp-Xm0VhSaCNun7dkLzwnw0UN7FNjaMurUZ8vf"
|
||||
export CF_Zone_ID="3cc91d809a6ff7a93eb48877bf0ec3ef"
|
||||
./acme.sh --issue --dns dns_cf -d example.com -d '*.example.com'
|
||||
```
|
||||
|
||||
For multiple domains across _multiple_ Cloudflare accounts, you will need to perform multiple `--issue` commands each with the appropriate environment variables.
|
||||
|
||||
### Method 3 (User Global API Key) _(Not Recommended)_
|
||||
|
||||
This method is **not recommended** as leakage of this key will completely compromise your account.
|
||||
|
|
Loading…
Reference in New Issue