Step by Step Process to replace ESXi vmca certificates to Custom from vCenter UI
search cancel

Step by Step Process to replace ESXi vmca certificates to Custom from vCenter UI

book

Article ID: 410036

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0 VMware vSphere ESXi

Issue/Introduction

Starting in vSphere 8.0 Update 3, you can replace the default VMCA-signed ESXi certificates with custom certificates from the vSphere Client.

Environment

vSphere 8.0 U3

Cause

By default, vSphere components use the VMCA-signed certificate and key that are created during installation. If you accidentally delete the VMCA-signed certificate, remove the host from its vCenter Server system and add it back. When you add the host, vCenter Server requests a new certificate from VMCA and provisions the host with it.
 
Your company's security policy might require that you replace the default ESXi SSL certificate with a third-party certificate authority (CA) signed certificate on all your hosts.

Resolution

Step by Step process on how to renew the ESXi host custom cert from the vCenter UI with screenshots is given below:

Note: Please read Broadcom Tech doc before proceeding with the step by step process and ensure that all the pre-requisites are met: Replace the Default Certificate with a Custom Certificate Using the vSphere Client

Step 1: Change the vCenter certificate mode to custom

Go to vCenter inventory --> Configure --> Advanced Settings --> Edit Advanced Settings --> Search for vpxd.certmgmt.mode

(Please note that "Value" is case sensitive) 

Refer to document: Change the ESXi Certificate Mode on how to change the vCenter cert mode. 

Step 2: Navigate to the host from the vCenter inventory and select > Configure > System > Certificate, and click Manage With External CA


Step 3: Click Generate CSR using FQDN


Step 4: Copy the generated certificate


Step 5: Paste the CSR on the Microsoft CA Authority, select the "Web Server" template, and submit


 

Step 6: Choose Base 64 encoded and click "Download certificate", NOT the certificate chain

 

Step 7: Get back to the vCenter UI and click on "Import and Replace" from the below location


Step 8: Select "Replace with external CA certificate where CSR is generated by ESXi (Private key embedded)".


Step 9: Click on Browse and select the downloaded Certificate , and click Next.

Step 10: Review and click Finish

The CA certificate is now updated. 

Note: If the certificate renewal was successful, but the certificate doesn't change, then disconnect and reconnect the host

Additional Information

Replace the Default Certificate with a Custom Certificate Using the vSphere Client