about summary refs log tree commit diff
path: root/nixos/tests/step-ca.nix
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2022-02-16 10:43:38 -0800
committerJonathan Ringer <jonringer117@gmail.com>2022-03-14 22:45:02 -0700
commit6af7f6eb783ddf103561aa4c4e2e68abe01336ab (patch)
tree1dba0a9fa9d191dfc2cb5b6f4398502867ae7f71 /nixos/tests/step-ca.nix
parent54d6aee8f3754266a4ff6723268c068269ff7965 (diff)
tests/step-ca: give name, fix acme usage
Diffstat (limited to 'nixos/tests/step-ca.nix')
-rw-r--r--nixos/tests/step-ca.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/step-ca.nix b/nixos/tests/step-ca.nix
index b22bcb060f2bf..a855b590232dd 100644
--- a/nixos/tests/step-ca.nix
+++ b/nixos/tests/step-ca.nix
@@ -9,6 +9,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
     '';
   in
   {
+    name = "step-ca";
     nodes =
       {
         caserver =
@@ -42,8 +43,8 @@ import ./make-test-python.nix ({ pkgs, ... }:
 
         caclient =
           { config, pkgs, ... }: {
-            security.acme.server = "https://caserver:8443/acme/acme/directory";
-            security.acme.email = "root@example.org";
+            security.acme.defaults.server = "https://caserver:8443/acme/acme/directory";
+            security.acme.defaults.email = "root@example.org";
             security.acme.acceptTerms = true;
 
             security.pki.certificateFiles = [ "${test-certificates}/root_ca.crt" ];