Merge pull request #77540 from singron/fix-certmgr-test

nixos/tests/certmgr: Fix file permissions
This commit is contained in:
Florian Klink 2020-01-19 19:50:41 +01:00 committed by GitHub
commit 5ed3474ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@ let
inherit action; inherit action;
authority = { authority = {
file = { file = {
group = "nobody"; group = "nginx";
owner = "nobody"; owner = "nginx";
path = "/tmp/${host}-ca.pem"; path = "/tmp/${host}-ca.pem";
}; };
label = "www_ca"; label = "www_ca";
@ -18,14 +18,14 @@ let
remote = "localhost:8888"; remote = "localhost:8888";
}; };
certificate = { certificate = {
group = "nobody"; group = "nginx";
owner = "nobody"; owner = "nginx";
path = "/tmp/${host}-cert.pem"; path = "/tmp/${host}-cert.pem";
}; };
private_key = { private_key = {
group = "nobody"; group = "nginx";
mode = "0600"; mode = "0600";
owner = "nobody"; owner = "nginx";
path = "/tmp/${host}-key.pem"; path = "/tmp/${host}-key.pem";
}; };
request = { request = {