Werk #13213: real-time-checks: fix decryption if agent encryption is enabled

Component Checks & agents
Title real-time-checks: fix decryption if agent encryption is enabled
Date Sep 10, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Since version 1.2.9 the real time check encryption did not work if the agent encryption was activated, as the agent also uses the corresponding secret to encrypt the payload of the real-time UDP packets in this case. The Checkmk server now follows this logic when decrypting the packets.

To the list of all Werks