POST – Renew
Use the POST method to generate a certificate signing request by using the existing information and key-pair of the certificate.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/{id}/Actions/Certificate.Renew
Request body
None
Response body
Field | Type | Description |
---|---|---|
CSRString | String | The string for the certificate signing request. |
Certificate | Link | The link to the certificate being rekeyed. |
Status code
HTTP Status Code | Error Message ID |
---|---|
400 | BadRequest |
500 | InternalError |
Example
The following example is POST body
None
The following example JSON response is returned:
{
"Certificate": {
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/1"
},
"CSRString": "-----BEGIN CERTIFICATE REQUEST-----\nMIICpDCCAioCAQAwTzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAk5DMQwwCgYDVQQHDANSVFAxDzANBgNVBAoMBkxlbm92bzEUMBIGA1UEAwwLWENDLTdaNjAtU04wdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQKEnDzQP2ngvTEfY/vMHSlVvRf/i6Gja1x+DryAeGze7FjAXXJvP9aBdspJzEfOzk3/a7W3W+VpW3/YfvOjferwGL9ISdZ1A/S7aLAraaaf+1Cw5zX0qTUX16Gdbkpz+GgggFaMIIBVgYJKoZIhvcNAQkOMYIBRzCCAUMwCQYDVR0TBAIwADALBgNVHQ8EBAMCBeAwggEnBgNVHREEggEeMIIBGoILWENDLTdaNjAtU06CC1hDQy03WjYwLVNOhxD+gAAAAAAAAAqU7//+r06fgilmZTgwLS1hOTQtZWZmZi1mZWFmLTRlOWYuaXB2Ni1saXRlcmFsLm5ldIcQ/oAAAAAAAAAKlO///q9OoIIpZmU4MC0tYTk0LWVmZmYtZmVhZi00ZWEwLmlwdjYtbGl0ZXJhbC5uZXSHBKn+X3aHEP6AAAAAAAAACpTv//6rmbOCKWZlODAtLWE5NC1lZmZmLWZlYWItOTliMy5pcHY2LWxpdGVyYWwubmV0hwQKaMVIhxD+gAAAAAAAAAqU7//+q5m0gilmZTgwLS1hOTQtZWZmZi1mZWFiLTk5YjQuaXB2Ni1saXRlcmFsLm5ldDAKBggqhkjOPQQDAgNoADBlAjA7v/r0LljB0M4GAajGtrS2yMR/Np8T5evlA5JmXYVIGmcklN7uETz+aokC0G3poSwCMQCybhvJ0ZmuFQjarW8brInM231OcjWN5bgZyKFAfmcHkZNvkCau8DB3vI5z309KDeQ=\n-----END CERTIFICATE REQUEST-----"
}
Give documentation feedback