From 274fe2a23bcf34bf5b1c74d29280126e7d3e4788 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 5 Apr 2016 16:36:49 +0200 Subject: [PATCH] nixos/taskserver: Fix generating server cert We were generating a self-signed certificate for the server so far, which we obviously don't want. Signed-off-by: aszlig --- nixos/modules/services/misc/taskserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/taskserver.nix b/nixos/modules/services/misc/taskserver.nix index 7e67f2f62320..b25447ccd9d1 100644 --- a/nixos/modules/services/misc/taskserver.nix +++ b/nixos/modules/services/misc/taskserver.nix @@ -308,7 +308,7 @@ in { --bits 2048 \ --outfile "${cfg.dataDir}/keys/server.key" - ${pkgs.gnutls}/bin/certtool -s \ + ${pkgs.gnutls}/bin/certtool -c \ --template "${pkgs.writeText "taskserver-cert.template" '' cn = ${cfg.server.fqdn} tls_www_server