mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
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.
17 lines
429 B
Diff
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:
|