--- title: "hx pki agent cert-days" slug: "hx-pki-agent-cert-days" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:21:57Z published: 2026-08-04T17:21:57Z canonical: "docs.trellix.com/hx-pki-agent-cert-days" stale: true --- > ## 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. # hx pki agent cert-days Sets the duration of Trellix Endpoint Security Agent (HX) certificates, in days. ### Syntax `[no] hx pki agent cert-days [<nnn>]` ### Parameters `no` Resets the certificate duration to the default of 1825 days. `cert-days [<nnn>]` Specify the number of days for which Endpoint Security Agent (HX) certificates are valid. Valid values are numbers between 0 and 65535. The default is 1825 (5 years). If you are using the `no` form of this command, you do not need to specify the number of days (although you do need to include the keyword cert-days). For example, `no hx pki server cert-days`. ### Example The following example sets the agent certificate duration to 42 days: ``` hostname (config) # hx pki agent cert-days 42 ``` ### User role Admin ### Command mode Config ### Supported appliances This command is supported on the following appliances running the specified releases or later: - **Endpoint Security (HX):** Release 2.5