Module: check_mk
Branch: master
Commit: 208fb3959b19765cfa765edb6314beecc54b8835
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=208fb3959b1976…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 20 14:45:26 2016 +0200
3969 FIX CentOS 5.5: Fixed incompatibility with the available OpenSSL 0.98
When opening the GUI, the following error occured, making the GUI unusable:
RuntimeError: You are linking against OpenSSL 0.9.8, which is no longer support by the
OpenSSL project. You need to upgrade to a newer version of OpenSSL.
This has been fixed now.
---
.werks/3969 | 13 +++++++++++++
ChangeLog | 1 +
web/htdocs/key_mgmt.py | 5 +++++
3 files changed, 19 insertions(+)
diff --git a/.werks/3969 b/.werks/3969
new file mode 100644
index 0000000..641214f
--- /dev/null
+++ b/.werks/3969
@@ -0,0 +1,13 @@
+Title: CentOS 5.5: Fixed incompatibility with the available OpenSSL 0.98
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.4.0i2
+Date: 1476967437
+Class: fix
+
+When opening the GUI, the following error occured, making the GUI unusable:
+
+RuntimeError: You are linking against OpenSSL 0.9.8, which is no longer support by the
OpenSSL project. You need to upgrade to a newer version of OpenSSL.
+
+This has been fixed now.
diff --git a/ChangeLog b/ChangeLog
index abf0e19..4fd63f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -42,6 +42,7 @@
* 3897 FIX: Fixed possible exception in raw edition when rendering graphs
* 3898 FIX: Unmonitored services: Fixed possible bug in case discovery service
produces unexpected output
* 3902 FIX: Graph search view: Changing painter options made page empty
+ * 3969 FIX: CentOS 5.5: Fixed incompatibility with the available OpenSSL 0.98...
WATO:
* 3915 User access times: New icon when never logged in; New column "last
seen"
diff --git a/web/htdocs/key_mgmt.py b/web/htdocs/key_mgmt.py
index 68e2998..0dce783 100644
--- a/web/htdocs/key_mgmt.py
+++ b/web/htdocs/key_mgmt.py
@@ -26,6 +26,11 @@
import os
import pprint
+
+# This is needed for at least CentOS 5.5
+# TODO: Drop this until all supported platforms have newer versions available.
+os.environ["CRYPTOGRAPHY_ALLOW_OPENSSL_098"] = "1"
+
from OpenSSL import crypto
import table