]> granicus.if.org Git - icinga2/commitdiff
ITL: Drop ssl_sni default setting 5785/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Tue, 21 Nov 2017 08:38:56 +0000 (09:38 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Tue, 21 Nov 2017 08:39:58 +0000 (09:39 +0100)
That's not supported by all plugin suites out there, and as such
should not be the default value. The user must set it explicitly.

fixes #5775

doc/10-icinga-template-library.md
itl/command-plugins.conf

index 17bb38b7151d4b9ff22578067717f6828c8ec58a..60a6a3960b6de1d8264d29f2a1aac49059b238cb 100644 (file)
@@ -1307,7 +1307,7 @@ ssl_port                      | **Optional.** The port that should be checked. D
 ssl_timeout                   | **Optional.** Timeout in seconds for the connect and handshake. The plugin default is 10 seconds.
 ssl_cert_valid_days_warn      | **Optional.** Warning threshold for days before the certificate will expire. When used, the default for ssl_cert_valid_days_critical is 0.
 ssl_cert_valid_days_critical  | **Optional.** Critical threshold for days before the certificate will expire. When used, ssl_cert_valid_days_warn must also be set.
-ssl_sni                       | **Optional.** The `server_name` that is send to select the SSL certificate to check. Important if SNI is used. Defaults to "$ssl_address$".
+ssl_sni                       | **Optional.** The `server_name` that is send to select the SSL certificate to check. Important if SNI is used.
 
 
 ### ssmtp <a id="plugin-check-command-ssmtp"></a>
index f4c01134c7ebb4fa1a9626a5442a6fe6fc85ab75..017667893c4d0642ff4b32aa1485a47c96ca9acd 100644 (file)
@@ -350,7 +350,6 @@ object CheckCommand "ssl" {
        vars.ssl_port = 443
        vars.ssl_cert_valid_days_warn = false
        vars.ssl_cert_valid_days_critical = false
-       vars.ssl_sni = "$ssl_address$"
 }