clientCertificate


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

OptionTypeDescriptionRequires
is​Certificate​Presentboolean

Executes rule behaviors only if a client certificate authenticates requests.

{"displayType":"boolean","tag":"input","type":"checkbox"}
is​Certificate​Validenum

Matches whether the certificate is VALID or INVALID. You can also IGNORE the certificate's validity.

is​Certificate​Present is true
{"displayType":"enum","options":["VALID","INVALID","IGNORE"],"tag":"select"}
{"if":{"attribute":"isCertificatePresent","op":"eq","value":true}}
VALID

Match when the certificate is valid.

INVALID

Match when the certificate is invalid.

IGNORE

Ignores the certificate's is valid.

enforce​Mtlsboolean

Specifies custom request handling depending on the result of checks in the enforce​Mtls​Settings behavior. For example, logging requests when an invalid client certificate is present. Add the enforce​Mtls​Settings behavior to a parent rule, with its own unique match condition and the enable​Deny​Request option disabled.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"op":"and","params":[{"op":"or","params":[{"attribute":"isCertificateValid","op":"eq","value":"VALID"},{"attribute":"isCertificateValid","op":"eq","value":"INVALID"}]},{"attribute":"modulesOnContract","op":"contains","scope":"global","value":"mTLS_client_to_edge"}]}}