This URL gets all the internal web server certificates available on the Manager.
Resource URL
GET /domain/sslconfiguration/internalwebservercerts
Request Parameters
URL Parameters: None
Response Parameters
Following fields are returned.
Field Name | Description | Data Type |
|---|---|---|
| List of all the internal web server certificates | Array |
Details of objects in internalWebServerCerts:
Field Name | Description | Data Type |
|---|---|---|
| State of the certificate file. If enabled or not. | Boolean |
| Alias for the SSL key | String |
| Name of the issuer | String |
| Certificate file name | String |
| Certificate validity details | Object |
| List of Sensors on which the key is installed | Array |
| Last update details | Object |
Details of validity:
Field Name | Description | Data Type |
|---|---|---|
| Validity from date | String |
| Validity end date | String |
| Status of the validity. Values can be:
| String |
Details of lastUpdated:
Field Name | Description | Data Type |
|---|---|---|
| Last update time | String |
| Last updated by user | String |
Example
Request
GET https://<NSM_IP>/sdkapi/domain/sslconfiguration/internalwebservercerts
Response
{
"internalWebServerCerts": [
{
"id": 1008,
"alias": "a",
"issuedBy": "a",
"fileName": "KEYSTORE.p12",
"validity": {
"from": "Thu Aug 11 00:00:00 IST 2016",
"to": "Wed Nov 09 00:00:00 IST 2016",
"status": "EXPIRING"
},
"installOn": [
"/My Company/NS-RD-7200"
],
"lastUpdated": {
"time": "Tue Oct 18 23:06:32 IST 2016",
"by": "admin"
}
}
]
}
Error Information
Following error code is returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 500 | 1001 | Internal error |