Module: check_mk
Branch: master
Commit: ed58199074d82f224d66a4db91a9b77daf2420f7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed58199074d82f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sat Dec 29 13:15:20 2018 +0100
Addition to 7017: stunnel, livestatus client, WATO sites
* Build stunnel and ship it with Check_MK
* livestatus.py now able to handle encryption
* SingleSiteConnection can now be configured to establish a
connection with a TLS encrypted livestatus server.
* It still connects in plain text mode by default.
* You can use the new constructor arguments for configuring TLS:
* tls=True|False: Enable or disable TLS
* ca_file_path=None|path-to-pem: Path to a CA bundle file that
contains the CA certficates to trust. In case this is set to
None, which is the default, the site local CA certificate
will be used.
* verify=True/False: Accept any certificate or just certificates
that are issued by CAs that trusted (see option above).
* Distributed configuration in WATO can now configure encrypted
connections to sites.
CMK-1535
Change-Id: I55c935d835718a42209fa76459108cc389127174
---
cmk/gui/config.py | 1 +
cmk/gui/sites.py | 3 +
cmk/gui/wato/pages/sites.py | 9 ++-
cmk/gui/watolib/sites.py | 39 ++++++++++++
livestatus/api/python/livestatus.py | 87 +++++++++++++++++++++++---
omd/packages/stunnel/stunnel-5.50.tar.gz | Bin 0 -> 973685 bytes
omd/packages/stunnel/stunnel.make | 28 +++++++--
tests/integration/omd/test_basic_commands.py | 1 +
tests/unit/cmk/gui/test_gui_config.py | 18 ++++--
tests/unit/cmk/gui/test_sites.py | 19 ++++++
tests/unit/livestatus/test_livestatus_unit.py | 56 ++++++++++++++++-
11 files changed, 239 insertions(+), 22 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ed58199074…