From 171b98d30753e823ae43f0f35d2dc422b17cda27 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 15 Jul 2018 20:17:02 +0200 Subject: [PATCH] Explain how to obtain a cert --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1b2a8b2..862dfbf 100644 --- a/README.md +++ b/README.md @@ -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 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 This project is licensed under either of