--- title: "Uploading client certificate to syslog collection" slug: "uploading-client-certificate-to-syslog-collection-2" tags: ["Install and Get Started", "NDR 4.x", "Customer", "Network Security"] updated: 2026-11-17T09:23:23Z published: 2026-11-17T09:23:23Z canonical: "docs.trellix.com/uploading-client-certificate-to-syslog-collection-2" --- > ## 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. # Uploading client certificate to syslog collection You can upload the syslog client certificates to the Syslog collection of your NDR appliance using the following request: ``` POST https:///config/v1/certmgmt/collection/syslog/upload ``` > [!NOTE] > Note > > To use this request, you must belong to the sudo group. Required header: ``` --user : ``` Request body (form-data): ``` {ca: 'TEXT'}       ``` ### Options - NDR_IP_address—IP address of the NDR appliance running the NDR API. - username—Administrator user name. - password—Administrator password. ###### Parameters - `ca` (string)—The name of a certificate you want to upload to the syslog collection. ### Example ``` POST https:///config/v1/certmgmt/collection/syslog/upload ``` Required header: ``` --user npadmin:hammerhead ``` Request body: ``` {   ca :@ca.pem  } ``` ### Response fields - Response Code—A standard HTTP response code. - Response Message—A standard HTTP response message. - Date—Standard HTML date format. ### Example ``` HTTP/1.1 100 Continue HTTP/1.1 200 OK Date: Tue, 24 Jan 2017 18:38:24 GMT [  "1b7c60e9327d5e67de7f381c1bab873d7494dd0b56cd6230253b18ba3cdd3698",  "987ab86dcf7879812e123f12bb8976cc8670a9870d987ee780134b76deadbeef" ] ``` ### cURL code sample: uploading client certificate The code sample was run with cURL 7.57.0. ``` curl -k --user npadmin:hammerhead https://xxx.xxx.xxx.xxx/config/v1/certmgmt/collection/syslog/upload -X POST -F "ca=@ca.pem" ``` This cURL sample includes the following options: - `-k`—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate. - `--user npadmin:hammerhead`—Replace `npadmin` with the user name of the administrator for your NDR appliance. Replace `hammerhead` with the administrator password for your NDR appliance. - `https://xxx.xxx.xxx.xxx/config/v1/certmgmt/collection/syslog/upload`—The request URL. Replace `xxx.xxx.xxx.xxx` with the IP address of your NDR appliance. - `-X POST`—This option specifies using the POST method. - `-F "ca=@ca.pem`—This option specifies the certificate to be uploaded to the syslog collection. Replace `ca.pem` with the name of the certificate you want to upload. ### Results This example uploads `ca.pem` certificate to the syslog collection. Similarly, you can upload rslclient-cert.pem certificate by replacing `ca.pem` with `rslclient-cert.pem` .