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 <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-05 16:36:49 +02:00
parent 77d7545fac
commit 274fe2a23b
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -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