Querying the Certificate Expiration Reminder Time
Function
Query the number of days before you start to receive notification about certificate expiration.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/EdgeSystem/SecurityService/HttpsCertAlarmTime
Request header:
X-Auth-Token: auth_value
Request message body: None
Parameter Description
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device. |
An IPv4 or IPv6 address |
auth_value |
Authentication parameter contained in the request. |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/EdgeSystem/SecurityService/HttpsCertAlarmTime
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body: None
Response:
{ "@odata.context": "/redfish/v1/$metadata#EdgeSystem/SecurityService/$entity", "@odata.id": "/redfish/v1/EdgeSystem/SecurityService", "@odata.type": "#SecurityService.v1_0_0.SecurityService", "CertAlarmTime": 100 }
Response code: 200
Output Description
Attribute |
Type |
Description |
---|---|---|
@odata.context |
Character string |
OData description information of an SSL certificate resource model. |
@odata.id |
Character string |
Access path of an SSL certificate resource node. |
@odata.type |
Character string |
Type of an SSL certificate resource. |
CertAlarmTime |
Numeric value |
Number of days before you start to receive notification about certificate expiration. |