Get Certificates By Domain
View detailed metadata about the certificate(s) of all the resources in a domain
Domain ID or Name
3E86FBAD-8984-4D4B-992D-F0C49857572A
Ok
{
"elements": [
{
"isInstalled": false,
"version": "V3",
"serialNumber": "46:85:19:77:36:12:67:26",
"issuedTo": "sfo-vc01.rainpole.io",
"resourceType": "One among: SDDC_MANAGER, PSC, VCENTER, NSX_MANAGER, NSXT_MANAGER, VRA, VRLI, VROPS, VRSLCM, VXRAIL_MANAGER, NSX_ALB, ESXI",
"resourceName": "string",
"issuedBy": "CN=OpenSSL CA, OU=VCF, O=VMware, L=Bengaluru, ST=Karnataka, C=IN",
"notBefore": "2020-01-01T00:00:00Z",
"notAfter": "2021-02-02T00:00:00Z",
"signatureAlgorithm": "SHA256withRSA",
"subject": "CN=sfo-vc01.rainpole.io, OU=VCF, O=VMware, L=Bengaluru, ST=Karnataka, C=IN",
"domain": "3E86FBAD-8984-4D4B-992D-F0C49857572A",
"subjectAlternativeName": [
"sfo-vc01.rainpole.io"
],
"publicKey": "D6:FD:DF:33:F1:...",
"publicKeyAlgorithm": "One among: RSA",
"keySize": "One among: 2048, 3072, 4096",
"thumbprintAlgorithm": "SHA-256",
"thumbprint": "59:24:D5:18:04:A0:26:B0:A4:05:EA:82:60:95:82:A2:4B:F6:31:FB:81:93:01:F3:29:7D:34:9C:D3:05:39:90",
"numberOfDaysToExpire": 398,
"expirationStatus": "One among: ACTIVE, ABOUT_TO_EXPIRE, EXPIRED",
"pemEncoded": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
"getCertificateError": "Status : NOT_TRUSTED, Message : Certificate Expired",
"operationType": "One among: GENERATE_CSR, GENERATE_CERTIFICATE, REPLACE_CERTIFICATE",
"operationStatus": "One among: PENDING, Pending, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED",
"operationMessage": "string",
"caChain": [
"Certificate Object"
]
}
],
"pageMetadata": {
"pageNumber": 0,
"pageSize": 0,
"totalElements": 0,
"totalPages": 0
}
}
The list of elements included in this page
Represents pageable elements pagination metadata
Not Found
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
InternalServerError
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -H 'Authorization: <value>' https://{api_host}/v1/domains/{id}/resource-certificates