ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware Certificate Automation Tool – How to use

By Vladan SEGET | Last Updated: April 18, 2013

Shares

 Creating PEM files – this is another prerequisite (still before start using the automation tool !!!). The PEM files are certificate chain files for each certificate.

  • Create a new file called chain.pem in each of the subfolder which represents the vcenter services (there is 7 in total)
  • Open rui.crt file in notepad and copy paste the content into the chain.pem > open Root64.cer file and copy paste right after into the chain.pem without ANY whitespace in between.
  • Rinse and repeat for each of the 7 vCenter component services……!!!

Using the VMware SSL Certificate Automation Tool

You'll need to shut down any dependent solutions which are running in the environment:

  • VMware Site Recovery Manager, vSphere Data Recovery, vCloud Director

Fist of all, depending of your environment, install the VMware Certificate Automation tool on each of the vCenter component (if you have multiple VMs or servers). In my lab I have All-in-One solution based on 2008R2SP1. You can still execute the initial planning step on single machine.

  • Unzip the tool to a directory on each vCenter component VM. I've unzipped mine to the c:\SSLAutomationTool1.0
  • Use notepad and open the ssl-environment.bat to enter the values for your environment. You basically follow the guide and fill in the different folders, subfolders, with files.
  • Open elevated command prompt > CD to the c:\SSLAutomationTool1.0 > and execute the ssl-environment.bat from command prompt.

ssl-environment

Run the planner – while still in the CMD, you can run the ssl-updater.bat

  • If you have multi VMs with multiple vCenter services in your environment, you'll have to run this command from each of those VMs.

ssl-updater

  • Choose 1. Plan your steps to update SSL Certificates. You'll see screen like this one where you're presented with 9 menus. I choosed number 8 to update All services.

ssl-updater2

  • The planner shows you what you'll need to accomplish….(wow 18 steps !!!!)

This is the output. you'll have to follow EACH of THOSE STEPS in the right order…

updates

1. Go to the machine with Single Sign-On installed and – Update the Single Sign-On SSL certificate.
2. Go to the machine with Inventory Service installed and – Update Inventory Service trust to Single Sign-On.
3. Go to the machine with Inventory Service installed and – Update the Inventory  Service SSL certificate.
4. Go to the machine with vCenter Server installed and – Update vCenter Server trust to Single Sign-On.
5. Go to the machine with vCenter Server installed and – Update the vCenter Server SSL certificate.
6. Go to the machine with vCenter Server installed and – Update vCenter Server trust to Inventory Service.
7. Go to the machine with Inventory Service installed and – Update the Inventory  Service trust to vCenter Server.
8. Go to the machine with vCenter Orchestrator installed and – Update vCenter Or chestrator trust to Single Sign-On.
9. Go to the machine with vCenter Orchestrator installed and – Update vCenter Or chestrator trust to vCenter Server.
10. Go to the machine with vCenter Orchestrator installed and – Update the vCenter Orchestrator SSL certificate.
11. Go to the machine with vSphere Web Client installed and – Update vSphere Web  Client trust to Single Sign-On.

12. Go to the machine with vSphere Web Client installed and – Update vSphere Web  Client trust to Inventory Service.
13. Go to the machine with vSphere Web Client installed and – Update vSphere Web  Client trust to vCenter Server.
14. Go to the machine with vSphere Web Client installed and – Update the vSphere  Web Client SSL certificate.
15. Go to the machine with Log Browser installed and – Update the Log Browser trust to Single Sign-On.
16. Go to the machine with Log Browser installed and – Update the Log Browser SSL certificate.

17. Go to the machine with vSphere Update Manager installed and – Update the vSphere Update Manager SSL certificate.
18. Go to the machine with vSphere Update Manager installed and – Update vSphere Update Manager trust to vCenter Server.

  • Return to the main menu by choosing menu 9.

So here we goes. I go and choose the Menu 2: Update Single Sign-On

update-certs

Before proceeding any further I'm backing up my vCenter with Veeam, and I also create a temporary snapshot of my vCenter VM, as all the all the vCenter “roles” are on the single vCenter VM…. !!!!! It's a very simple precaution if in any case something goes wrong, I can easily revert the snapshot or restore the backup….

success

