In Part 2 of this series I will be switching the Connection & Security Servers default SSL certificates to trusted SSL certificates. Once you obtain the replacement certificates the swap is very simple and easy! You can jump to Part 3 if you are just testing View in your environment and have no care if the certificate is valid.


VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop

vBoring Blog Series:

  1. VMware Horizon View 7: Deployment and Installation

  2. VMware Horizon View 7: Apply SSL Certificates

  3. VMware Horizon View 7: Create Events Database

  4. VMware Horizon View 7: Add Microsoft RDS Farm

  5. VMware Horizon View 7: Setup Remote Access through Security Server

  6. VMware Horizon View 7: Create Master Desktop Template

  7. VMware Horizon View 7: Automated Desktop Pool

  8. VMware Horizon View 7: Instant Clone Desktop Pool

Untrusted / Invalid Certificate:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_02

On the View Administrator Console the Connection and Security Servers will have a red square stating it has a Invalid and Untrusted Certificate. To resolve this you will need to create a signed certificate from an internal or external CA. For your Connection Servers you can use a internal certificate but for Security Servers you need to use a outside trusted CA. I used StartSSL.com to create a wildcard certificate for my domain and will be using it. To read more about creating your certificates check out the VMware document: Scenarios for Setting Up SSL Certificates for View. It says for Horizon View 6 but it carries over to Horizon View 7.

Changing Certificate on Connection/Security Servers:

The process for updating the certificate is the same on the Connection and Security Servers. Once you have the certificate(s) we need to import into the Windows Certficiate store. Login to your Connection/Security Server,  open MMC.exe -> File -> Add/Remove Snap-in… -> Select Certificates -> Add:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_03

Select Computer Account then click Next:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_04

Drill down to Certificates/Personal/Certificates. Under the Friendly Name column find the one that says vdm. Right click and go to Properties:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_05

We are going to rename the friendly name. Add a -original to the end then click Apply/Ok:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_06

Now the Friendly Name is changed (vdm-original) right click in the white area, hover to All Tasks -> Import:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_07

Go through the Import Wizard and import the certificate you wish to use. Ensure you check the box that says “Mark this key as exportable“. If that box is not checked then the certificate will not work.

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_08

Now the certificate is imported right click it and go to Properties:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_09

Change the friendly name to vdm then click Apply/Ok:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_10

You can restart the View services but I found it easier to just reboot the server and let everything come up clean.

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_11

Once rebooted and services are started open your browser and go to the Administrator Console. You will notice it is using the new certificate!

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_12

On the Dashboard screen both Connection Server/Security Server will no longer have a red square as the certificate is now valid:

VMware Horizon View 7: Apply SSL Certificates [Part 2]_virtual desktop_13


Proceed to the next step:

VMware Horizon View 7: Create Events Database