You can replace the default Update Manager SSL certificates with either self-signed certificates or certificates signed by a commercial certification authority (CA). This article provides information on replacing the SSL certificates in Update Manager 4.1 Update 1 and later.
The Update Manager 4.1 Update 1 and later releases include the Update Manager Utility that lets you replace the SSL certificates for Update Manager and perform other reconfiguration tasks. The Update Manager Utility is not available in earlier releases.
You can replace only the SSL certificates that Update Manager uses for communication between the Update Manager server and client components.
You cannot replace the SSL certificates that Update Manager uses on port 9087 when importing offline bundles or upgrade release files.
VMware products use standard X.509 version 3 (X.509v3) certificates. The default certificates must be replaced only with a signed certificate that conforms to Privacy Enhanced Mail (PEM), a key format that stores data in a Base-64 encoded Distinguished Encoding Rules (DER) format.
The key used to sign the certificates must be a standard RSA key with an encryption length ranging from 512 to 2048 bits. The recommended length is 2048 bits.
Certificates are stored in the SSL folder located in the Update Manager installation directory.
Create a certificate-signing request for Update Manager, run the command:
openssl req -new -nodes -out rui.csr -keyout rui-orig.key -config updatemanager.cfg
openssl rsa -in rui-orig.key -out rui.key
Send the certificate request to a commercial certificate authority of your choice and wait for the return of the signed certificate.
After receiving the signed certificate from the commercial certificate authority, rename it to rui.crt.
Note: Because of a known issue in the JRE keytool.exe application, certificates must not contain any characters before the ---BEGIN CERTIFICATE---section or after the ---END CERTIFICATE---section of the certificate. If the certificate contains any characters in those places, use a text editor to delete the characters.
Create the PFX file .pfx file, run the command:
openssl pkcs12 -export -in rui.crt -inkey rui.key -name "rui" -passout pass:testpassword -out rui.pfx
Note: For Update Manager 5.0, if the certificate for the Inventory Service is not modified, the Update Manager Utility cannot upgrade the certificate for Update Manager. In this case, you continue to see a default install certificate message when enabling the Update Manager plugin. For more information, see Configuring CA signed certificates for VMware vCenter Server 5.0.x (2015421).