Ok, we continue our adventure with SSL certificates and VMware (semi) Automated SSL replacement tool…

I go for the Menu 1 in the Update the Single Sign-ON SSL Certificate... (as on the screenshot above).

It seems that everything went smoothly and my certificates has been updated. On the screenshot below you see one of the steps – The Update of Inventory service trust to Single Sign-On went fine. The rest of the steps went fine as well, and at the end I could just exit the SSL-updater tool.

certificates-updates

Wrap Up:

This tool helps, but not as it could be used flawlessly by anyone. To do all the tasks and steps it takes some huge amount of time. I really hope that VMware will provide better tool with the second release of this tool…. (wish wish…).

As said in the beginning of the post, this article was my try on certificates, by following the KB from VMware. I would highly recommend that VMware:

  1. Improves this tool so anyone can use it with less manual steps…
  2. Provide educational videos which would explain better the steps taken

Sources:

  • Generating certificates for use with the VMware SSL Certificate Automation Tool (2044696)
  • Deploying and using the SSL Certificate Automation Tool (2041600)
Shares
Vote !
Pages: 1 2

| Filed Under: How To Tagged With: VMware Certificate Automation Tool

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. IonutN says

    May 10, 2013 at 9:19 am

    Great write-up. For those that want a more automated approach, I’ve written a script that handles certificate generation when using a Windows PKI with automatic certificate approval.
    http://www.rivnet.ro/2013/04/automate-replacing-of-certificates-in-vcenter-5-1.html

    After using the tool, the steps from your blog post apply.

    • Vladan SEGET says

      May 11, 2013 at 8:14 am

      Nice. Thanks for sharing.

  2. xgene19 says

    December 23, 2014 at 2:43 pm

    Vlad, in your experience, does the tool behave differently based on how you’ve upgraded vcenter? We started off with 4, upgraded 5.0…then skipped 5.1 (introduction of SSO), then upgraded from 5.0 to 5.5.

    I believe many of the file paths may be different with this way we upgraded as it isn’t “typical”. I spent 4 hours most was once I got to the 3rd SSL Cert to replace (vcenter cert). I was trying to fix the vcenter SSL cert getting various errors and looking up several KB articles to the point where I just gave up and reverted my snapshot. I did not have a good feeling about how it was going and am actually considering burning it down and reinstalling fresh.

    We are currently in a state where the SSO and Inventory certs were replaced, but the rest aren’t.

    thoughts?

    • Vladan SEGET says

      December 23, 2014 at 3:07 pm

      It’s a post from April 2013. Many things has changed since. Shall you get the latest utility from VMware or perhaps test third party scripts, like the ones from Derek Seaman’s blog. The write up was done on simple lab environment which in that time (I guess) was running 5.1. So I can’t really give you direct answer on that.

  3. was says

    March 15, 2015 at 1:54 pm

    hi,
    vladen,

    I read your article and i impressed your way of explaining.

    i have a question for u.if you kindly answer to these question .it will much appreciated.

    1. Can we install 2012 server on virtual machine and then then we can install vCenter on this VM machine
    and this should not be domain controller.my setup is like this:

    1.2 Two esxi machines Esxi1 andEsxi2 with 24 port hp switches. vsphere 5.5 on my client machine on same subnet or same network,but i am confused.
    where can i install Vcentre .Either on vsphere client machine or make anotherVM machine on my esxi hypervisor and give name vcenter machine and install 2012 server on that machine and then give static ip address connected to sql2012 server for SSO.is this the way or any other way.

    Please let me know .much appreciated.

    regard,

    was

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Why NordVPN is Your Must-Have for Business Security and Personal Freedom
  • Agentless Backup Solutions for XCP-ng Hypervisor: External Vendor Options
  • Vinchin Earns Acclaimed Recognition in Gartner Peer Insights 2025 Report
  • VMware vSphere 9 Standard and Enterprise Plus – Not Anymore?
  • Free Virtual Backup Appliance from StarWind – With Community Support (example configuration for ESXi and Veeam Backup)
  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released
  • Veeam Backup & Replication 12.3.2 – patch critical vulnerabilities for your dataprotection environments
  • Veeam confirming vSphere 9.0 and ESXi 9 upcoming support
  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in