diff options
author | Soispha <soispha@vhack.eu> | 2023-11-07 16:44:08 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-11-07 16:44:08 +0100 |
commit | 961729eed1540a7633f5200c63dcf8650d35c56f (patch) | |
tree | 71e84be3ddd87068c45698c0c43dd3227e20c7b3 /system/services/taskserver/certs/generate.ca | |
parent | chore(version): v0.17.0 (diff) | |
download | nixos-server-961729eed1540a7633f5200c63dcf8650d35c56f.tar.gz nixos-server-961729eed1540a7633f5200c63dcf8650d35c56f.zip |
fix(system/services/taskserver/certs): Move cert generation to script
This fully removes the human-factor and allows it to just run `./generate` to generate all required certificates and keys (with the needed extra keys and certificates)
Diffstat (limited to '')
-rwxr-xr-x | system/services/taskserver/certs/generate.ca | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/services/taskserver/certs/generate.ca b/system/services/taskserver/certs/generate.ca index 4ffc6e9..a9fbc0c 100755 --- a/system/services/taskserver/certs/generate.ca +++ b/system/services/taskserver/certs/generate.ca @@ -35,7 +35,7 @@ EOF #locality = $LOCALITY fi -if ! [ -f ca.cert.pem ] || [ ca.template -nt ca.cert.pem ] +if ! [ -f ca.cert.pem ] then $CERTTOOL \ --generate-self-signed \ |