diff options
author | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-03-08 22:40:55 +0100 |
---|---|---|
committer | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-03-08 22:50:26 +0100 |
commit | df3706c47cbdea7d69b82a7ba857d58f3d4ea51f (patch) | |
tree | dc56a011b97af3b3399e5476348c586248a2fc5f /nixos | |
parent | bd3558086088e36a93590947ce68dc9dad274b8d (diff) | |
download | nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.tar nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.tar.gz nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.tar.bz2 nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.tar.lz nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.tar.xz nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.tar.zst nixlib-df3706c47cbdea7d69b82a7ba857d58f3d4ea51f.zip |
nixos/tests/acme: use mail-test-srv tls certs from source
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/common/letsencrypt.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/tests/common/letsencrypt.nix b/nixos/tests/common/letsencrypt.nix index 569df02cee9b..10cde45d18a8 100644 --- a/nixos/tests/common/letsencrypt.nix +++ b/nixos/tests/common/letsencrypt.nix @@ -296,7 +296,11 @@ let ocsp-updater.after = [ "boulder-publisher" ]; ocsp-responder.args = "--config ${cfgDir}/ocsp-responder.json"; ct-test-srv = {}; - mail-test-srv.args = "--closeFirst 5"; + mail-test-srv.args = let + key = "${boulderSource}/test/mail-test-srv/minica-key.pem"; + crt = "${boulderSource}/test/mail-test-srv/minica.pem"; + in + "--closeFirst 5 --cert ${crt} --key ${key}"; }; commonPath = [ softhsm pkgs.mariadb goose boulder ]; |