--- title: "hx pki import file" slug: "hx-pki-import-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-import-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 import file Restores the Trellix Endpoint Security Agent (HX) certificates from a backup file. This is an essential step after you reinstall, update, or reset an appliance. If you do not retrieve these keys after you update, reinstall, or reset the appliance, you are required to reinstall your agents. > [!WARNING] > Caution > > Using this command detaches any HXD (DMZ) appliance from the HX appliance. You need to reattach them after running this command. ### Syntax `hx pki import file <file URL> [passphrase <passphrase>]` ### Parameters `import file <file URL>` Specify the URL of the backup file from which the Endpoint Security Agent (HX) certificates are restored. `passphrase <passphrase>` Specify the passphrase if one was used to create the backup file. ### Example The following example imports the Endpoint Security Agent (HX) certificates from a URL and specifies the required passphrase: ``` hostname (config) # hx pki import 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