3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #65485 from arcnmx/pr-taskserver-nixos

nixos/taskserver: crl file is optional
This commit is contained in:
edef 2019-07-28 13:02:05 +00:00 committed by GitHub
commit 9897956d36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -411,7 +411,7 @@ in {
} else {
cert = "${cfg.pki.manual.server.cert}";
key = "${cfg.pki.manual.server.key}";
crl = "${cfg.pki.manual.server.crl}";
${mapNullable (_: "crl") cfg.pki.manual.server.crl} = "${cfg.pki.manual.server.crl}";
});
ca.cert = if needToCreateCA then "${cfg.dataDir}/keys/ca.cert"