--- title: "Upload server certificate" slug: "upload-server-certificate" tags: ["Reference"] updated: 2026-09-03T18:40:47Z published: 2026-09-03T18:40:47Z canonical: "docs.trellix.com/upload-server-certificate" --- > ## 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. # Upload server certificate Uploads the server certificate. ### API URL `POST https://<host>/wsapis/v2.0.0/certmgmt/servercerts -d <payload>` ### Payload JSON containing the following fields: ``` "certificate_name" : "(string) " "certificate_body" : "(string) " "pvt_key_body" : "(string) " "csr_name" : (string)—Optional. If there is a CSR that needs to be used as private key source "https_activate": (string)—Optional. Activate for HTTPS after upload. Private key must be present. "mta_activate": (string)—Optional. Activate for MTA after upload. Private key must be present. (EX only) ``` ### Sample curl requests `curl -kg -H "$c" -H 'content-type:application/json' "https://<host>/wsapis/v2.0.0/certmgmt/servercerts" -d @upload_cert.json` **Availability** This command is available on the following platforms: - Network Security - Helix Enterprise - Email Security — Server ### Authentication Standard WSAPI authentication :