dns_active24: update for API V2 from PR #6197

master
Josef Vybíhal 2025-01-12 17:07:43 +01:00
parent c2fac6ffbc
commit 983ccea0e5
1 changed files with 7 additions and 5 deletions

@ -1530,20 +1530,22 @@ Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issu
## 59. Use Active24 API
Create an API token in the Active24 account section, documentation on https://faq.active24.com/cz/790131-REST-API-rozhran%C3%AD.
Create API credentials in the Active24 Admin [Security and login/API Authentication & Dynamic DNS](https://admin.active24.cz/en/auth/security-settings)
Set your API token:
Set your API credntials:
```sh
export ACTIVE24_Token='<token>'
export Active24_ApiKey='<Identifier>'
export Active24_ApiSecret='<Secret>'
```
Now, let's issue a cert, set `dnssleep` for propagation new DNS record:
```sh
./acme.sh --issue --dns dns_active24 -d example.com -d *.example.com --dnssleep 1000
./acme.sh --issue --dns dns_active24 -d example.com -d *.example.com --dnssleep 120
```
`120` is usually fine, had success with even lower values like `60`
The `ACTIVE24_Token` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
`Active24_ApiKey` and `Active24_ApiSecret` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/2059)