Skip to main content

POST – Certificate Renew

Renew action shall generate a certificate signing request using the existing information and key-pair of the certificate. The response shall contain a signing request that a certificate authority (CA) must sign. The service should retain the private key that this request generates for when the certificate is installed. The private key should not be part of the response.

Request

POST https://{{ip}}/redfish/v1/AaccountService/Accounts/{ManagerAccountId}/
Certificates/{CertificateId}/Actions/Certificate.Renew
POST https://{{ip}}/redfish/v1/Managers/Self/NetworkProtocol/HTTPS/Certificates/{CertificateId}/Actions/Certificate.Renew
POST https://{{ip}}/redfish/v1/Systems/Self/Boot/Certificates/{CertificateId}/Actions/Certificate.Renew
POST https://{{ip}}/redfish/v1/AccountService/LDAP/Certificates/1/Actions/Certificate.Renew
POST https://{{ip}}/redfish/v1/AccountService/LDAP/Certificates/Oem/Ami/ClientCertificates/1/Actions/Certificate.Renew
Content-Type: application/json
Request Body will be in JSON format. The properties are mentioned in the following table.
Table 1. Renew Action Request Body Property

Name

Type

Description

ChallengePassword

String

The challenge password to apply to the certificate for revocation requests.

Request example

{
"ChallengePassword": "challengepassword"
}

Response

The response of the request will be in JSON format. The properties are mentioned in the following table.
Table 2. Renew Action Response Property

Name

Type

Read Only

Description

CSRString(M)

String

True

The string for the certificate signing request.

Certificate(M)

Object

True

The link to the certificate being rekeyed.

Messages

Array

True

This property shall contain an array of messages associated with the settings.