--- title: "Defining LDAP search filters for certificate authorization using the CLI" slug: "defining-ldap-search-filters-for-certificate-authorization-using-the-cli-1" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-09-01T19:03:12Z published: 2026-09-01T19:03:12Z canonical: "docs.trellix.com/defining-ldap-search-filters-for-certificate-authorization-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Defining LDAP search filters for certificate authorization using the CLI Use the CLI commands in this section to define an LDAP search filter for certificate authorization. To define an LDAP search filter for certificate authorization: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the LDAP search filter for certificate authorization. ``` hostname (config) # aaa authorization certificate map-ldap search-filter ``` ### Note If the text of the` <filter_string> `parameter contains spaces, enclose the string with double quotation marks. The following example shows how to define an LDAP filter: ``` hostname (config) # aaa authorization certificate map-ldap search-filter "(!(cn=Test Cardholder))" ``` 3. Verify the setting of the LDAP search filter. ``` hostname (config) # show aaa authorization certificate ``` ``` Certificate based authorization settings: ``` ```  LDAP enabled               : yes ``` ```  LDAP Match Attribute       : uid ``` ```  Certificate field to match : x509-cert-subject ``` ``` LDAP Search Filter         : (!(cn=Test Cardholder)) ``` ```  Username override          : no ``` 4. Save your changes. ``` hostname (config) # write memory ``` :