6.0.3

Table Of Contents
4 Replace the VMware Directory Service Certicate in Mixed Mode Environments on page 101
During upgrade, your environment might temporarily include both vCenter Single Sign-On version
5.5 and vCenter Single Sign-On version 6.0, you have to perform additional steps to replace the
VMware Directory Service SSL certicate if you replace the SSL certicate of the node on which the
vCenter Single Sign-On service is running.
Generate a New VMCA-Signed Root Certificate
You generate new VMCA-signed certicates with the certool CLI and publish them to vmdir.
In a multi-node deployment, you run root certicate generation commands on the
Platform Services Controller.
Procedure
1 Generate a new self-signed certicate and private key.
certool --genselfcacert --outprivkey <key_file_path> --outcert <cert_file_path> --config
<config_file>
2 Replace the existing root certicate with the new certicate.
certool --rootca --cert <cert_file_path> --privkey <key_file_path>
The command generates the certicate, adds it to vmdir, and adds it to VECS.
3 Stop all services and start the services that handle certicate creation, propagation, and storage.
The service names dier on Windows and the vCenter Server Appliance.
Windows
service-control --stop --all
service-control --start VMWareAfdService
service-control --start VMWareDirectoryService
service-control --start VMWareCertificateService
vCenter Server
Appliance
service-control --stop --all
service-control --start vmafdd
service-control --start vmdird
service-control --start vmcad
4 (Optional) Publish the new root certicate to vmdir.
dir-cli trustedcert publish --cert newRoot.crt
When you run this command, all instances of vmdir are updated immediately. Otherwise, propagation
to all instances might take a while.
5 Restart all services.
service-control --start --all
Example: Generate a New VMCA-Signed Root Certificate
The following example shows the full set of steps for verifying the current root CA information, and
regenerating the root certicate.
1 (Optional) List the VMCA root certicate to make sure it is in the certicate store.
n
On a Platform Services Controller node or embedded installation:
C:\>"C:\Program Files\VMware\vCenter Server\vmcad\"certool --getrootca
Chapter 3 vSphere Security Certificates
VMware, Inc. 93