From 5b1e4b6ccb1b89a428e766b2bf11a37d256cdd71 Mon Sep 17 00:00:00 2001 From: Roman Danko Date: Wed, 3 Mar 2021 16:20:22 +0100 Subject: [PATCH] Updated documentation for PR https://github.com/acmesh-official/acme.sh/pull/3093 --- dnsapi.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dnsapi.md b/dnsapi.md index b8fc7df..f0c8e07 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -463,12 +463,18 @@ export KNOT_SERVER="dns.example.com" export KNOT_KEY=`grep \# /etc/knot/acme.key | cut -d' ' -f2` ``` +and optionally (if you use challenge alias zone) + +``` +export KNOT_ZONE="le.example.com" +``` + Ok, let's issue a cert now: ``` acme.sh --issue --dns dns_knot -d example.com -d www.example.com ``` -The `KNOT_SERVER` and `KNOT_KEY` settings will be saved in `~/.acme.sh/account.conf` and will be reused when needed. +The `KNOT_SERVER` and `KNOT_KEY` and `KNOT_ZONE` settings will be saved in `~/.acme.sh/account.conf` and will be reused when needed. ## 20. Use DigitalOcean API (native)