Certificate

Certificate
Certificate

Represents certificate and its attributes

JSON Example
{
    "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, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED",
    "operationMessage": "string",
    "caChain": [
        {
            "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, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED",
            "operationMessage": "string",
            "caChain": [
                "Certificate Object"
            ]
        }
    ]
}
boolean
isInstalled
Required

Whether the certificate is installed or not

string
version
Required

The X.509 version of the certificate

string
serialNumber
Required

The serial number of the certificate

string
issuedTo
Required

To whom the certificate is issued

string
resourceType
Required

Resource type

string
resourceName
Optional

Resource fqdn

string
issuedBy
Required

The certificate authority that issued the certificate

string
notBefore
Required

The timestamp before which certificate is not valid

string
notAfter
Required

The timestamp after which certificate is not valid

string
signatureAlgorithm
Required

Algorithm used to sign the certificate

string
subject
Required

Complete distinguished name to which the certificate is issued

string
domain
Required

Domain of the resource certificate

array of string
subjectAlternativeName
Required

The alternative names to which the certificate is issued

string
publicKey
Required

The public key of the certificate

string
publicKeyAlgorithm
Required

The public key algorithm of the certificate

string
keySize
Required

The key size of the certificate

string
thumbprintAlgorithm
Required

Algorithm used to generate thumbprint

string
thumbprint
Required

Thumbprint generated using certificate content

integer As int32 As int32
numberOfDaysToExpire
Required

Number of days left for the certificate to expire

string
expirationStatus
Required

Certificate expiry status

string
pemEncoded
Required

The PEM encoded certificate content

string
getCertificateError
Required

Error if certificate cannot be fetched

string
operationType
Optional

The last operation type

string
operationStatus
Optional

The last operation status

string
operationMessage
Optional

The last operation status message

caChain
Optional

Certificate chain ordered from intermediate to root certificates