knot cleanup: remove extracting of a key from a file: this is not needed. Remove unused KNOT_ZONE
parent
f83ed5bdda
commit
3bf4bf1a44
12
dnsapi.md
12
dnsapi.md
|
@ -609,14 +609,8 @@ zone:
|
||||||
Finally, make the DNS server and TSIG Key available to `acme.sh`
|
Finally, make the DNS server and TSIG Key available to `acme.sh`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export KNOT_SERVER="dns.example.com"
|
export KNOT_SERVER='dns.example.com'
|
||||||
export KNOT_KEY=`grep \# /etc/knot/acme.key | cut -d' ' -f2`
|
export KNOT_KEY='/etc/knot/acme.key'
|
||||||
```
|
|
||||||
|
|
||||||
and optionally (if you use challenge alias zone)
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export KNOT_ZONE="le.example.com"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Ok, let's issue a cert now:
|
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
|
./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" />
|
<a name="dns_dgon" />
|
||||||
|
|
Loading…
Reference in New Issue