Get Certificates

Get Certificates

Get latest generated certificate(s) in a domain.

Request
URI
GET
https://sfo-vcf01.rainpole.io/v1/domains/{id}/certificates
COPY
Path Parameters
string
id
Required

Domain ID or Name


Responses
200

OK

Returns PageOfCertificate of type(s) application/json
{
    "elements": [
        {
            "caChain": [
                "Certificate Object"
            ],
            "domain": "3E86FBAD-8984-4D4B-992D-F0C49857572A",
            "expirationStatus": "One among: ACTIVE, ABOUT_TO_EXPIRE, EXPIRED",
            "getCertificateError": "Status : NOT_TRUSTED, Message : Certificate Expired",
            "isInstalled": "One among: true, false",
            "issuedBy": "CN=OpenSSL CA, OU=VCF, O=VMware, L=Bengaluru, ST=Karnataka, C=IN",
            "issuedTo": "sfo-vc01.rainpole.io",
            "keySize": "One among: 2048, 3072, 4096",
            "notAfter": "2021-02-02T00:00:00.000Z",
            "notBefore": "2020-01-01T00:00:00.000Z",
            "numberOfDaysToExpire": "398",
            "pemEncoded": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
            "publicKey": "D6:FD:DF:33:F1:...",
            "publicKeyAlgorithm": "One among: RSA",
            "serialNumber": "46:85:19:77:36:12:67:26",
            "signatureAlgorithm": "SHA256withRSA",
            "subject": "CN=sfo-vc01.rainpole.io, OU=VCF, O=VMware, L=Bengaluru, ST=Karnataka, C=IN",
            "subjectAlternativeName": [
                "string"
            ],
            "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",
            "thumbprintAlgorithm": "SHA-256",
            "version": "V3"
        }
    ],
    "pageMetadata": {
        "pageNumber": 0,
        "pageSize": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
elements
Optional

The list of elements included in this page

pageMetadata
Optional

Represents pageable elements pagination metadata


404

Not Found

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


500

Internal server error

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message