Host Certificate Manager Get Certificate Info

Host Certificate Manager Get Certificate Info

the CertificateInfo of the Host Certificate.

Required privileges: Certificate.Manage

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/HostCertificateManager/{moId}/certificateInfo
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostCertificateManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns HostCertificateManagerCertificateInfo of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "kind": "string",
    "issuer": "string",
    "notBefore": "string",
    "notAfter": "string",
    "subject": "string",
    "status": "string"
}
string
kind
Optional

Certificate kind, if unset the certificate is Machine certificate The list of supported values can be found in HostCertificateManagerCertificateKindEnum

Since: vSphere API Release 8.0.1.0

string
issuer
Optional

The issuer of the certificate.

string As date-time As date-time
notBefore
Optional

The validity of the certificate.

string As date-time As date-time
notAfter
Optional

notAfter

string
subject
Optional

The subject of the certificate.

string
status
Required

The status of the certificate in vCenter Server.

The possible values for status are as described in HostCertificateManagerCertificateInfoCertificateStatusEnum. If queried directly from an ESX host, the property is set to unknown.