Certificate Manager Cert Mgr Refresh CA Certificates And CR Ls Task

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
Required
"CertMgrRefreshCACertificatesAndCRLsRequestType Object"
array of object
host
Required

the hosts on which the certificates need to be refreshed

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

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