REST API - get

vcenter certificate management vcenter trusted root chains: get

Retrieve a trusted root certificate chain for a given identifier. This operation was added in vSphere API 6.7.2.

Request:

HTTP request

GET https://{server}/rest/vcenter/certificate-management/vcenter/trusted-root-chains/{chain}

Path Parameters

Name Type Description
Required
chain string Unique identifier for a trusted root cert chain.

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "cert_chain"{
            "cert_chain"[
                "string",
                "string"
            ]
        }
    }
}

Response Type:

Name Type Description
bold = required
value info TrustedRootChain.
value.cert_chain x509_cert_chain A certificate chain in base64 encoding. This attribute was added in vSphere API 6.7.2.

value.cert_chain.cert_chain string[] Certificate chain in base64 format. This attribute was added in vSphere API 6.7.2.

Errors:

HTTP Status Code Type Description
403 unauthorized if authorization is not given to caller.
404 not_found if a trusted root certificate chain does not exist for given id.