client_​certificate

Version: v2023-01-05Includes use: Yes

Criterion name: Client certificate

Matches whether you have configured a client certificate to authenticate requests to edge servers.

Default criterion

These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.

data "akamai_property_rules_builder" "client_certificate" {
  rules_v2023_01_05 {
    name     = "Client certificate"
    comments = "Matches whether you have configured a client certificate to authenticate requests to edge servers."
    criterion {
      client_certificate {
        is_certificate_present = true
        is_certificate_valid = "IGNORE"
      }
    }
  }
}
"criterion": [
  {
    "name": "clientCertificate",
    "options": {
      "isCertificatePresent": true,
      "isCertificateValid": "IGNORE"
    }
  }
]

Options

Option Description
is_certificate_present
Executes rule behaviors only if a client certificate authenticates requests.
is_certificate_valid
Matches on the certificate's validity. Value is one of:
  • VALID. Match when the certificate is valid.
  • INVALID. Match when the certificate is invalid.
  • IGNORE. Ignores the certificate's is valid.