You can have the VMCA certificate signed by another CA so that VMCA becomes an intermediate CA Going forward, all certificates that VMCA generates include the full chain.
You can perform this setup by using the vSphere Certificate Manager utility, by using CLIs, or from the Platform Services Controller web interface.
- Generate the CSR.
- Edit the certificate that you receive, and place the current VMCA root certificate at the bottom.
- From a Web browser, connect to the Platform Services Controller by specifying the following URL:
https://psc_hostname_or_IP/pscIn an embedded deployment, the Platform Services Controller host name or IP address is the same as the vCenter Server host name or IP address.
- Specify the user name and password for email@example.com or another member of the vCenter Single Sign-On Administrators group.
If you specified a different domain during installation, log in as administrator@ mydomain.
- To replace the existing certificate with the chained certificate, follow these steps:
Going forward, VMCA signs all certificates that it issues with the new chained root certificate.
- Under Certificates, click Certificate Authority and select the Root Certificate tab.
- Click Replace Certificate. add the private key file and the certificate file (full chain) and click OK.
- In the Replace Root Certificate dialog, click Browse and select the private key, click Browse again and select the certificate, and click OK.
- Renew the machine SSL certificate for the local system.
VMCA replaces the machine SSL certificate with the certificate that is signed by the new CA.
- Under Certificates, click Certificate Management and click the Machine Certificates tab.
- Select the certificate, click Renew, and answer Yes to the prompt.
- (Optional) Renew the solution user certificates for the local system.
VMCA replaces the solution user certificate or all solution user certificates with certificates that are signed by the new CA.
- Click the Solution User Certificates tab.
- Select a certificate and click Renew to renew individual selected certificates, or click Renew All to replace all certificates and answer Yes to the prompt.
- If your environment includes an external Platform Services Controller, you can then renew the certificates for each of the vCenter Server system.
- Click the Logout button in the Certificate Management panel.
- When prompted, specify the IP address or FQDN of the vCenter Server system and user name and password of a vCenter Server administrator who can authenticate to vCenter Single Sign-On.
- Renew the machine SSL certificate on the vCenter Server and, optionally, each solution user certificate.
- If you have multiple vCenter Server systems in your environment, repeat the process for each system.
What to do next
Restart services on the Platform Services Controller. You can either restart the Platform Services Controller, or run the following commands from the command line:
On Windows, the service-control command is located at VCENTER_INSTALL_PATH\bin.
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