This API enables you to fetch a certificate with the specified ID.
The syntax for calling this method is:
GET <Base_Url>/SSLCertificate/{certificateId}
A sample API call is as follows:
GET https://123.123.123.123/vCenter-CB/api/SSLCertificate/999
None. Any user authenticated with vCenter Chargeback Manager can use this API.
This API does not require any request parameters.
The API returns the certificate with the specified ID in a binary form (a .cer file) that can be viewed in a Web browser.
The following table explains the error codes displayed by the API.
Error Code |
Description |
VCB_ERR_TEMP_SSL_CERTIFICATE_NOT_FOUND |
Certificate with the specified ID is not found. |