--- title: "Setting Endpoint Security (HX) certificate duration" slug: "setting-endpoint-security-hx-certificate-duration" tags: ["Endpoint Security (HX)", "Product Usage"] updated: 2026-09-23T17:24:36Z published: 2026-09-23T17:24:36Z canonical: "docs.trellix.com/setting-endpoint-security-hx-certificate-duration" --- > ## 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 Endpoint Security (HX) certificate duration To set the duration of Endpoint Security (HX) certificates: 1. Enable CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the certificate duration, in days: ``` hostname (config) # hx pki server cert-days ``` where `<days>` is the number of days that the Endpoint Security (HX) certificate remains active. Valid values range from 0 and 65535 days. The default is 1825 days (5 years). To set the duration back to the default, use the `no` form of this command: ``` hostname (config) # no hx pki server cert-days ``` 3. Save your changes: ``` hostname (config) # write memory ``` :