Skip to content

Commit 54710e9

Browse files
committed
nixos/h2o: disable OCSP stapling in tests
The ACME certs are faked for testing & no need to contact a certificate authority.
1 parent 47803eb commit 54710e9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

nixos/tests/web-servers/h2o/basic.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ in
6868
];
6969
extraSettings = {
7070
minimum-version = "TLSv1.3";
71+
# when using common ACME certs, disable talking to CA
72+
ocsp-update-interval = 0;
7173
};
7274
};
7375
settings = {

nixos/tests/web-servers/h2o/tls-recommendations.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ let
3939
certificate-file = ../../common/acme/server/acme.test.cert.pem;
4040
}
4141
];
42+
extraSettings = {
43+
# when using common ACME certs, disable talking to CA
44+
ocsp-update-interval = 0;
45+
};
4246
};
4347
settings = {
4448
paths."/"."file.file" = "${hello_txt recommendations}";

0 commit comments

Comments
 (0)