If you configure a new TLS 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.

Prerequisites

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.

Procedure

  1. Stop the View Composer service.
  2. Open a command prompt on the Windows Server host where View Composer is installed.
  3. 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.
  4. Type the SviConfig ReplaceCertificate command.
    For example:
    sviconfig -operation=ReplaceCertificate
              -delete=false
    where -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 TLS certificates that are available in the Windows local computer certificate store.
  5. To select a certificate, type the number of a certificate and press Enter.
  6. Restart the View Composer service to make your changes take effect.

Example: SviConfig ReplaceCertificate

The following example replaces the certificate that is bound to the View Composer port:

sviconfig -operation=ReplaceCertificate
          -delete=false