esx attestation tpm2 ca certificates: get
Get the TPM CA certificate details.
Request:
HTTP request
GET https://{server}/api/esx/attestation/tpm2/ca-certificates/{name}
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
name | string | The CA certificate name. |
Response:
HTTP Status Code: 200
Response Body Structure:
{
"cert_chain" : {
"certs" : [
"string",
"string"
]
}
}
"cert_chain" : {
"certs" : [
"string",
"string"
]
}
}
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | info | CA certificate info. |
-.cert_chain | x509_cert_chain | The CA certificate chain. |
-.cert_chain.certs | string[] | A list of certificates each in PEM format. Certificates must be ordered from the root first. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if there is a generic error. |
400 | invalid_argument | if the name is invalid. |
404 | not_found | if the CA certificate is not found. |
401 | unauthenticated | if the caller is not authenticated. |
403 | unauthorized | if the caller is not authorized. |