Certificate

Certificate
Certificate

Represents certificate and its attributes

JSON Example
{
    "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"
}
caChain
Optional

Certificate chain ordered from intermediate to root certificates

string
domain
Required

Domain of the resource certificate

string
expirationStatus
Required

Certificate expiry status

string
getCertificateError
Required

Error if certificate cannot be fetched

boolean
isInstalled
Required

Whether the certificate is installed or not

string
issuedBy
Required

The certificate authority that issued the certificate

string
issuedTo
Required

To whom the certificate is issued

string
keySize
Required

The key size of the certificate

string
notAfter
Required

The timestamp after which certificate is not valid

string
notBefore
Required

The timestamp before which certificate is not valid

integer As int32 As int32
numberOfDaysToExpire
Required

Number of days left for the certificate to expire

string
pemEncoded
Required

The PEM encoded certificate content

string
publicKey
Required

The public key of the certificate

string
publicKeyAlgorithm
Required

The public key algorithm of the certificate

string
serialNumber
Required

The serial number of the certificate

string
signatureAlgorithm
Required

Algorithm used to sign the certificate

string
subject
Required

Complete distinguished name to which the certificate is issued

array of string
subjectAlternativeName
Required

The alternative names to which the certificate is issued

string
thumbprint
Required

Thumbprint generated using certificate content

string
thumbprintAlgorithm
Required

Algorithm used to generate thumbprint

string
version
Required

The X.509 version of the certificate