nixos/tests/taskserver: fix typos (#43284)
This commit is contained in:
parent
8e98630267
commit
01bc14da8f
|
@ -18,7 +18,7 @@ import ./make-test.nix ({ pkgs, ... }: let
|
||||||
crlTemplate = pkgs.writeText "snakeoil-crl.template" ''
|
crlTemplate = pkgs.writeText "snakeoil-crl.template" ''
|
||||||
expiration_days = -1
|
expiration_days = -1
|
||||||
'';
|
'';
|
||||||
userCertTemplace = pkgs.writeText "snakoil-user-cert.template" ''
|
userCertTemplate = pkgs.writeText "snakeoil-user-cert.template" ''
|
||||||
organization = snakeoil
|
organization = snakeoil
|
||||||
cn = server
|
cn = server
|
||||||
expiration_days = -1
|
expiration_days = -1
|
||||||
|
@ -49,7 +49,7 @@ import ./make-test.nix ({ pkgs, ... }: let
|
||||||
certtool -p --bits 4096 | sed -n \
|
certtool -p --bits 4096 | sed -n \
|
||||||
-e '/^----* *BEGIN/,/^----* *END/p' > "$out/alice.key"
|
-e '/^----* *BEGIN/,/^----* *END/p' > "$out/alice.key"
|
||||||
|
|
||||||
certtool -c --template "$userCertTemplace" \
|
certtool -c --template "$userCertTemplate" \
|
||||||
--load-privkey "$out/alice.key" \
|
--load-privkey "$out/alice.key" \
|
||||||
--load-ca-privkey ca.key \
|
--load-ca-privkey ca.key \
|
||||||
--load-ca-certificate "$cacert" \
|
--load-ca-certificate "$cacert" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user