mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
knot cleanup: remove extracting of a key from a file: this is not needed. Remove unused KNOT_ZONE
12
dnsapi.md
12
dnsapi.md
@@ -609,14 +609,8 @@ zone:
|
||||
Finally, make the DNS server and TSIG Key available to `acme.sh`
|
||||
|
||||
```sh
|
||||
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)
|
||||
|
||||
```sh
|
||||
export KNOT_ZONE="le.example.com"
|
||||
export KNOT_SERVER='dns.example.com'
|
||||
export KNOT_KEY='/etc/knot/acme.key'
|
||||
```
|
||||
|
||||
Ok, let's issue a cert now:
|
||||
@@ -624,7 +618,7 @@ Ok, let's issue a cert now:
|
||||
./acme.sh --issue --dns dns_knot -d example.com -d *.example.com
|
||||
```
|
||||
|
||||
The `KNOT_SERVER` and `KNOT_KEY` and `KNOT_ZONE` settings will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
|
||||
The `KNOT_SERVER` and `KNOT_KEY` settings will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
|
||||
|
||||
|
||||
<a name="dns_dgon" />
|
||||
|
||||
Reference in New Issue
Block a user