To regenerate self-signed certificate, send the following request:
PUT https://<IA_IP_address>/config/v1/tlc/nicertificate
Options
IA_IP_address—The IP address of the NDR appliance running the NDR API.
Example
PUT https://xxx.xxx.xxx.xxx/config/v1/tlc/nicertificate
Regenerate self-signed certificate: Response
Response fields
Response message: Successfully regenerated self signed certificate and broker keystore.
cURL code sample: Regenerate self-signed certificate
curl -k -u <username>:<password> -XPUT 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 PUT—Specifies using the PUT 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. Replacexxx.xxx.xxx.xxxwith the IP address of your NDR appliance.-d—Specifies the request body.
Results
This example regenerates self-signed certificate to your NDR appliance.