Skip to content

vCenter 5.1 Upgrade Planned? Verify SSL Certificate Checking

by Chris Wahl on Jan 31st, 2013 | 2,983 views
spongebob-worried

I was working on a vCenter 4.1 to 5.1 upgrade on a physical host when I ran across this little bugaboo that I wanted to share. In this particular situation, a new physical vCenter server was being put into production at version 5.1, and the old vCenter server running 4.1 was being decommissioned. This has the added advantage of giving the process an easy roll back – just power on the old box. Sort of like a physical version of a snapshot rollback. ;)

To simplify the upgrade process, I stole the network cable and name off the old vCenter server. This allows the user base to connect to the same server, as well as removing a lot of complexity around IP addresses, DNS A records, and the like. However, I hit a bit of a snag when doing the actual upgrade to the vCenter portion of 5.1.

SSL Certificate Checking

If you read the upgrade documents from VMware, you’ll see this little jewel:

Make sure that SSL certificate checking is enabled for all vSphere HA clusters. If certificate checking is not enabled when you upgrade, HA will fail to configure on the hosts. Select Administration > vCenter Server Settings > SSL Settings > vCenter requires verified host SSL certificates. Follow the instructions to verify each host SSL certificate and click OK. (source)

OK, that makes sense, since the new “HA engine” in version 5.X is FDM. AAM is dead and gone . I always just figured that I could do a “reconfigure for HA” operation after the upgrade, or even configure a fresh new HA cluster if necessary. No big deal, right?

Wrong

The upgrade actually stops you as it’s about to kick off the “vCenter Services” portion and alerts that you did not enable SSL certificate checking! It then exits and expects you to go set this variable. So, I was kind of stuck – I couldn’t install vCenter to change the option.

The only way I could really think of to fix this was to go re-cable the old vCenter 4.1 box to the network, power it all back up, and fire off the vSphere Client – just so I could check these boxes:

vcenter-verified-host-ssl-certs

This just goes to show how a little arrogance can lead to a lot of extra work. I would imagine that if you no longer had your vCenter 4.1 server, the only other ways to fix this would have been a support call (to have a VMware DBA ninja go into the bowels of the database and manually set the options) or installing vCenter 4.1 just to toggle the setting.

Thoughts

If you’re not on vCenter 5.0 already, make sure you turn on host SSL certification checking in vCenter. You should be able to do it during production with no adverse affects – just make sure to check the “verified” box next to each host. There will be lot of tasks in the vSphere Client that show “reconnecting host” and immediately finish. If you have a concern over this, however, it may be best to just get a change control completed and schedule for a maintenance window. It’s going to take a fair bit of time set aside (depending on the number of hosts) to check all the thumbprints.

Also, if you want more certificate goodness, check out fellow VCDX Michael Webster’s post on “The Trouble with CA SSL Certificates and ESXi 5” over at his blog. It came up when I was first searching on this error via Google and contains some great information. :)

7 Comments
  1. Amy Manley permalink - Jan 31st, 2013

    What are your thoughts on going to 5.1 in general. So far some VMware reps are advising to wait for 6.0. We are on 5U1 and there have been so many issues with 5.1 (express patches to fix SSO). Is there a mind blowing reason to upgrade?

    • Chris Wahl permalink - Jan 31st, 2013

      Many of the reported 5.1 SSO issues stem from poor planning and folks not reading the directions (RDNS, doing HA SSO, failure to properly create the DB, etc). I have personally not encountered much headache in the field and work with many organizations that are quite happy with 5.1.

      That being said, the advantage is leveraging the features found in 5.1, such as the list I present in the 5.1 VDS deep dive (http://wahlnetwork.com/category/deep-dives/vsphere-distributed-switch-5-1-0/). If none of those appeal or are part of your functional requirements for the environment, no reason to change things :)

  2. Donald permalink - Feb 2nd, 2013

    We have had a 5.1 environment running in production now without issue. Install was straight forward with only one hiccup (it would not let us use the local admin group during SSO install). We have only had 1 other bug with stateless host caching that we are still working through. The best advise I can give is like Chris and take your time, plan the upgrade, and read the documentation. A minute ahead of time will save you an hour later.

  3. Philip Sellers permalink - Mar 29th, 2013

    Chris –

    Just wanted to say I appreciate your posts like this one – trying to keep others from running into gotchas that you’ve uncovered. I would have been tripped up with this one since we did not have SSL checking enabled.

    -Philip

    • Chris Wahl permalink - Mar 29th, 2013

      Thanks, Philip. It’s never fun to be punched in the face by an install process, and I’m glad I saved someone else a black eye :)

Trackbacks & Pingbacks

  1. vSphere 4.1 to vSphere 5.1 Upgrade Resources and Experience « TheSaffaGeek
  2. vSphere 4.1 to 5.1 lessons learned | Tech Talk

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS