This URL gets the SSL configuration on the Sensor and is applicable for Sensors other than 9.2 NS-series.
Resource URL
GET / sensor/<sensor_id>/sslconfiguration
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Sensor Id | Number | Yes |
Response Parameters
Following fields are returned.
Field Name | Description | Data Type |
|---|---|---|
| Enable SSL on Sensor | Boolean |
| Current status of Sensor | String |
| Enable packet logging on Sensor | Boolean |
| SSL flows enabled on Sensor | String |
| SSL cache timer | String |
| Maximum concurrent TCP-UDP flows allowed on Sensor | String |
Example
Request
GET https://<NSM_IP>/sdkapi/sensor/1002/sslconfiguration
Response
{
"enableSSl": true,
"currentStatus": "Enabled[25000]",
"enablePktLogging": false,
"sslFlows": "25000",
"sslCacheTimer": "5",
"maxConcurrentTCPUDPFlows": null
}
Error Information
Following error codes are returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1106 | Invalid Sensor |
2 | 500 | 1124 | The Sensor is inactive |