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, NSXT_MANAGER, NSX_ALB, ESXI, HCX_MANAGER, VSP",
    "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, QUEUED, TIMED_OUT, Queued, Timed Out",
    "operationMessage": "string",
    "caChain": [
        "Certificate Object"
    ],
    "domainId": "3E86FBAD-8984-4D4B-992D-F0C49857572A",
    "autoRenew": "One among: NOT_SUPPORTED, ENABLED, DISABLED",
    "autoRenewStatus": "One among: PENDING, SCHEDULED, FAILED",
    "caType": "One among: OpenSSL, Microsoft, VMCA",
    "autoRenewFailureMessage": "string"
}
boolean
isInstalled
Required   Read-Only  

Whether the certificate is installed or not

string
version
Required   Read-Only  

The X.509 version of the certificate

string
serialNumber
Required   Read-Only  

The serial number of the certificate

string
issuedTo
Required   Read-Only  

To whom the certificate is issued

string
resourceType
Required  

Resource type

string
resourceName
Optional

Resource fqdn

string
issuedBy
Required   Read-Only  

The certificate authority that issued the certificate

string
notBefore
Required   Read-Only  

The timestamp before which certificate is not valid

string
notAfter
Required   Read-Only  

The timestamp after which certificate is not valid

string
signatureAlgorithm
Required   Read-Only  

Algorithm used to sign the certificate

string
subject
Required   Read-Only  

Complete distinguished name to which the certificate is issued

string
domain
Required   Read-Only  

Domain of the resource certificate

array of string
subjectAlternativeName
Required   Read-Only  

The alternative names to which the certificate is issued

string
publicKey
Required   Read-Only  

The public key of the certificate

string
publicKeyAlgorithm
Required   Read-Only  

The public key algorithm of the certificate

string
keySize
Required   Read-Only  

The key size of the certificate

string
thumbprintAlgorithm
Required   Read-Only  

Algorithm used to generate thumbprint

string
thumbprint
Required   Read-Only  

Thumbprint generated using certificate content

integer As int32 As int32
numberOfDaysToExpire
Required   Read-Only  

Number of days left for the certificate to expire

string
expirationStatus
Required   Read-Only  

Certificate expiry status

string
pemEncoded
Required   Read-Only  

The PEM encoded certificate content

string
getCertificateError
Required   Read-Only  

Error if certificate cannot be fetched

string
operationType
Read-Only  

The last operation type

string
operationStatus
Read-Only  

The last operation status

string
operationMessage
Read-Only  

The last operation status message

array of Certificate
caChain
Read-Only  

Certificate chain ordered from intermediate to root certificates

string
domainId
Read-Only  

Domain ID of the resource certificate

string
autoRenew
Read-Only  

Represents the auto-renew status of that certificate

string
autoRenewStatus
Read-Only  

Represents the auto-renew scheduling status

string
caType
Read-Only  

Represents the CA type used to sign the certificate

string
autoRenewFailureMessage
Read-Only  

Represents the auto-renew scheduling error message