From 09d79e2e7f24a6a65b438e2e4356d12bd58adaf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20H=C3=B6ffken?= Date: Wed, 19 Jun 2024 14:56:29 +0200 Subject: [PATCH 1/4] Add CERTBOT_PLUGIN_PATH --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f1ea449..f4f75fd 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,13 @@ Install this package via pip in the same python environment where you installed pip install certbot-dns-hetzner ``` +If `certbot plugins` does not show the newly installed plugin you might need to set `CERTBOT_PLUGIN_PATH`. +E.g. +``` +CERTBOT_PLUGIN_PATH=/usr/local/lib/python3.9/site-packages/ certbot renew +``` +[Some background infos](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) + ## Usage To start using DNS authentication for the Hetzner DNS API, pass the following arguments on certbot's command line: From f7d630bc57e92c84c2a8eaa5a0c08461012f66c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20H=C3=B6ffken?= Date: Wed, 19 Jun 2024 14:58:27 +0200 Subject: [PATCH 2/4] Move to usage --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f4f75fd..d53c88a 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,6 @@ Install this package via pip in the same python environment where you installed pip install certbot-dns-hetzner ``` -If `certbot plugins` does not show the newly installed plugin you might need to set `CERTBOT_PLUGIN_PATH`. -E.g. -``` -CERTBOT_PLUGIN_PATH=/usr/local/lib/python3.9/site-packages/ certbot renew -``` -[Some background infos](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) - ## Usage To start using DNS authentication for the Hetzner DNS API, pass the following arguments on certbot's command line: @@ -39,6 +32,12 @@ To start using DNS authentication for the Hetzner DNS API, pass the following ar | `--dns-hetzner-credentials` | Hetzner DNS API credentials INI file. (Required) | | `--dns-hetzner-propagation-seconds` | Seconds to wait for the TXT record to propagate | +If `certbot plugins` does not show the installed plugin, you might need to set `CERTBOT_PLUGIN_PATH`. +``` +CERTBOT_PLUGIN_PATH=/usr/local/lib/python3.9/site-packages/ certbot renew +``` +[Some background infos](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) + ## Credentials From 9b67b624d325d493224584c428670f49051a34d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20H=C3=B6ffken?= Date: Wed, 19 Jun 2024 15:00:28 +0200 Subject: [PATCH 3/4] Change link text --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d53c88a..ff88034 100644 --- a/README.md +++ b/README.md @@ -32,11 +32,12 @@ To start using DNS authentication for the Hetzner DNS API, pass the following ar | `--dns-hetzner-credentials` | Hetzner DNS API credentials INI file. (Required) | | `--dns-hetzner-propagation-seconds` | Seconds to wait for the TXT record to propagate | + If `certbot plugins` does not show the installed plugin, you might need to set `CERTBOT_PLUGIN_PATH`. ``` CERTBOT_PLUGIN_PATH=/usr/local/lib/python3.9/site-packages/ certbot renew ``` -[Some background infos](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) +[See letsencrypt community thread](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) ## Credentials From a941b4f008adfd67054f31ead9a248748f866526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20H=C3=B6ffken?= Date: Wed, 19 Jun 2024 15:01:23 +0200 Subject: [PATCH 4/4] Move to troubleshooting --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ff88034..7f16551 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,6 @@ To start using DNS authentication for the Hetzner DNS API, pass the following ar | `--dns-hetzner-credentials` | Hetzner DNS API credentials INI file. (Required) | | `--dns-hetzner-propagation-seconds` | Seconds to wait for the TXT record to propagate | - -If `certbot plugins` does not show the installed plugin, you might need to set `CERTBOT_PLUGIN_PATH`. -``` -CERTBOT_PLUGIN_PATH=/usr/local/lib/python3.9/site-packages/ certbot renew -``` -[See letsencrypt community thread](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) - ## Credentials @@ -66,6 +59,14 @@ To acquire a certificate for ``*.example.com`` -d '*.example.com' ``` +## Troubleshooting + +If `certbot plugins` does not show the installed plugin, you might need to set `CERTBOT_PLUGIN_PATH`. +``` +CERTBOT_PLUGIN_PATH=/usr/local/lib/python3.9/site-packages/ certbot renew +``` +[See letsencrypt community thread](https://community.letsencrypt.org/t/how-do-i-make-certbot-find-use-an-installed-plugin/198647/5) + ## Thanks to Of course certbot, which examples and documentation I used to implement this plugin. And to https://github.com/m42e/certbot-dns-ispconfig which served as an excellent example and README template as well.