mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
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. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
fb6e550d6b
commit
ec36339dfd
2 changed files with 4 additions and 1 deletions
|
@ -20302,7 +20302,9 @@ all domains will be Subject Alternative Names on the certificate.
|
|||
The challenge type that has to be run by certbot. If @code{#f} is specified,
|
||||
default to the HTTP challenge. If a value is specified, defaults to the
|
||||
manual plugin (see @code{authentication-hook}, @code{cleanup-hook} and
|
||||
the documentation at @url{https://certbot.eff.org/docs/using.html#hooks}).
|
||||
the documentation at @url{https://certbot.eff.org/docs/using.html#hooks}),
|
||||
and gives Let's Encrypt permission to log the public IP address of the
|
||||
requesting machine.
|
||||
|
||||
@item @code{authentication-hook} (default: @code{#f})
|
||||
Command to be run in a shell once for each certificate challenge to be
|
||||
|
|
|
@ -99,6 +99,7 @@ (define certbot-command
|
|||
"--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
|
||||
|
|
Loading…
Reference in a new issue