summaryrefslogtreecommitdiffstats
path: root/nixos/tests/acme.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-12 00:56:48 +0200
committeraszlig <aszlig@nix.build>2018-07-12 02:32:46 +0200
commit7b87554ca16bc60527f14e1837792170360cf6be (patch)
treea66017794699347cff8b7169a6beba60747f6c79 /nixos/tests/acme.nix
parentc21b1ede95de8bead6a83b8f182fd17f2c6a0ee0 (diff)
nixos/tests/letsencrypt: Hardcode certs and keys
In 0c7c1660f78e4f6befe0a210e1a9efae783a1733 I have set allowSubstitutes to false, which avoided the substitution of the certificates. Unfortunately substitution may still happen later when the certificate is merged with the CA bundle. So the merged CA bundle might be substituted from a binary cache but the certificate itself is built locally, which could result in a different certificate in the bundle. So instead of adding just yet another workaround, I've now hardcoded all the certificates and keys in a separate file. This also moves letsencrypt.nix into its own directory so we don't mess up nixos/tests/common too much. This was long overdue and should finally make the dependency graph for the ACME test more deterministic. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'nixos/tests/acme.nix')
-rw-r--r--nixos/tests/acme.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix
index 21b0fedcfefe..c5898db6b325 100644
--- a/nixos/tests/acme.nix
+++ b/nixos/tests/acme.nix
@@ -29,7 +29,7 @@ in import ./make-test.nix {
name = "acme";
nodes = {
- letsencrypt = ./common/letsencrypt.nix;
+ letsencrypt = ./common/letsencrypt;
webserver = { config, pkgs, ... }: {
imports = [ commonConfig ];