Werk #17419: check-httpv2: add options to disable certificates & to connect to physical host

Component Checks & agents
Title check-httpv2: add options to disable certificates & to connect to physical host
Date Dec 13, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

With this werk, we have introduced two new optional parameters.

  1. short option: -D, long option: --disable-cert

You should think very carefully before using this parameter. If invalid certificates are trusted, any certificate for any certificate for any site will be trusted for use. This includes expired certificates. This also introduces significant vulnerabilities, and should only be used as a last resort.

  1. short option: -p, long option: --server

With this option, the behaviour is similar to the --resolve parameter used with curl. It will resolve to the phsyical address given.

To the list of all Werks