Modifying the Certificate Expiration Reminder Time

Function

This interface is used to modify the number of days before you start to receive notification about certificate expiration.

Syntax

Operation type: PATCH

URL: https://device_ip/redfish/v1/Systems/SecurityService/HttpsCertAlarmTime

Request header:

X-Auth-Token: auth_value
Content-Type: header_type

Request message body:

{
    "CertAlarmTime":days,
    "Password": password
}

Request Parameters

Table 1 Parameter description

Parameter

Mandatory/Optional

Description

Value

CertAlarmTime

Mandatory

Number of days before you start to receive notification about certificate expiration.

The value is a number ranging from 7 to 180. The default value is 10 days.

Password

Mandatory

Password of the current user.

The value is a string of 8 to 20 characters.

Usage Guidelines

None

Example

Request:

PATCH https://10.10.10.10/redfish/v1/Systems/SecurityService/HttpsCertAlarmTime

Request header:

X-Auth-Token: auth_value
Content-Type: application/json

Request message body:

{
    "CertAlarmTime":100,
    "Password":"password"
}

Response:

{
    "@odata.context": "/redfish/v1/$metadata#EdgeSystem/SecurityService/$entity",
    "@odata.id": "/redfish/v1/Systems/SecurityService/HttpsCertAlarmTime",
    "@odata.type": "#MindXEdgeSecurityService.v1_0_0.MindXEdgeSecurityService",
    "CertAlarmTime": 100
}

Response code: 200

Output Description

Table 2 Operation output description

Field

Type

Description

@odata.context

Character string

OData description of an SSL certificate resource model.

@odata.id

Character string

Path to access an SSL certificate resource node.

@odata.type

Character string

Type of an SSL certificate resource.

CertAlarmTime

Number

Number of days before you start to receive notification about certificate expiration.