From 8e01888cc198e18591e7ccffd6ced1bae7dfdfc3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Thu, 3 Jun 2021 08:58:51 -0400 Subject: [PATCH] certbot requires ``--expand`` to add more domains to the cert --- nixos/modules/issuer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix index 68a6ebf8..28bba0a6 100644 --- a/nixos/modules/issuer.nix +++ b/nixos/modules/issuer.nix @@ -195,7 +195,7 @@ in { # Register if necessary. ${pkgs.certbot}/bin/certbot register ${configArgs} --non-interactive --agree-tos -m ${cfg.letsEncryptAdminEmail} || true # Obtain the certificate. - ${pkgs.certbot}/bin/certbot certonly ${configArgs} --non-interactive --standalone --domains ${builtins.concatStringsSep "," cfg.domains} + ${pkgs.certbot}/bin/certbot certonly ${configArgs} --non-interactive --standalone --expand --domains ${builtins.concatStringsSep "," cfg.domains} ''; }; }; -- GitLab