To enable SSL verification, send the following request:
PUT https://<IA_IP_address>:<port_number>/config/v1/device/<device_IP>/sslverify/enabled/{true|false}Required header:
Cookie: px=<token>
Note
To use this request, your user account must be assigned to the Admin role.
Options
IA_IP_address—The IP address of the NDR appliance running the NDR API.
port_number—The port number of the NDR appliance running the NDR API.
token—This token authenticates the session. By default, the session times out after 24 hours.
Parameters
device_IP—IP address of the configured device.true|false—Enables or disables host polling.
Example
PUT https://xxx.xxx.xxx.xxx:443/config/v1/device/1.1.1.1/sslverify/enabled/true
Required header:
Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Enable SSL verification: Response
HTTP/1.1 [Response Code] [Response Message] Date: [Date] Content-Type: [Content Type]
Response fields
Response Code—A standard HTTP response code.
200—Request successful; SSL verification enabled/disabled state was changed.
201—Request successful; SSL verification was enabled/disabled for the first time.
Date—Standard HTML date format.
Example
HTTP/1.1 200 OK Date: Fri, 16 Aug 2019 10:33:23 GMT
cURL code sample: Enable SSL verification
curl -k --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -X PUT https://xxx.xxx.xxx.xxx:443/config/v1/device/1.1.1.1/sslverify/enabled/true
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.--cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"—This option specifies the authentication token for this session.-X PUT—This option specifies using the PUT method.https://xxx.xxx.xxx.xxx:443/config/v1/device/1.1.1.1/sslverify/enabled/true—The SSL verification request URL. Replacexxx.xxx.xxx.xxxwith the IP address of your NDR appliance,1.1.1.1with the IP address of the configured device, andtruewith the desired Boolean value.
Results
This example enables SSL verification.