--- title: "crypto certificate name <name> private-key pem <PEM_string>" slug: "crypto-certificate-name-name-private-key-pem-pem-string" 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:22:22Z published: 2026-08-04T17:22:22Z canonical: "docs.trellix.com/crypto-certificate-name-name-private-key-pem-pem-string" 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. # crypto certificate name <name> private-key pem <PEM_string> Adds a certificate private key in PEM format. ### Syntax `crypto certificate name <name> private-key pem <pem_string>` ### Parameters `name` The name of a public certificate, or `system-self-signed`. `pem_string` The certificate in PEM format. ##### PEM String Format The certificate and private key must be configured as a Privacy Enhanced Email (PEM) encrypted ASCII string. The string must be formatted in the following order: 1. Double quotation marks 2. A new line 3. BEGIN delimiter string 4. ASCII block 5. END delimiter string 6. A new line 7. Double quotation marks > [!NOTE] > Note > > You can press Enter in the CLI to add a new line. If a comment is added, it must follow the final double quotation marks and be on the same line. Any commentary outside the BEGIN and END delimiter strings is ignored. The following is an example PEM string (with a truncated ASCII block): ``` >" > >----BEGIN CERTIFICATE----- >MIIEujCCA6KgAwIBAgIJAI/1cFcdOeykMA0GCSqGSIb3DQEBBQ >UAMIGZMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5p >YTERMA8GA1UEBxMITWlscGl0YXMTJDE3GDS9DYEDLO9EWS6Fx= >. >. >. >----END CERTIFICATE----- > >" ``` ### Example The following example installs the specified public certificate. ``` hostname (config) # crypto certificate name cert12345 private-key pem " -----BEGIN CERTIFICATE----- MIICLDCCAdKgAwIBAgIBADAKBggqhkjOPQQDAjB9MQswCQYDVQQGEwJCRTEPMA0G A1UEChMGR251VExTMSUwIwYDVQQLExxHbnVUTFMgY2VydGlmaWNhdGUgYXV0aG9y aXR5MQ8wDQYDVQQIEwZMZXV2ZW4xJTAjBgNVBAMTHEdudVRMUyBjZXJ0aWZpY2F0 ZSBhdXRob3JpdHkwHhcNMTEwNTIzMjAzODIxWhcNMTIxMjIyMDc0MTUxWjB9MQsw CQYDVQQGEwJCRTEPMA0GA1UEChMGR251VExTMSUwIwYDVQQLExxHbnVUTFMgY2Vy ... -----END CERTIFICATE----- " ``` ### User role Admin ### Command mode Config ### Supported ppliances This command is supported on the following appliances running the specified releases or later: - **Central Management System:** Before Release 7.6 - **Malware Analysis:** Before Release 7.6 - **Email Security — Server:** Before Release 7.6 - **File Protect:** Before Release 7.6 - **Network Security:** Before Release 7.6 - **Endpoint Security (HX):** Before Release 3.0