summary refs log tree commit diff
path: root/nixos/tests/common/acme
diff options
context:
space:
mode:
authorLucas Savva <lucas@m1cr0man.com>2020-10-06 21:52:49 +0100
committerLucas Savva <lucas@m1cr0man.com>2020-10-07 00:18:13 +0100
commit1edd91ca0954a0b7ea0675bc62661c8a994bf60a (patch)
tree1fcb20a98eec24ad52e5f45b63a8b0f3ee600d09 /nixos/tests/common/acme
parent2927f3fb45be21d5811a88d1329b4d6795707b9e (diff)
downloadnixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.tar
nixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.tar.gz
nixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.tar.bz2
nixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.tar.lz
nixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.tar.xz
nixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.tar.zst
nixpkgs-1edd91ca0954a0b7ea0675bc62661c8a994bf60a.zip
nixos/acme: Fix ocspMustStaple option and add test
Some of the testing setup for OCSP checking was wrong and
has been fixed too.
Diffstat (limited to 'nixos/tests/common/acme')
-rw-r--r--nixos/tests/common/acme/server/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix
index 4d8e664c4e1..cea10c16900 100644
--- a/nixos/tests/common/acme/server/default.nix
+++ b/nixos/tests/common/acme/server/default.nix
@@ -70,7 +70,7 @@ let
     privateKey = testCerts.${domain}.key;
     httpPort = 80;
     tlsPort = 443;
-    ocspResponderURL = "http://0.0.0.0:4002";
+    ocspResponderURL = "http://${domain}:4002";
     strict = true;
   };