REST API - cert_status

vcenter certificate authority certificate: cert status

Verify the provided certificate on the server. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/rest/vcenter/certificate-authority/certificate

?action=cert-status
&cert=string

Request Query Parameters:

Name Type Description
bold = required
cert string The certificate to be verified in string format.

Response:

HTTP Status Code: 200

Representation:

{
    "value""string"
}

Response Type:

Name Type Description
bold = required
value string status of certificate in String format.

Errors:

HTTP Status Code Type Description
400 invalid_argument if provided certificate was not in PEM format.
500 internal_server_error if error happen on server side.
500 error If the system failed to verify the certificate.