6.7

Table Of Contents
Procedure
1 Generate a CSR for vSphere Authentication Proxy.
a Create a configuration file, /var/lib/vmware/vmcam/ssl/vmcam.cfg, as in the following
example.
[ req ]
distinguished_name = req_distinguished_name
encrypt_key = no
prompt = no
string_mask = nombstr
req_extensions = v3_req
[ v3_req ]
basicConstraints = CA:false
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = DNS:olearyf-static-1.csl.vmware.com
[ req_distinguished_name ]
countryName = IE
stateOrProvinceName = Cork
localityName = Cork
0.organizationName = VMware
organizationalUnitName = vTSU
commonName = test-cam-1.test1.vmware.com
b Run openssl to generate a CSR file and a key file, passing in the configuration file.
openssl req -new -nodes -out vmcam.csr -newkey rsa:2048 -
keyout /var/lib/vmware/vmcam/ssl/rui.key -config /var/lib/vmware/vmcam/ssl/vmcam.cfg
2 Back up the rui.crt certificate and rui.key files, which are stored in the following location.
OS Location
vCenter Server Appliance
/var/lib/vmware/vmcam/ssl/rui.crt
vCenter Server Windows
C:\ProgramData\VMware\vCenterServer\data\vmcamd\ssl\rui.crt
3 Unregister vSphere Authentication Proxy.
a Go to the directory where the camregister script is located.
OS Commands
vCenter Server Appliance
/usr/lib/vmware-vmcam/bin
vCenter Server Windows
C:\ProgramData\VMware\vCenterServer\data\vmcamd\ssl\rui.crt
b Run the following command.
camregister --unregister -a VC_address -u user
user must be a vCenter Single Sign-On user that has administrator permissions on
vCenter Server.
vSphere Security
VMware, Inc. 95