06 Jul 2010

Replacing vSphere SSL Certificates

I've been working on the topic of replacing SSL Certificates for VMware vCenter and VMware Update Manager Server (VUM) for quite some time now. Earlier in May 2010, I had the privilege to consult a large financial institution in London on VMware and Virtualisation. The consultancy engagement was for only one week and one of my assignments was to create and document a procedure for replacing their SSL certificates on all of their very many vCenter and VUM servers. Now, at first when asked to this piece of work, I asked myself the question: "Other than maybe improving security, why would you want to replace these SSL certificates anyway?" I mean, the standard once generated when you install the vCenter and VUM servers seem to be working fine. However, the more I started to dig into their environment, the more I realised just why they wanted to replace the SSL certificates on these servers. Let me explain:


Large organisations, such as banks, will have quite a few very large data centres that are sometimes located all over the world. These organisations don't fool around when it comes to infrastructures. They don't have one data centre with maybe one or possibly two vCenter Servers. No, as I said, these guys have many data centres, each filled with thousands of physical servers. They could have 5 vCenter servers in each data centre, and each one of those vCenter servers will manage say 10 HA/DRS clusters with 8 ESX host each running thousands of Virtual Machines. To top this, each vCenter server will have its own stand-alone VMware Update Manager Server. To make managing these vCenter Servers easier, they will use vCenter a linked-mode configuration. This allows them to managed all of their vCenter and VUM Servers from a single vSphere Client instance.

Now here is where the SSL certificate story makes sense. For simplicity, I'm going to scale down the numbers a bit. Let's say they have two data centres. Each data centre has two vCenter Servers and two VUM servers. These vCenter Servers are configured with linked-mode. This means that when logging into one vCenter Server, one will be able to manage four vCenter Servers and four VUM Servers from the same console. Each one of these vCenter and VUM servers will have a self generated and signed SSL Certificate that was generated and installed during the vCenter and VUM installation. So when a user logs into one of the vCenter Servers for the first time using the vSphere client, that poor user will have to click the "Ignore" button on a security warning similar to the one below a whopping eight times!!! Yes, that's right, one for every vCenter Server and one for every VUM server in linked-mode.


Replacing the original SSL certificates on the vCenter and VUM servers with SSL certificates that have been generated by a CA that has a CA certificate in the client computer's Root Certificate Authority store will prevent the message from being displayed.

 When I originally set out to write a post on SSL Certificate Replacement for VMware vSphere vCenter Server and VMware vSphere Update Manager Server, I had planned to write a single blog article to cover the whole topic. However, as I started to document the procedure for replacing SSL Certificates earlier in May 2010, I realised that when all the screen captures are included (which is what I had planned for) the article was simply way too long for a single blog post. For this reason I have decided to cover SSL Certificate Replacement in separate articles all linked together to form a "tutorial" like post. I hope it works!

Anyway, I have decided to break the SSL Certificate Replacement topic down into the following "Steps":

  1. Prepare the Certificate Authority Server with IIS, OpenSSL and Microsoft Certificate Services
  2. Create a Certificate Request using OpenSSL on Windows
  3. Submit the Certificate Request to the Microsoft Certificate Services CA
  4. Create a new PFX-Formatted Certificate
  5. Replace the vCenter Server SSL Certificates
  6. Replace the VMware Update Manager SSL Certificates. (Article is yet to be published)

To create this article and screen shots, I made use of a lab that was especally prepared for this exercise. This lab contained the following components:

Server Name Operating System Lab Component
LABDC01 Windows 2003 R2 Active Directory Domain Controller and DNS Server for the labs.uk.virtualvcp.com domain
LABSSL01 Windows 2003 R2 Microsoft Certificate Services and OpenSSL acting as the Certificate Server
LABVC01 Windows 2003 R2 x64 VMware vCenter Server 4.0
LABVUM01 Windows 2003 R2

VMware Update Manager Server

LABESX01 VMware ESX 4.0 VMware ESX Server
Written by  0 comment
Last modified on Tuesday, 09 December 2014 15:03
Rate this item
(0 votes)

Comments (0)

There are no comments posted here yet

Leave your comments

Posting comment as a guest. Sign up or login to your account.
0 Characters
Attachments (0 / 3)
Share Your Location