--- title: "Generate self-signed certificate" slug: "generate-self-signed-certificate" tags: ["Reference", "NDRC 4.x", "Customer", "Network Security", "NDR 4.x"] updated: 2026-09-09T18:07:45Z published: 2026-09-09T18:07:45Z canonical: "docs.trellix.com/generate-self-signed-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. # Generate self-signed certificate To generate self-signed certificate, send the following request: ``` POST https:///config/v1/tlc/nicertificate ``` Required headers: ``` Content-Type: multipart/form-data ``` ### Options - IA_IP_address—The IP address of the NDR appliance running the NDR API. ### Example ``` POST https://xxx.xxx.xxx.xxx/config/v1/tlc/nicertificate ``` Required headers: ``` Content-Type: multipart/form-data ``` ### Generate self-signed certificate: Response ``` HTTP/1.1 [Response Code] [Response Message] Server: [Server] ``` ###### Response fields - Response message—A standard HTTP response message. - Request successful; Successfully generated self signed certificate and broker keystore. ### cURL code sample: Generate self-signed certificate ``` curl -k -u : -XPOST http://xxx.xxx.xxx.xxx/config/v1/tlc/nicertificate -d '{"password":"xxx","country":"XX","state":"xxx","city":"xx","company":"xxxx","section":"XXX","hostname":"xxx","email":"xx"}' ``` This cURL sample includes the following options: - `-X POST`—Specifies using the POST method. - -u username:password—Specifies the username and password of the NDR appliance. - `http://xxx.xxx.xxx.xxx/config/v1/tlc/nicertificate`—The certificate request URL. Replace `xxx.xxx.xxx.xxx` with the IP address of your NDR appliance. - `-d`—Specifies the request body. ###### Results This example generates self-signed certificate to your NDR appliance.