--- title: "hx pki export file" slug: "hx-pki-export-file" 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-export-file" 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 export file Backs up the Trellix Endpoint Security Agent (HX) certificates by exporting the PKI keys to a file. This is an essential step if you are going to reinstall, update, or reset an appliance. If you do not back up your agent certificates, you are required to reinstall your agents after upgrading your appliance. ### Syntax `hx pki export file <file URL> [passphrase <passphrase>]` ### Parameters `export file <file URL>` This command specifies a path to which the certificate are sent. `passphrase <passphrase>` Optionally, specify a passphrase for the certificate backup file. ### Example The following example backs up your agent certificate to a URL and assigns the password "password123" to the backup file: ``` hostname (config) # hx pki export file scp://user@host:/path/to/file passphrase password123 ``` ### 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