Werk #7387: apache_status: Ignore certificates from local hosts

Component Checks & agents
Title apache_status: Ignore certificates from local hosts
Date Apr 1, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p14 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously not all cases of failing certificate verfication for local hosts were handled correctly, which could lead to missing data for that host. Instead of handling all cases of invalid certificates we now omit certificate verification for local addresses entirely. Note that this will fail for python versions before 2.7.

This only applies if one of the addresses "127.0.0.1", "[::1]", and "localhost" is queried using https.

To the list of all Werks