Module: check_mk
Branch: master
Commit: b664ea5608d2e53ac3f0d37eccd9551881faf823
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b664ea5608d2e5…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon Oct 22 16:52:45 2018 +0200
5516 FIX cmk-update-agent: Catch HTTPS redirect
A communication between the Agent Updater and the Check_MK-Server
won't succeed if the communication protocol is configured to HTTP
while the server enforces HTTPS. The reason is that the POST data
sent by the Agent Updater will be lost on the redirect.
So far, this is normal HTTP behavior. Nonetheless, the Agent Updater
now handles this situation by detecting the redirect and directly
sending its data via (unverified) HTTPS.
A warning will therefore be displayed to the user respectively written
to log.
(Jira: FEED-3002)
Change-Id: I0e43e5706cafcb4029c4d0e3bfe1c58fd8a7e70d
---
.werks/5516 | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/.werks/5516 b/.werks/5516
new file mode 100644
index 0000000..4bcd19b
--- /dev/null
+++ b/.werks/5516
@@ -0,0 +1,21 @@
+Title: cmk-update-agent: Catch HTTPS redirect
+Level: 1
+Component: agents
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.6.0i1
+Date: 1540222280
+
+A communication between the Agent Updater and the Check_MK-Server
+won't succeed if the communication protocol is configured to HTTP
+while the server enforces HTTPS. The reason is that the POST data
+sent by the Agent Updater will be lost on the redirect.
+
+So far, this is normal HTTP behavior. Nonetheless, the Agent Updater
+now handles this situation by detecting the redirect and directly
+sending its data via (unverified) HTTPS.
+
+A warning will therefore be displayed to the user respectively written
+to log.