If you configure a new SSL certificate after you install View Composer, you must run the SviConfig ReplaceCertificate utility to replace the certificate that is bound to the port used by View Composer. This utility unbinds the existing certificate and binds the new certificate to the port.
If you install the new certificate on the Windows Server computer before you install View Composer, you do not have to run the SviConfig ReplaceCertificate utility. When you run the View Composer installer, you can select a certificate signed by a CA instead of the default, self-signed certificate. During the installation, the selected certificate is bound to the port used by View Composer.
If you intend to replace an existing certificate or the default, self-signed certificate with a new certificate, you must use the SviConfig ReplaceCertificate utility.
Verify that the new certificate was imported into the Windows local computer certificate store on the Windows Server computer on which View Composer is installed.
- Stop the View Composer service.
- Open a command prompt on the Windows Server host where View Composer is installed.
- Navigate to the SviConfig executable file.
The file is located with the View Composer application. The default path is C:\Program Files (x86)\VMware\VMware View Composer\sviconfig.exe.
- Type the SviConfig ReplaceCertificate command.
sviconfig -operation=ReplaceCertificate -delete=falsewhere -delete is a required parameter that operates on the certificate that is being replaced. You must specify either -delete=true to delete the old certificate from the Windows local computer certificate store or -delete=false to keep the old certificate in the Windows certificate store.The utility displays a numbered list of SSL certificates that are available in the Windows local computer certificate store.
- To select a certificate, type the number of a certificate and press Enter.
- Restart the View Composer service to make your changes take effect.
The following example replaces the certificate that is bound to the View Composer port:
sviconfig -operation=ReplaceCertificate -delete=false