all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#36998] [PATCH] services: certbot: Add --manual-public-ip-logging-ok for manual challenges
@ 2019-08-10 13:08 Carlo Zancanaro
  2019-09-10 21:54 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Carlo Zancanaro @ 2019-08-10 13:08 UTC (permalink / raw)
  To: 36998

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

I recently tried to configure the certbot-service with the dns 
challenge type. It failed, because certbot tries to ask whether 
you're okay with letsencrypt knowing (and potentially logging) 
your IP address, but within an mcron task that just fails.

The solution is to add the --manual-public-ip-logging-ok flag, so 
here's a patch to do that!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-services-certbot-Add-manual-public-ip-logging-ok-for.patch --]
[-- Type: text/x-diff, Size: 1071 bytes --]

From 4a888155261caba0c4e11f8515a271ba33b92bc6 Mon Sep 17 00:00:00 2001
From: Carlo Zancanaro <carlo@zancanaro.id.au>
Date: Sat, 10 Aug 2019 22:52:50 +1000
Subject: [PATCH] services: certbot: Add --manual-public-ip-logging-ok for
 manual challenges

* gnu/services/certbot.scm (certbot-command): Add
  --manual-public-ip-logging-ok flag to the certbot command when doing a
  manual challenge.
---
 gnu/services/certbot.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/services/certbot.scm b/gnu/services/certbot.scm
index ae34ad17bb..0d3be03383 100644
--- a/gnu/services/certbot.scm
+++ b/gnu/services/certbot.scm
@@ -99,6 +99,7 @@
                             "--manual"
                             (string-append "--preferred-challenges=" challenge)
                             "--cert-name" name
+                            "--manual-public-ip-logging-ok"
                             "-d" (string-join domains ","))
                       (if rsa-key-size `("--rsa-key-size" ,rsa-key-size) '())
                       (if authentication-hook
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-16  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-10 13:08 [bug#36998] [PATCH] services: certbot: Add --manual-public-ip-logging-ok for manual challenges Carlo Zancanaro
2019-09-10 21:54 ` Ludovic Courtès
2019-09-12 11:20   ` Carlo Zancanaro
2019-09-16  8:23     ` bug#36998: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.