--- title: "Setting certificate length" slug: "setting-certificate-length-5" tags: ["HX 10.x", "Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T21:18:41Z published: 2026-09-10T21:18:41Z canonical: "docs.trellix.com/setting-certificate-length-5" --- > ## 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 certificate length To set the length of Endpoint Security (HX) certificates: 1. Enable CLI configuration mode. ``` hostname > enable hostname # configure terminal                   ``` 2. Specify the certificate length, in bits: ``` hostname (config) # hx pki server cert-bits                   ``` where `<bits>` is the number of bits for the Endpoint Security (HX) 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 server cert-bits                   ``` 3. Save your changes: ``` hostname (config) # write memory                   ``` :