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.crl | |
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.crl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/services/taskserver/certs/generate.crl b/system/services/taskserver/certs/generate.crl index 6a9daa8..e9f6715 100755 --- a/system/services/taskserver/certs/generate.crl +++ b/system/services/taskserver/certs/generate.crl @@ -18,7 +18,7 @@ expiration_days = $EXPIRATION_DAYS EOF fi -if ! [ -f server.crl.pem ] || [ crl.template -nt server.crl.pem ] +if ! [ -f server.crl.pem ] then $CERTTOOL \ --generate-crl \ |