by lunarg on December 8th 2020, at 11:52

If the SSL-certificate on your VMware Horizon View Composer server is about to expire, it will have to be replaced. The process is pretty straight forward.

  1. Import the new certificate (in PFX-format) in the Computer certificate store. You can use the MMC snap-in or certutil to accomplish the task. If it's not a publicly signed certificate, you will also need to make sure the intermediate and trusted root CA is imported.
  2. Open an elevated command prompt.
  3. Stop the VMware Horizon Composer service:
    net stop svid
  4. Navigate to the install location of View Composer. The default location is C:\Program Files (x86)\VMware\VMware View Composer. On a 32-bit machine, leave out "(x86)".
  5. Run the following command:
    sviconfig -operation=replacecertificate -delete=false
    This will prompt you to select a new certificate by typing in its number and pressing Enter. When multiple certificates are present, check the Subject and Validity dates to confirm you have the right one. If the correct certificate is not visible, you've most likely imported the certificate in the wrong store.
  6. After pressing Enter, the tool will update the configuration (it will say "completed succesfully"), after which you can start the VMware View Composer service again.
    net start svid