6.0.3

Table Of Contents
Prerequisites
Each solution user certicate must have a dierent Subject. Consider, for example, including the solution
user name (such as vpxd) or other unique identier.
Procedure
1 Make one copy of certool.cfg, remove the Name, IP address, DNS name, and email elds, and rename
the le, for example, to sol_usr.cfg.
You can name the certicates from the command line as part of generation. The other information is not
needed for solution users. If you leave the default information, the certicates that are generated are
potentially confusing.
2 Generate a public/private key le pair and a certicate for each solution user, passing in the
conguration le that you just customized.
For example:
certool --genkey --privkey=vpxd.priv --pubkey=vpxd.pub
certool --gencert --privkey=vpxd.priv --cert vpxd.crt --Name=VPXD_1 --config sol_usr.cfg
3 Find the name for each solution user.
dir-cli service list
You can use the unique ID that is returned when you replace the certicates. The input and output
might look as follows.
C:\Program Files\VMware\vCenter Server\vmafdd>dir-cli service list
Enter password for administrator@vsphere.local:
1. machine-1d364500-4b45-11e4-96c2-020011c98db3
2. vpxd-1d364500-4b45-11e4-96c2-020011c98db3
3. vpxd-extension-1d364500-4b45-11e4-96c2-020011c98db3
4. vsphere-webclient-1d364500-4b45-11e4-96c2-020011c98db3
When you list solution user certicates in multi-node deployments, the output of dir-cli list includes
all solution users from all nodes. Run vmafd-cli get-machine-id --server-name localhost to nd the
local machine ID for each host. Each solution user name includes the machine ID.
4 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
Chapter 3 vSphere Security Certificates
VMware, Inc. 107