--- title: "Regenerating the system self-signed certificate using the CLI" slug: "regenerating-the-system-self-signed-certificate-using-the-cli-1" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-09-01T19:03:07Z published: 2026-09-01T19:03:07Z canonical: "docs.trellix.com/regenerating-the-system-self-signed-certificate-using-the-cli-1" --- > ## 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. # Regenerating the system self-signed certificate using the CLI Use the commands in this section to regenerate the system self-signed certificate. ### Important If the Web server is configured to use the system self-signed certificate, the` web server certificate regenerate `command will also regenerate and replace the system self-signed certificate. To regenerate the system self-signed certificate: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Regenerate the certificate: - To extend the expiration date by 365 days: ``` hostname (config) # crypto certificate system-self-signed regenerate ``` - To extend the expiration date by a different number of days: ``` hostname (config) # crypto certificate system-self-signed days-valid ``` 3. Verify your change: ``` hostname (config) # show crypto certificate name system-self-signed ``` 4. Save your changes. ``` hostname (config) # write memory ``` ### Example The following example regenerates the system self-signed certificate and extends the expiration date by two years. ``` hostname (config) # crypto certificate system-self-signed regenerate days-valid 730 hostname (config) # show crypto certificate name system-self-signed Certificate with name 'system-self-signed'    Comment:                     system-generated self-signed certificate    Private Key:                 present    Serial Number:               0x71a676d9a1j5d8a316488f9d683kkc0    SHA-1 Fingerprint:           7g04933d77491wgeg2h78d2a6f34s50cech324c78    Validity:        Starts:                  2015/04/25 20:32:50        Expires:                 2017/04/22 20:32:50            ...         ``` :