summary refs log tree commit diff stats
path: root/system/services/taskserver/certs/generate.ca
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-07 16:44:08 +0100
committerSoispha <soispha@vhack.eu>2023-11-07 16:44:08 +0100
commit961729eed1540a7633f5200c63dcf8650d35c56f (patch)
tree71e84be3ddd87068c45698c0c43dd3227e20c7b3 /system/services/taskserver/certs/generate.ca
parentchore(version): v0.17.0 (diff)
downloadnixos-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 'system/services/taskserver/certs/generate.ca')
-rwxr-xr-xsystem/services/taskserver/certs/generate.ca2
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 \