# 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 P | ManagedObjectReference[] to a HostSystem[] | the hosts on which the certificates need to be refreshed Since vSphere API 6.0

P Required privilege: host

Return Value

Type | Description
--- | ---
pbm.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.

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 P | ManagedObjectReference[] to a HostSystem[] | the hosts on which the certificates need to be refreshed Since vSphere API 6.0

P Required privilege: host

Return Value

Type | Description
--- | ---
pbm.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.

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 P | ManagedObjectReference[] to a HostSystem[] | the hosts on which the certificates need to be revoked Since vSphere API 6.0

P Required privilege: host

Return Value

Type | Description
--- | ---
pbm.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.

Events

Type
None