Skip to main content

PUT /signingCertificate

Use this method to generate a new Certificate Authority (CA) root certificate in Lenovo XClarity Administrator and creates a job to send the certificate to all managed devices.

When a new CA root certificate is generated and, a job is created to provision the new certificate to all managed devices. Use the GET /signingCertificate/jobs/{job_id} method to retrieve the job status and additional job details. If a job was not successfully started, refer to the response code and response body for details.

Authentication

Authentication with username and password is required.

Request URL

PUT https://{management_server_IP}/signingCertificate

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
404Not foundA specified resource cannot be found. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
responseObjectResponse content

This attribute is provided only if the CA that is specified in the certification chain is new and returnJobInfo="true" is specified in the request.

 jobPathStringURI in the form /serverCertificate/jobs/{job_id} (for example, /serverCertificate/jobs/383) that represents the job that is monitored by the management server. You can use GET /signingCertificate/jobs/{job_id} to determine the status of the job. If a job was not successfully started, refer to the response code and response body for details.

This is the same URI that is included in the response header.

If no job was created, this attribute is empty.

resultStringResults of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failed. The request failed. A descriptive error message was returned.
messagesArrayInformation about one or more messages
 explanationStringAdditional information to clarify the reason for the message
 idStringIdentifier of the returned message
 recoveryArrayRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
 textStringMessage text associated with the message identifier
The following example is returned if the request is successful.
{
"response": {
"jobPath": "/signingCertificate/jobs/383"
},
"result": "success",
"messages": [{
"explanation": "The CA root certificate was regenerated.",
"id": "FQXHMSE0132I",
"recovery": {
"text": "Information only; no action is required.",
"URL": ""
},
"text": "The request to generate the CA root certificate was successful."
}]
}