6.0.3

Table Of Contents
You replace the machine solution user certicate on each management node and on each
Platform Services Controller node. You replace the other solution user certicates only on each management
node. Use the --server parameter to point to the Platform Services Controller when you run commands on
a management node with an external Platform Services Controller.
N When you list solution user certicates in large 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.
Prerequisites
n
Key size: 2048 bits or more (PEM encoded)
n
CRT format
n
x509 version 3
n
SubjectAltName must contain DNS Name=<machine_FQDN>
n
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.
n
Contains the following Key Usages: Digital Signature, Non Repudiation, Key Encipherment
Procedure
1 Stop all services and start the services that handle certicate creation, propagation, and storage.
service-control --stop --all
service-control --start vmafdd
service-control --start vmdird
service-control --start vmca
2 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.
3 For each solution user, replace the existing certicate in VECS and then in vmdir.
You must add the certicates in that order.
vecs-cli entry delete --store vpxd --alias vpxd
vecs-cli entry create --store vpxd --alias vpxd --cert vpxd.crt --key vpxd.priv
dir-cli service update --name <vpxd-xxxx-xxx-xxxxxx> --cert vpxd.crt
N Solution users cannot authenticate to vCenter Single Sign-On if you do not replace the certicate
in vmdir.
vSphere Security
116 VMware, Inc.