--- title: "Setting agent certificate length" slug: "setting-agent-certificate-length" tags: ["HX 11.x", "Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T15:49:39Z published: 2026-09-10T15:49:39Z canonical: "docs.trellix.com/setting-agent-certificate-length" --- > ## 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. # Setting agent certificate length To set the length of Trellix Endpoint Security (HX) agent certificates: 1. Enable CLI configuration mode. ``` hostname > enable hostname # configure terminal                   ``` 2. Specify the certificate length, in bits: ``` hostname (config) # hx pki agent cert-bits                   ``` where `<bits>` is the number of bits for the agent certificates. Valid values range from 1024 and 4096 bits. The default is 2048 bits. To set the length back to the default, use the `no` form of this command: ``` hostname (config) # no hx pki agent cert-bits                   ``` 3. Save your changes: ``` hostname (config) # write memory                   ``` :