Skip to content

Commit 1e9fa2e

Browse files
committed
check_cert: Clarify "Allow self-signed certificates" option
check_cert has the option to allow self-signed certificates. This will currently only ignore the OpenSSL error `18: X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT` during verification. Any other OpenSSL errors related to the certificate, e.g. `19: X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN` will still trigger an alert. SUP-22489 Change-Id: Ia8304227e9cdedb611e02162e8959569e4079aae
1 parent 2409471 commit 1e9fa2e

File tree

1 file changed

+3
-2
lines changed
  • cmk/plugins/collection/rulesets

1 file changed

+3
-2
lines changed

cmk/plugins/collection/rulesets/cert.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ def _valuespec_validity() -> Dictionary:
7373
"self_signed": DictElement[bool](
7474
parameter_form=BooleanChoice(
7575
help_text=Help(
76-
"The service will not warn if self-signed certificates are used "
77-
"if this option is checked."
76+
"Checking this option allows self-signed certificates by ignoring OpenSSL "
77+
"error 18 (self signed certificate), and the service will not warn when "
78+
"this error is returned. Other errors will still trigger an alert."
7879
),
7980
label=Label("Allow self-signed certificates"),
8081
),

0 commit comments

Comments
 (0)