3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/taskserver: fix typos (#43284)

This commit is contained in:
Oliver Evans 2018-07-11 04:20:12 -04:00 committed by xeji
parent 8e98630267
commit 01bc14da8f

View file

@ -18,7 +18,7 @@ import ./make-test.nix ({ pkgs, ... }: let
crlTemplate = pkgs.writeText "snakeoil-crl.template" ''
expiration_days = -1
'';
userCertTemplace = pkgs.writeText "snakoil-user-cert.template" ''
userCertTemplate = pkgs.writeText "snakeoil-user-cert.template" ''
organization = snakeoil
cn = server
expiration_days = -1
@ -49,7 +49,7 @@ import ./make-test.nix ({ pkgs, ... }: let
certtool -p --bits 4096 | sed -n \
-e '/^----* *BEGIN/,/^----* *END/p' > "$out/alice.key"
certtool -c --template "$userCertTemplace" \
certtool -c --template "$userCertTemplate" \
--load-privkey "$out/alice.key" \
--load-ca-privkey ca.key \
--load-ca-certificate "$cacert" \