# Managed Object - CertificateManager(vim.CertificateManager)

Property of
  ServiceContent
See also
  HostSystem
Since
  vSphere API 6.0

## Managed Object Description

CertificateManager provides an interface for managing the SSL certificates used by the ESX server.

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
CertMgrRefreshCACertificatesAndCRLs_Task, CertMgrRefreshCertificates_Task, CertMgrRevokeCertificates_Task

# CertMgrRefreshCACertificatesAndCRLs_Task(refreshCACertificatesAndCRLs)

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

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CertificateManager used to make the method call.
host | ManagedObjectReference[] to a HostSystem[] | the hosts on which the certificates need to be refreshed

Return Value

Type | Description
--- | ---
ManagedObjectReference to a Task |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
SystemError | Thrown if any of the needed actions fails.

Events

Type
None

# CertMgrRefreshCertificates_Task(refreshCertificates)

Gets CSRs from the hosts and then gets these certificates signed by the VMware Certificate Service and pushes them down to the hosts.

Required Privileges
  Certificate.Manage

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CertificateManager used to make the method call.
host | ManagedObjectReference[] to a HostSystem[] | the hosts on which the certificates need to be refreshed

Return Value

Type | Description
--- | ---
ManagedObjectReference to a Task |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
SystemError | Thrown if any of the needed actions fails.

Events

Type
None

# CertMgrRevokeCertificates_Task(revokeCertificates)

Revokes the certificates of some hosts.

Required Privileges
  Certificate.Manage

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CertificateManager used to make the method call.
host | ManagedObjectReference[] to a HostSystem[] | the hosts on which the certificates need to be revoked

Return Value

Type | Description
--- | ---
ManagedObjectReference to a Task |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
SystemError | Thrown if any of the needed actions fails.

Events

Type
None