Module: check_mk
Branch: master
Commit: 9a2830a54a9be6571e40843d7a760d595d0c40a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9a2830a54a9be6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jun 14 16:48:57 2017 +0200
Create var/ssl/ca-certificates.crt right after first access to WATO after update
Change-Id: Ib59e5ef0294f526acfa749499ac73cd0a3782f15
---
web/htdocs/wato.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 4b53b34..cbbdf3d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -125,6 +125,9 @@ def init_wato_datastructures(with_wato_lock=False):
if with_wato_lock:
lock_exclusive()
+ if not os.path.exists(ConfigDomainCACertificates.trusted_cas_file):
+ ConfigDomainCACertificates().activate()
+
create_sample_config()
init_watolib_datastructures()