1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-22 02:33:35 +01:00

Explain how to obtain a cert

This commit is contained in:
Valentin Brandl 2018-07-15 20:17:02 +02:00
parent 6c1efac41b
commit 171b98d307
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -112,6 +112,14 @@ In `letsencrypt/`, two example scripts can be found to use the client as a
certbot hook for DNS challenges. It assumes that the client is located somewhere certbot hook for DNS challenges. It assumes that the client is located somewhere
in `$PATH` and that the configurations file exists. in `$PATH` and that the configurations file exists.
To obtain a new certificate, certbot can be invoked as followed:
```
certbot certonly -n --agree-tos --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges=dns-01
--manual --manual-auth-hook /usr/lib/letsencrypt-bind9/certbot-bind9-auth --manual-cleanup-hook
/usr/lib/letsencrypt-bind9/certbot-bind9-cleanup --manual-public-ip-logging-ok -d example.com -d '*.example.com'
```
## License ## License
This project is licensed under either of This project is licensed under either of