nixos/tests/acme: Hard code test certificates

The added README.md explains why this has been done.
This commit is contained in:
Lucas Savva
2020-10-22 14:06:19 +01:00
parent 89d134b3fd
commit dad06fb922
8 changed files with 148 additions and 32 deletions
+1 -4
View File
@@ -51,10 +51,7 @@
# that it has to be started _before_ the ACME service.
{ config, pkgs, lib, ... }:
let
testCerts = import ./snakeoil-certs.nix {
minica = pkgs.minica;
mkDerivation = pkgs.stdenv.mkDerivation;
};
testCerts = import ./snakeoil-certs.nix;
domain = testCerts.domain;
resolver = let