Files
labca/patches/start.patch
Arjan H 6d72d32398 Use ceremony tool for generating keys and certs; store keys on SoftHSM
Replace openssl certificate / CRL generation with the tool as used by
Let's Encrypt, storing the keys on SoftHSMv2, a simulated HSM (Hardware
Security Module).
Include migration of old setups where key files were also stored on
disk.
2025-01-31 20:44:48 +01:00

17 lines
429 B
Diff

diff --git a/start.py b/start.py
index f224b9e6c..017fe5cd5 100755
--- a/start.py
+++ b/start.py
@@ -20,6 +20,11 @@ import startservers
if not startservers.install(race_detection=False):
raise(Exception("failed to build"))
+fl = "./labca/setup_complete"
+while not os.path.exists(fl):
+ print(f"Waiting for '{fl}' to appear...")
+ time.sleep(30)
+
if not startservers.start(fakeclock=None):
sys.exit(1)
try: