| 1 |
object CheckCommand "ssl_cert_extended" { |
| 2 |
import "plugin-check-command" |
| 3 |
|
| 4 |
command = [ PluginDir + "/check_ssl_cert.sh" ] |
| 5 |
|
| 6 |
arguments = { |
| 7 |
"--file" = { |
| 8 |
value = "$ssl_cert_extended_file$" |
| 9 |
description = "Local file path or URI. With -f you can not only pass a x509 certificate file but also a certificate revocation list (CRL) to check the validity period or a Java KeyStore file" |
| 10 |
} |
| 11 |
|
| 12 |
"--host" = { |
| 13 |
value = "$ssl_cert_extended_host$" |
| 14 |
description = "Server" |
| 15 |
} |
| 16 |
|
| 17 |
"--noauth" = { |
| 18 |
set_if = "$ssl_cert_extended_noauth$" |
| 19 |
description = "Ignore authority warnings (expiration only)" |
| 20 |
} |
| 21 |
|
| 22 |
"--all" = { |
| 23 |
set_if = "$ssl_cert_extended_all$" |
| 24 |
description = "Enable all the possible optional checks at the maximum level" |
| 25 |
} |
| 26 |
|
| 27 |
"--all-local" = { |
| 28 |
set_if = "$ssl_cert_extended_all_local$" |
| 29 |
description = "Enable all the possible optional checks at the maximum level (without SSL-Labs)" |
| 30 |
} |
| 31 |
|
| 32 |
"--allow-empty-san" = { |
| 33 |
set_if = "$ssl_cert_extended_allow_empty_san$" |
| 34 |
description = "Allow certificates without Subject Alternative Names (SANs)" |
| 35 |
} |
| 36 |
|
| 37 |
"--clientcert" = { |
| 38 |
value = "$ssl_cert_extended_clientcert$" |
| 39 |
description = "Use client certificate to authenticate" |
| 40 |
} |
| 41 |
|
| 42 |
"--critical" = { |
| 43 |
value = "$ssl_cert_extended_critical$" |
| 44 |
description = "Minimum number of days a certificate has to be valid to issue a critical status. Can be a floating point number, e.g., 0.5 Default: 15" |
| 45 |
} |
| 46 |
|
| 47 |
"--check-chain" = { |
| 48 |
set_if = "$ssl_cert_extended_check_chain$" |
| 49 |
description = "The certificate chain cannot contain double or root certificates" |
| 50 |
} |
| 51 |
|
| 52 |
"--check-ciphers" = { |
| 53 |
value = "$ssl_cert_extended_check_ciphers$" |
| 54 |
description = "Check the offered ciphers" |
| 55 |
} |
| 56 |
|
| 57 |
"--check-ciphers-warnings" = { |
| 58 |
set_if = "$ssl_cert_extended_check_ciphers_warnings$" |
| 59 |
description = "Critical if nmap reports a warning for an offered cipher" |
| 60 |
} |
| 61 |
|
| 62 |
"--check-http-headers" = { |
| 63 |
set_if = "$ssl_cert_extended_check_http_headers$" |
| 64 |
description = "Check the HTTP headers for best practices" |
| 65 |
} |
| 66 |
|
| 67 |
"--check-ssl-labs-warn" = { |
| 68 |
value = "$ssl_cert_extended_check_ssl_labs_warn$" |
| 69 |
description = "SSL Labs grade on which to warn" |
| 70 |
} |
| 71 |
|
| 72 |
"--clientpass" = { |
| 73 |
value = "$ssl_cert_extended_clientpass$" |
| 74 |
description = "Set passphrase for client certificate." |
| 75 |
} |
| 76 |
|
| 77 |
"--configuration" = { |
| 78 |
value = "$ssl_cert_extended_configuration$" |
| 79 |
description = "Read options from the specified file" |
| 80 |
} |
| 81 |
|
| 82 |
"--crl" = { |
| 83 |
set_if = "$ssl_cert_extended_crl$" |
| 84 |
description = "Check revocation via CRL (requires --rootcert-file)" |
| 85 |
} |
| 86 |
|
| 87 |
"--curl-bin" = { |
| 88 |
value = "$ssl_cert_extended_curl_bin$" |
| 89 |
description = "Path of the curl binary to be used" |
| 90 |
} |
| 91 |
|
| 92 |
"--custom-http-header" = { |
| 93 |
value = "$ssl_cert_extended_custom_http_header$" |
| 94 |
description = "Custom HTTP header sent when getting the cert example: 'X-Check-Ssl-Cert: Foobar=1'" |
| 95 |
} |
| 96 |
|
| 97 |
"--default-format" = { |
| 98 |
set_if = "$ssl_cert_extended_default_format$" |
| 99 |
description = "Print the default output format and exit" |
| 100 |
} |
| 101 |
|
| 102 |
"--dane" = { |
| 103 |
set_if = "$ssl_cert_extended_dane$" |
| 104 |
description = "Verify that valid DANE records exist (since OpenSSL 1.1.0)" |
| 105 |
} |
| 106 |
|
| 107 |
"--dane 211" = { |
| 108 |
set_if = "$ssl_cert_extended_dane_211$" |
| 109 |
description = "Verify that a valid DANE-TA(2) SPKI(1) SHA2-256(1) TLSA record exists" |
| 110 |
} |
| 111 |
|
| 112 |
"--dane 301" = { |
| 113 |
set_if = "$ssl_cert_extended_dane_301$" |
| 114 |
description = "Verify that a valid DANE-EE(3) Cert(0) SHA2-256(1) TLSA record exists" |
| 115 |
} |
| 116 |
|
| 117 |
"--dane 302" = { |
| 118 |
set_if = "$ssl_cert_extended_dane_302$" |
| 119 |
description = "Verify that a valid DANE-EE(3) Cert(0) SHA2-512(2) TLSA record exists" |
| 120 |
} |
| 121 |
|
| 122 |
"--dane 311" = { |
| 123 |
set_if = "$ssl_cert_extended_dane_311$" |
| 124 |
description = "Verify that a valid DANE-EE(3) SPKI(1) SHA2-256(1) TLSA record exists" |
| 125 |
} |
| 126 |
|
| 127 |
"--dane 312" = { |
| 128 |
set_if = "$ssl_cert_extended_dane_312$" |
| 129 |
description = "Verify that a valid DANE-EE(3) SPKI(1) SHA2-512(1) TLSA record exists" |
| 130 |
} |
| 131 |
|
| 132 |
"--date" = { |
| 133 |
set_if = "$ssl_cert_extended_date$" |
| 134 |
description = "Path of the date binary to be used" |
| 135 |
} |
| 136 |
|
| 137 |
"--debug" = { |
| 138 |
set_if = "$ssl_cert_extended_debug$" |
| 139 |
description = "Produce debugging output (can be specified more than once)" |
| 140 |
} |
| 141 |
|
| 142 |
"--debug-cert" = { |
| 143 |
set_if = "$ssl_cert_extended_debug_cert$" |
| 144 |
description = "Store the retrieved certificates in the current directory" |
| 145 |
} |
| 146 |
|
| 147 |
"--debug-headers" = { |
| 148 |
set_if = "$ssl_cert_extended_debug_headers$" |
| 149 |
description = "Store the retrieved HTLM headers in the headers.txt file" |
| 150 |
} |
| 151 |
|
| 152 |
"--debug-file" = { |
| 153 |
value = "$ssl_cert_extended_debug_file$" |
| 154 |
description = "Write the debug messages to file" |
| 155 |
} |
| 156 |
|
| 157 |
"--debug-time" = { |
| 158 |
set_if = "$ssl_cert_extended_debug_time$" |
| 159 |
description = "Write timing information in the debugging output" |
| 160 |
} |
| 161 |
|
| 162 |
"--dig-bin" = { |
| 163 |
value = "$ssl_cert_extended_dig_bin$" |
| 164 |
description = "Path of the dig binary to be used" |
| 165 |
} |
| 166 |
|
| 167 |
"--do-not-resolve" = { |
| 168 |
set_if = "$ssl_cert_extended_do_not_resolve$" |
| 169 |
description = "Do not check if the host can be resolved" |
| 170 |
} |
| 171 |
|
| 172 |
"--dtls" = { |
| 173 |
set_if = "$ssl_cert_extended_dtls$" |
| 174 |
description = "Use the DTLS protocol" |
| 175 |
} |
| 176 |
|
| 177 |
"--dtls1" = { |
| 178 |
set_if = "$ssl_cert_extended_dtls1$" |
| 179 |
description = "Use the DTLS protocol 1.0" |
| 180 |
} |
| 181 |
|
| 182 |
"--dtls1_2" = { |
| 183 |
set_if = "$ssl_cert_extended_dtls1_2$" |
| 184 |
description = "Use the DTLS protocol 1.2" |
| 185 |
} |
| 186 |
|
| 187 |
"--email" = { |
| 188 |
value = "$ssl_cert_extended_email$" |
| 189 |
description = "Pattern to match the email address contained in the certificate" |
| 190 |
} |
| 191 |
|
| 192 |
"--ecdsa" = { |
| 193 |
set_if = "$ssl_cert_extended_ecdsa$" |
| 194 |
description = "Signature algorithm selection: force ECDSA certificate" |
| 195 |
} |
| 196 |
|
| 197 |
"--element" = { |
| 198 |
value = "$ssl_cert_extended_element$" |
| 199 |
description = "Check up to the N cert element from the beginning of the chain" |
| 200 |
} |
| 201 |
|
| 202 |
"--file-bin" = { |
| 203 |
value = "$ssl_cert_extended_file_bin$" |
| 204 |
description = "Path of the file binary to be used" |
| 205 |
} |
| 206 |
|
| 207 |
"--fingerprint" = { |
| 208 |
value = "$ssl_cert_extended_fingerprint$" |
| 209 |
description = "Pattern to match the fingerprint" |
| 210 |
} |
| 211 |
|
| 212 |
"--fingerprint-alg" = { |
| 213 |
value = "$ssl_cert_extended_fingerprint_alg$" |
| 214 |
description = "Algorithm for fingerprint. Default sha1" |
| 215 |
} |
| 216 |
|
| 217 |
"--first-element-only" = { |
| 218 |
set_if = "$ssl_cert_extended_first_element_only$" |
| 219 |
description = "Verify just the first cert element, not the whole chain" |
| 220 |
} |
| 221 |
|
| 222 |
"--force-dconv-date" = { |
| 223 |
set_if = "$ssl_cert_extended_force_dconv_date$" |
| 224 |
description = "Force the usage of dconv for date computations" |
| 225 |
} |
| 226 |
|
| 227 |
"--force-perl-date" = { |
| 228 |
set_if = "$ssl_cert_extended_force_perl_date$" |
| 229 |
description = "Force the usage of dconv for date computations" |
| 230 |
} |
| 231 |
|
| 232 |
"--force-perl-date" = { |
| 233 |
set_if = "$ssl_cert_extended_force_perl_date$" |
| 234 |
description = "Force the usage of Perl for date computations" |
| 235 |
} |
| 236 |
|
| 237 |
"--format" = { |
| 238 |
value = "$ssl_cert_extended_format$" |
| 239 |
description = "Format output template on success, for example: '%SHORTNAME% OK %CN% from %CA_ISSUER_MATCHED%' list of possible variables: - %CA_ISSUER_MATCHED% - %CHECKEDNAMES% - %CN% - %DATE% - %DAYS_VALID% - %DYSPLAY_CN% - %HOST% - %OCSP_EXPIRES_IN_HOURS% - %OPENSSL_COMMAND% - %PORT% - %SELFSIGNEDCERT% - %SHORTNAME% - %SIGALGO% - %SSL_LABS_HOST_GRADE% See --default-format for the default" |
| 240 |
} |
| 241 |
|
| 242 |
"--grep-bin" = { |
| 243 |
value = "$ssl_cert_extended_grep_bin$" |
| 244 |
description = "Path of the grep binary to be used" |
| 245 |
} |
| 246 |
|
| 247 |
"--http-headers-path" = { |
| 248 |
value = "$ssl_cert_extended_http_headers_path$" |
| 249 |
description = "The path to be used to fetch HTTP headers" |
| 250 |
} |
| 251 |
|
| 252 |
"--http-use-get" = { |
| 253 |
set_if = "$ssl_cert_extended_http_use_get$" |
| 254 |
description = "Use GET instead of HEAD (default) for the HTTP related checks" |
| 255 |
} |
| 256 |
|
| 257 |
"--issuer" = { |
| 258 |
value = "$ssl_cert_extended_issuer$" |
| 259 |
description = "Pattern to match the issuer of the certificate" |
| 260 |
} |
| 261 |
|
| 262 |
"--ignore-altnames" = { |
| 263 |
set_if = "$ssl_cert_extended_ignore_altnames$" |
| 264 |
description = "Ignore alternative names when matching pattern specified in -n (or the host name)" |
| 265 |
} |
| 266 |
|
| 267 |
"--ignore-connection-problems" = { |
| 268 |
set_if = "$ssl_cert_extended_ignore_connection_problems$" |
| 269 |
description = "[state] In case of connection problems returns OK or the optional state" |
| 270 |
} |
| 271 |
|
| 272 |
"--ignore-crl" = { |
| 273 |
set_if = "$ssl_cert_extended_ignore_crl$" |
| 274 |
description = "[state] Ignore CRLs" |
| 275 |
} |
| 276 |
|
| 277 |
"--ignore-dh" = { |
| 278 |
set_if = "$ssl_cert_extended_ignore_dh$" |
| 279 |
description = "[state] Ignore too small DH keys" |
| 280 |
} |
| 281 |
|
| 282 |
"--ignore-exp" = { |
| 283 |
set_if = "$ssl_cert_extended_ignore_exp$" |
| 284 |
description = "Ignore expiration date" |
| 285 |
} |
| 286 |
|
| 287 |
"--ignore-http-headers" = { |
| 288 |
set_if = "$ssl_cert_extended_ignore_http_headers$" |
| 289 |
description = "Ignore checks on HTTP headers with --all and --all-local" |
| 290 |
} |
| 291 |
|
| 292 |
"--ignore-host-cn" = { |
| 293 |
set_if = "$ssl_cert_extended_ignore_host_cn$" |
| 294 |
description = "Do not complain if the CN does not match the host name" |
| 295 |
} |
| 296 |
|
| 297 |
"--ignore-incomplete-chain" = { |
| 298 |
set_if = "$ssl_cert_extended_ignore_incomplete_chain$" |
| 299 |
description = "Do not check chain integrity" |
| 300 |
} |
| 301 |
|
| 302 |
"--ignore-maximum-validity" = { |
| 303 |
set_if = "$ssl_cert_extended_ignore_maximum_validity$" |
| 304 |
description = "Ignore the certificate maximum validity" |
| 305 |
} |
| 306 |
|
| 307 |
"--ignore-ocsp" = { |
| 308 |
set_if = "$ssl_cert_extended_ignore_ocsp$" |
| 309 |
description = "Do not check revocation with OCSP" |
| 310 |
} |
| 311 |
|
| 312 |
"--ignore-ocsp-errors" = { |
| 313 |
set_if = "$ssl_cert_extended_ignore_ocsp_errors$" |
| 314 |
description = "Continue if the OCSP status cannot be checked" |
| 315 |
} |
| 316 |
|
| 317 |
"--ignore-ocsp-timeout" = { |
| 318 |
set_if = "$ssl_cert_extended_ignore_ocsp_timeout$" |
| 319 |
description = "Ignore OCSP result when timeout occurs while checking" |
| 320 |
} |
| 321 |
|
| 322 |
"--ignore-sct" = { |
| 323 |
set_if = "$ssl_cert_extended_ignore_sct$" |
| 324 |
description = "Do not check for signed certificate timestamps (SCT)" |
| 325 |
} |
| 326 |
|
| 327 |
"--ignore-sig-alg" = { |
| 328 |
set_if = "$ssl_cert_extended_ignore_sig_alg$" |
| 329 |
description = "Do not check if the certificate was signed with SHA1 or MD5" |
| 330 |
} |
| 331 |
|
| 332 |
"--ignore-ssl-labs-cache" = { |
| 333 |
set_if = "$ssl_cert_extended_ignore_ssl_labs_cache$" |
| 334 |
description = "Force a new check by SSL Labs (see -L)" |
| 335 |
} |
| 336 |
|
| 337 |
"--ignore-ssl-labs-errors" = { |
| 338 |
set_if = "$ssl_cert_extended_ignore_ssl_labs_errors$" |
| 339 |
description = "Ignore errors if SSL Labs is not accessible or times out" |
| 340 |
} |
| 341 |
|
| 342 |
"--ignore-tls-renegotiation" = { |
| 343 |
set_if = "$ssl_cert_extended_ignore_tls_renegotiation$" |
| 344 |
description = "Ignore the TLS renegotiation check" |
| 345 |
} |
| 346 |
|
| 347 |
"--ignore-unexpected-eof" = { |
| 348 |
set_if = "$ssl_cert_extended_ignore_unexpected_eof$" |
| 349 |
description = "Ignore unclean TLS shutdowns" |
| 350 |
} |
| 351 |
|
| 352 |
"--inetproto" = { |
| 353 |
value = "$ssl_cert_extended_inetproto$" |
| 354 |
description = "Force IP version 4 or 6" |
| 355 |
} |
| 356 |
|
| 357 |
"--info" = { |
| 358 |
set_if = "$ssl_cert_extended_info$" |
| 359 |
description = "Print certificate information" |
| 360 |
} |
| 361 |
|
| 362 |
"--init-host-cache" = { |
| 363 |
set_if = "$ssl_cert_extended_init_host_cache$" |
| 364 |
description = "Initialize the host cache" |
| 365 |
} |
| 366 |
|
| 367 |
"--issuer-cert-cache" = { |
| 368 |
value = "$ssl_cert_extended_issuer_cert_cache$" |
| 369 |
description = "Directory where to store issuer certificates cache" |
| 370 |
} |
| 371 |
|
| 372 |
"--jks-alias" = { |
| 373 |
value = "$ssl_cert_extended_jks_alias$" |
| 374 |
description = "Alias name of the Java KeyStore entry (requires --file)" |
| 375 |
} |
| 376 |
|
| 377 |
"--clientkey" = { |
| 378 |
value = "$ssl_cert_extended_clientkey$" |
| 379 |
description = "Use client certificate key to authenticate" |
| 380 |
} |
| 381 |
|
| 382 |
"--check-ssl-labs" = { |
| 383 |
value = "$ssl_cert_extended_check_ssl_labs$" |
| 384 |
description = "SSL Labs assessment (please check https://www.ssllabs.com/about/terms.html)" |
| 385 |
} |
| 386 |
|
| 387 |
"--long-output" = { |
| 388 |
value = "$ssl_cert_extended_long_output$" |
| 389 |
description = "Append the specified comma separated (no spaces) list of attributes to the plugin output on additional lines Valid attributes are: enddate, startdate, subject, issuer, modulus, serial, hash, email, ocsp_uri and fingerprint. 'all' will include all the available attributes." |
| 390 |
} |
| 391 |
|
| 392 |
"--match" = { |
| 393 |
value = "$ssl_cert_extended_match$" |
| 394 |
description = "Pattern to match the CN or AltName (can be specified multiple times)" |
| 395 |
} |
| 396 |
|
| 397 |
"--maximum-validity" = { |
| 398 |
value = "$ssl_cert_extended_maximum_validity$" |
| 399 |
description = "The maximum validity of the certificate must not exceed 'days' (default 397) This check is automatic for HTTPS" |
| 400 |
} |
| 401 |
|
| 402 |
"--nmap-bin" = { |
| 403 |
value = "$ssl_cert_extended_nmap_bin$" |
| 404 |
description = "Path of the nmap binary to be used" |
| 405 |
} |
| 406 |
|
| 407 |
"--nmap-with-proxy" = { |
| 408 |
value = "$ssl_cert_extended_nmap_with_proxy$" |
| 409 |
description = "Allow nmap to be used with a proxy" |
| 410 |
} |
| 411 |
|
| 412 |
"--no-perf" = { |
| 413 |
set_if = "$ssl_cert_extended_no_perf$" |
| 414 |
description = "Do not show performance data" |
| 415 |
} |
| 416 |
|
| 417 |
"--no-proxy" = { |
| 418 |
set_if = "$ssl_cert_extended_no_proxy$" |
| 419 |
description = "Ignore the http_proxy and https_proxy environment variables" |
| 420 |
} |
| 421 |
|
| 422 |
"--no-proxy-curl" = { |
| 423 |
set_if = "$ssl_cert_extended_no_proxy_curl$" |
| 424 |
description = "Ignore the http_proxy and https_proxy environment variables for curl" |
| 425 |
} |
| 426 |
|
| 427 |
"--no-proxy-s_client" = { |
| 428 |
set_if = "$ssl_cert_extended_no_proxy_s_client$" |
| 429 |
description = "Ignore the http_proxy and https_proxy environment variables for openssl s_client" |
| 430 |
} |
| 431 |
|
| 432 |
"--no-ssl2" = { |
| 433 |
set_if = "$ssl_cert_extended_no_ssl2$" |
| 434 |
description = "Disable SSL version 2" |
| 435 |
} |
| 436 |
|
| 437 |
"--no-ssl3" = { |
| 438 |
set_if = "$ssl_cert_extended_no_ssl3$" |
| 439 |
description = "Disable SSL version 3" |
| 440 |
} |
| 441 |
|
| 442 |
"--no-tls1" = { |
| 443 |
set_if = "$ssl_cert_extended_no_tls1$" |
| 444 |
description = "Disable TLS version 1" |
| 445 |
} |
| 446 |
|
| 447 |
"--no-tls1_1" = { |
| 448 |
set_if = "$ssl_cert_extended_no_tls1_1$" |
| 449 |
description = "Disable TLS version 1.1" |
| 450 |
} |
| 451 |
|
| 452 |
"--no-tls1_2" = { |
| 453 |
set_if = "$ssl_cert_extended_no_tls1_2$" |
| 454 |
description = "Disable TLS version 1.2" |
| 455 |
} |
| 456 |
|
| 457 |
"--no-tls1_3" = { |
| 458 |
set_if = "$ssl_cert_extended_no_tls1_3$" |
| 459 |
description = "Disable TLS version 1.3" |
| 460 |
} |
| 461 |
|
| 462 |
"--not-issued-by" = { |
| 463 |
value = "$ssl_cert_extended_not_issued_by$" |
| 464 |
description = "Check that the issuer of the certificate does not match the given pattern" |
| 465 |
} |
| 466 |
|
| 467 |
"--not-valid-longer-than" = { |
| 468 |
value = "$ssl_cert_extended_not_valid_longer_than$" |
| 469 |
description = "Critical if the certificate validity is longer than the specified period" |
| 470 |
} |
| 471 |
|
| 472 |
"--org" = { |
| 473 |
value = "$ssl_cert_extended_org$" |
| 474 |
description = "Pattern to match the organization of the certificate" |
| 475 |
} |
| 476 |
|
| 477 |
"--ocsp-critical" = { |
| 478 |
value = "$ssl_cert_extended_ocsp_critical$" |
| 479 |
description = "Minimum number of hours an OCSP response has to be valid to issue a critical status" |
| 480 |
} |
| 481 |
|
| 482 |
"--ocsp-warning" = { |
| 483 |
value = "$ssl_cert_extended_ocsp_warning$" |
| 484 |
description = "Minimum number of hours an OCSP response has to be valid to issue a warning status" |
| 485 |
} |
| 486 |
|
| 487 |
"--openssl" = { |
| 488 |
value = "$ssl_cert_extended_openssl$" |
| 489 |
description = "Path of the openssl binary to be used" |
| 490 |
} |
| 491 |
|
| 492 |
"--path" = { |
| 493 |
value = "$ssl_cert_extended_path$" |
| 494 |
description = "Set the PATH variable to 'path'" |
| 495 |
} |
| 496 |
|
| 497 |
"--port" = { |
| 498 |
value = "$ssl_cert_extended_port$" |
| 499 |
description = "TCP port (default 443)" |
| 500 |
} |
| 501 |
|
| 502 |
"--precision" = { |
| 503 |
value = "$ssl_cert_extended_precision$" |
| 504 |
description = "Number of decimal places for durations:defaults to 0 if critical or warning are integers, 2 otherwise" |
| 505 |
} |
| 506 |
|
| 507 |
"--protocol" = { |
| 508 |
value = "$ssl_cert_extended_protocol$" |
| 509 |
description = "Use the specific protocol: dns, ftp, ftps, http, https (default), h2 (HTTP/2), imap, imaps, irc, ircs, ldap, ldaps, mysql, pop3, pop3s, postgres, sieve, smtp, smtps, tds, xmpp, xmpp-server. ftp, imap, irc, ldap, pop3, postgres, sieve, smtp: switch to TLS using StartTLS" |
| 510 |
} |
| 511 |
|
| 512 |
"--password" = { |
| 513 |
value = "$ssl_cert_extended_password$" |
| 514 |
description = "Password source for a local certificate, see the PASS PHRASE ARGUMENTS section openssl(1)" |
| 515 |
} |
| 516 |
|
| 517 |
"--prometheus" = { |
| 518 |
set_if = "$ssl_cert_extended_prometheus$" |
| 519 |
description = "Generate Prometheus/OpenMetrics output" |
| 520 |
} |
| 521 |
|
| 522 |
"--proxy" = { |
| 523 |
value = "$ssl_cert_extended_proxy$" |
| 524 |
description = "Set http_proxy and the s_client -proxy option" |
| 525 |
} |
| 526 |
|
| 527 |
"--python-bin" = { |
| 528 |
value = "$ssl_cert_extended_python_bin$" |
| 529 |
description = "Path of the python binary to be used" |
| 530 |
} |
| 531 |
|
| 532 |
"--quic" = { |
| 533 |
set_if = "$ssl_cert_extended_quic$" |
| 534 |
description = "Use QUIC" |
| 535 |
} |
| 536 |
|
| 537 |
"--quiet" = { |
| 538 |
set_if = "$ssl_cert_extended_quiet$" |
| 539 |
description = "Do not produce any output" |
| 540 |
} |
| 541 |
|
| 542 |
"--rootcert" = { |
| 543 |
value = "$ssl_cert_extended_rootcert$" |
| 544 |
description = "Root certificate or directory to be used for certificate validation" |
| 545 |
} |
| 546 |
|
| 547 |
"--require-client-cert" = { |
| 548 |
value = "$ssl_cert_extended_require_client_cert$" |
| 549 |
description = "The server must accept a client certificate. 'list' is an optional comma separated list of expected client certificate CAs" |
| 550 |
} |
| 551 |
|
| 552 |
"--require-dnssec" = { |
| 553 |
set_if = "$ssl_cert_extended_require_dnssec$" |
| 554 |
description = "Require DNSSEC" |
| 555 |
} |
| 556 |
|
| 557 |
"--require-http-header" = { |
| 558 |
value = "$ssl_cert_extended_require_http_header$" |
| 559 |
description = "Require the specified HTTP header (e.g., X-Frame-Options)" |
| 560 |
} |
| 561 |
|
| 562 |
"--require-no-http-header" = { |
| 563 |
value = "$ssl_cert_extended_require_no_http_header$" |
| 564 |
description = "Require the absence of the specified HTTP header (e.g., X-Powered-By)" |
| 565 |
} |
| 566 |
|
| 567 |
"--require-no-ssl2" = { |
| 568 |
set_if = "$ssl_cert_extended_require_no_ssl2$" |
| 569 |
description = "Critical if SSL version 2 is offered" |
| 570 |
} |
| 571 |
|
| 572 |
"--require-no-ssl3" = { |
| 573 |
set_if = "$ssl_cert_extended_require_no_ssl3$" |
| 574 |
description = "Critical if SSL version 3 is offered" |
| 575 |
} |
| 576 |
|
| 577 |
"--require-no-tls1" = { |
| 578 |
set_if = "$ssl_cert_extended_require_no_tls1$" |
| 579 |
description = "Critical if TLS 1 is offered" |
| 580 |
} |
| 581 |
|
| 582 |
"--require-no-tls1_1" = { |
| 583 |
set_if = "$ssl_cert_extended_require_no_tls1_1$" |
| 584 |
description = "Critical if TLS 1.1 is offered" |
| 585 |
} |
| 586 |
|
| 587 |
"--require-no-tls1_2" = { |
| 588 |
set_if = "$ssl_cert_extended_require_no_tls1_2$" |
| 589 |
description = "Critical if TLS 1.2 is offered" |
| 590 |
} |
| 591 |
|
| 592 |
"--require-ocsp-stapling" = { |
| 593 |
set_if = "$ssl_cert_extended_require_ocsp_stapling$" |
| 594 |
description = "Require OCSP stapling" |
| 595 |
} |
| 596 |
|
| 597 |
"--require-purpose" = { |
| 598 |
value = "$ssl_cert_extended_require_purpose$" |
| 599 |
description = "Require the specified key usage (can be specified more then once)" |
| 600 |
} |
| 601 |
|
| 602 |
"--require-purpose-critical" = { |
| 603 |
set_if = "$ssl_cert_extended_require_purpose_critical$" |
| 604 |
description = "The key usage must be critical" |
| 605 |
} |
| 606 |
|
| 607 |
"--resolve" = { |
| 608 |
value = "$ssl_cert_extended_resolve$" |
| 609 |
description = "Provide a custom IP address for the specified host" |
| 610 |
} |
| 611 |
|
| 612 |
"--resolve-over-http" = { |
| 613 |
value = "$ssl_cert_extended_resolve_over_http$" |
| 614 |
description = "Resolve the host over HTTP using Google or the specified server" |
| 615 |
} |
| 616 |
|
| 617 |
"--rootcert-dir" = { |
| 618 |
value = "$ssl_cert_extended_rootcert_dir$" |
| 619 |
description = "Root directory to be used for certificate validation" |
| 620 |
} |
| 621 |
|
| 622 |
"--rootcert-file" = { |
| 623 |
value = "$ssl_cert_extended_rootcert_file$" |
| 624 |
description = "Root certificate to be used for certificate validation" |
| 625 |
} |
| 626 |
|
| 627 |
"--rsa" = { |
| 628 |
set_if = "$ssl_cert_extended_rsa$" |
| 629 |
description = "Signature algorithm selection: force RSA certificate" |
| 630 |
} |
| 631 |
|
| 632 |
"--security-level" = { |
| 633 |
value = "$ssl_cert_extended_security_level$" |
| 634 |
description = "Set the security level to specified value See SSL_CTX_set_security_level(3) for a description of what each level means" |
| 635 |
} |
| 636 |
|
| 637 |
"--selfsigned" = { |
| 638 |
set_if = "$ssl_cert_extended_selfsigned$" |
| 639 |
description = "Allow self-signed certificates" |
| 640 |
} |
| 641 |
|
| 642 |
"--serial" = { |
| 643 |
value = "$ssl_cert_extended_serial$" |
| 644 |
description = "Pattern to match the serial number" |
| 645 |
} |
| 646 |
|
| 647 |
"--skip-element" = { |
| 648 |
value = "$ssl_cert_extended_skip_element$" |
| 649 |
description = "Skip checks on the Nth cert element (can be specified multiple times)" |
| 650 |
} |
| 651 |
|
| 652 |
"--sni" = { |
| 653 |
value = "$ssl_cert_extended_sni$" |
| 654 |
description = "Set the TLS SNI (Server Name Indication) extension in the ClientHello message to 'name'" |
| 655 |
} |
| 656 |
|
| 657 |
"--ssl2" = { |
| 658 |
set_if = "$ssl_cert_extended_ssl2$" |
| 659 |
description = "Force SSL version 2" |
| 660 |
} |
| 661 |
|
| 662 |
"--ssl3" = { |
| 663 |
set_if = "$ssl_cert_extended_ssl3$" |
| 664 |
description = "Force SSL version 3" |
| 665 |
} |
| 666 |
|
| 667 |
"--timeout" = { |
| 668 |
value = "$ssl_cert_extended_timeout$" |
| 669 |
description = "Timeout after the specified time (defaults to 120 seconds)" |
| 670 |
} |
| 671 |
|
| 672 |
"--temp" = { |
| 673 |
value = "$ssl_cert_extended_temp$" |
| 674 |
description = "Directory where to store the temporary files" |
| 675 |
} |
| 676 |
|
| 677 |
"--terse" = { |
| 678 |
set_if = "$ssl_cert_extended_terse$" |
| 679 |
description = "Terse output" |
| 680 |
} |
| 681 |
|
| 682 |
"--tls1" = { |
| 683 |
set_if = "$ssl_cert_extended_tls1$" |
| 684 |
description = "Force TLS version 1" |
| 685 |
} |
| 686 |
|
| 687 |
"--tls1_1" = { |
| 688 |
set_if = "$ssl_cert_extended_tls1_1$" |
| 689 |
description = "Force TLS version 1.1" |
| 690 |
} |
| 691 |
|
| 692 |
"--tls1_2" = { |
| 693 |
set_if = "$ssl_cert_extended_tls1_2$" |
| 694 |
description = "Force TLS version 1.2" |
| 695 |
} |
| 696 |
|
| 697 |
"--tls1_3" = { |
| 698 |
set_if = "$ssl_cert_extended_tls1_3$" |
| 699 |
description = "Force TLS version 1.3" |
| 700 |
} |
| 701 |
|
| 702 |
"--url" = { |
| 703 |
value = "$ssl_cert_extended_url$" |
| 704 |
description = "HTTP request URL" |
| 705 |
} |
| 706 |
|
| 707 |
"--user-agent" = { |
| 708 |
value = "$ssl_cert_extended_user_agent$" |
| 709 |
description = "User agent that shall be used for HTTPS connections" |
| 710 |
} |
| 711 |
|
| 712 |
"--verbose" = { |
| 713 |
set_if = "$ssl_cert_extended_verbose$" |
| 714 |
description = "Verbose output (can be specified more than once)" |
| 715 |
} |
| 716 |
|
| 717 |
"--warning" = { |
| 718 |
value = "$ssl_cert_extended_warning$" |
| 719 |
description = "Minimum number of days a certificate has to be valid to issue a warning status. Can be a floating point number, e.g., 0.5 Default: 20" |
| 720 |
} |
| 721 |
|
| 722 |
"--xmpphost" = { |
| 723 |
value = "$ssl_cert_extended_xmpphost$" |
| 724 |
description = " Specify the host for the 'to' attribute of the stream element" |
| 725 |
} |
| 726 |
|
| 727 |
"-4" = { |
| 728 |
set_if = "$ssl_cert_extended_4$" |
| 729 |
description = "Force IPv4" |
| 730 |
} |
| 731 |
|
| 732 |
"-6" = { |
| 733 |
set_if = "$ssl_cert_extended_6$" |
| 734 |
description = "Force IPv6" |
| 735 |
} |
| 736 |
} |
| 737 |
|
| 738 |
vars.ssl_cert_extended_warning = 30 |
| 739 |
vars.ssl_cert_extended_critical = 14 |
| 740 |
vars.ssl_cert_extended_require_no_ssl2 = true |
| 741 |
vars.ssl_cert_extended_require_no_ssl3 = true |
| 742 |
vars.ssl_cert_extended_require_no_tls1 = true |
| 743 |
vars.ssl_cert_extended_require_no_tls1_1 = true |
| 744 |
} |