From 983ccea0e516c1591b35ffd64bde7112a4b474e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Vyb=C3=ADhal?= Date: Sun, 12 Jan 2025 17:07:43 +0100 Subject: [PATCH] dns_active24: update for API V2 from PR #6197 --- dnsapi.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dnsapi.md b/dnsapi.md index 001c9bd..808bd6d 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -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='' +export Active24_ApiKey='' +export Active24_ApiSecret='' ``` 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)