<

HOW TO: Replace the vCenter Server SSL Certificate with a SSL Certificate from a Microsoft Certificate Authority

Posted on
9,093 Points
93 Views
Last Modified:
Published
Experience Level: Beginner
17:57
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
EE Fellow, MVE, Expert of the Year 2021,2017-11, Scribe 2016-2012, Author of the Year 2018-6,2013-2012 VMware vExpert Pro, vExpert 2025-2011
n this video tutorial, we demonstrate how to replace the default self-signed SSL certificate on your VMware vCenter Server with a trusted SSL certificate issued by a Microsoft Certificate Authority (CA). Securing your ESXi environment with a trusted certificate enhances communication security and eliminates browser warnings, ensuring a more professional and secure deployment.

Kb Articles referred to in this video

https://knowledge.broadcom.com/external/article?legacyId=2097936

https://knowledge.broadcom.com/external/article/315372/obtaining-vsphere-certificates-from-a-mi.html

https://knowledge.broadcom.com/external/article?legacyId=2097936

Video Steps

1. Prepare for SSL Certificate Replacement



Log in to the vSphere Client as a user with administrative privileges.
Back up the vCenter Server appliance:
Use the Backup option in the vSphere Client or take a snapshot of the appliance to ensure recovery if needed.
Confirm the Microsoft Certificate Authority (CA) is reachable from the vCenter Server.

2. Generate a Certificate Signing Request (CSR)



Open the vSphere Client and navigate to Administration > Certificates > Certificate Management.
In the Machine Certificates tab, click Actions > Generate Certificate Signing Request.
Fill in the CSR details, including:
Common Name (CN): Fully Qualified Domain Name (FQDN) of the vCenter Server.
Organization (O) and Organizational Unit (OU): Your company and department.
Country (C): Your country code (e.g., US).
Click Generate and download the CSR file to your local machine.

3. Submit the CSR to the Microsoft Certificate Authority



Open the Microsoft CA web enrollment page, typically at http://<CA_Server_Name>/certsrv.
Select Request a certificate > Advanced certificate request.
Copy and paste the contents of the CSR file into the text box.
Select an appropriate certificate template (e.g., Web Server) and submit the request.
Download the issued certificate as Base64-encoded and save it as vcenter_cert.cer.
Download the CA certificate chain as Base64-encoded and save it as ca_chain.cer.

4. Upload the SSL Certificate to vCenter



Return to the vSphere Client and navigate to Administration > Certificates > Certificate Management.
In the Machine Certificates tab, click Actions > Import and Replace Certificate.
Provide the following:
The issued SSL certificate file (e.g., vcenter_cert.cer).
The CA certificate chain file (e.g., ca_chain.cer).
Confirm the replacement operation and click Replace.
The system will restart vCenter services to apply the new certificate.

5. Verify the New Certificate



Open a browser and navigate to the vCenter Server’s web interface (e.g., https://<vcenter_fqdn>).
Check the certificate details in the browser to confirm that the new SSL certificate is active and valid.
Ensure there are no warnings about untrusted certificates.
Verify that all services (e.g., ESXi hosts, linked components) are functioning as expected.

6. Document and Monitor



Record details of the new certificate, including its expiration date.
Set a reminder to renew the certificate before it expires to avoid service interruptions.
0
0 Comments
It is common knowledge that there are two accounts that exist on every Microsoft Windows system. These are the Guest and Administrator accounts. When a threat actor attacks a network, they can use these to try to breech a system. Renaming them is th…
Microsoft has been making some serious moves to bring AI deeper into the developer workflow, and one of its most recent releases is the Azure MCP Server. If you’ve already read up on what it is, the next logical question is..