From 0b8f65d56240576df15d1644ba24289e4c7dbea2 Mon Sep 17 00:00:00 2001 From: Didier 'OdyX' Raboud Date: Mon, 8 May 2023 17:00:45 +0200 Subject: [PATCH] ssl_cert allow HTTP request URL setting This is available in check_ssl_cert since 2021-02-18 Version 1.137.0 --- doc/10-icinga-template-library.md | 1 + itl/plugins-contrib.d/web.conf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index b8775c74b..d18ebb77a 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -5796,6 +5796,7 @@ ssl_cert_selfsigned | **Optional.** Allow self-signed certificate. ssl_cert_sni | **Optional.** Sets the TLS SNI (Server Name Indication) extension. ssl_cert_timeout | **Optional.** Seconds before connection times out (default: 15) ssl_cert_protocol | **Optional.** Use the specific protocol {http,smtp,pop3,imap,ftp,xmpp,irc,ldap} (default: http). +ssl_cert_http_url | **Optional.** HTTP Request URL (default: /) ssl_cert_clientcert | **Optional.** Use client certificate to authenticate. ssl_cert_clientpass | **Optional.** Set passphrase for client certificate. ssl_cert_ssllabs | **Optional.** SSL Labs assessment diff --git a/itl/plugins-contrib.d/web.conf b/itl/plugins-contrib.d/web.conf index f5e65d5a1..010c1c1e3 100644 --- a/itl/plugins-contrib.d/web.conf +++ b/itl/plugins-contrib.d/web.conf @@ -444,6 +444,10 @@ object CheckCommand "ssl_cert" { value = "$ssl_cert_protocol$" description = "Use the specific protocol {http|smtp|pop3|imap|ftp|xmpp|irc|ldap} (default: http)" } + "--url" = { + value = "$ssl_cert_http_url$" + description = "HTTP request URL (default: /)" + } "-C" = { value = "$ssl_cert_clientssl_cert$" description = "Use client certificate to authenticate"