ssl_cert: drop now-unsupported --altnames

Fixes https://github.com/Icinga/icinga2/issues/9661
This commit is contained in:
Didier 'OdyX' Raboud 2023-05-08 16:38:01 +02:00
parent 47d65a191c
commit 610ba8d27a
No known key found for this signature in database
GPG Key ID: EA830BC6A684CD7C
2 changed files with 0 additions and 5 deletions

View File

@ -5785,7 +5785,6 @@ ssl_cert_file | **Optional.** Local file path. Works only if `ss
ssl_cert_warn | **Optional.** Minimum number of days a certificate has to be valid.
ssl_cert_critical | **Optional.** Minimum number of days a certificate has to be valid to issue a critical status.
ssl_cert_cn | **Optional.** Pattern to match the CN or AltName of the certificate.
ssl_cert_altnames | **Optional.** Matches the pattern specified in -n with alternate
ssl_cert_issuer | **Optional.** Pattern to match the issuer of the certificate.
ssl_cert_org | **Optional.** Pattern to match the organization of the certificate.
ssl_cert_email | **Optional.** Pattern to match the email address contained in the certificate.

View File

@ -400,10 +400,6 @@ object CheckCommand "ssl_cert" {
value = "$ssl_cert_cn$"
description = "Pattern to match the CN or AltNames of the certificate"
}
"--altnames" = {
set_if = "$ssl_cert_altnames$"
description = "Matches the pattern specified in -n with alternate"
}
"-i" = {
value = "$ssl_cert_issuer$"
description = "Pattern to match the issuer of the certificate"