REST API - renew

vcenter certificate management vcenter tls: renew

Renews the TLS certificate for the given duration period.

After this operation completes, the services using the certificate will be restarted for the new certificate to take effect.

. This operation was added in vSphere API 6.7.2.


HTTP request

POST https://{server}/rest/vcenter/certificate-management/vcenter/tls?action=renew

Request Body Structure:


Request Body Parameters:

Name Type Description
bold = required
duration long Optional. The duration (in days) of the new TLS certificate. The duration should be less than or equal to 730 days.


HTTP Status Code: 200



HTTP Status Code Type Description
400 unsupported If the TLS certificate is not VMCA generated.
400 invalid_argument If the duration period specified is invalid.
500 error If the system failed to renew the TLS certificate.