mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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:
parent
77d7545fac
commit
274fe2a23b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user