Certificate Manager Cert Mgr Refresh CA Certificates And CR Ls Task
Re-fetches certificates of trusted CAs and the Certificate Revocation Lists (CRL) from the appropriate authoritative source and pushes them to the hosts.
Required privileges: Certificate.Manage
Request
URI
POST
https://{api_host}/sdk/vim25/{release}/CertificateManager/{moId}/CertMgrRefreshCACertificatesAndCRLs_Task
COPY
Path Parameters
string
moId
Required
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case CertificateManager/{moId}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
Request Body
CertMgrRefreshCACertificatesAndCRLsRequestType
of type(s)
application/json
Required
"CertMgrRefreshCACertificatesAndCRLsRequestType Object"
array of
object
host
Required
the hosts on which the certificates need to be refreshed
Responses
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/CertificateManager/{moId}/CertMgrRefreshCACertificatesAndCRLs_Task