Horizon View: Server certificate does not match the external url

Table of Contents

[caption id=“attachment_3287” align=“alignnone” width=“479”]Horizon View Certificate Error Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0[/caption]

Certificates are always fun… or should I say PITA?  Whatever… During a small Horizon View PoC, I noticed an error message for the View Connection Server.

That’s right, Mr. Connection Server. The certificate subject name does not match the servers external URL, as this screenshot clearly shows.

[caption id=“attachment_3289” align=“aligncenter” width=“651”]Horizon View Secure Tunnel Settings Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0[/caption]

But both settings are unused, because a VMware Access Point appliance is in place. If I remove the certificate, that was issued from a public certificate authority, I get an error message because of an invalid, self signed certificate.

I want to use the certificate on the Horizon View Connection Server, but I also want to get rid of the error message, caused by the wrong subject name. The customer uses split DNS, so he is using the same URL internally and externally, and the certificate uses the external URL as subject name.

Change the URLs

The solution is easy:

  1. Enable the checkboxes for the Secure Tunnel connection and the Blast Secure Gateway
  2. Change the hostname to the name, that matches the subject name of the certificate
  3. Uncheck the checkboxes again, and apply the settings

[caption id=“attachment_3291” align=“alignnone” width=“631”]Horizon View Secure Tunnel Settings Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0[/caption]

After a couple of secons, and a refresh of the dashboard, the error for the Connection Server should be gone.

[caption id=“attachment_3292” align=“alignnone” width=“479”]Horizon View Connection Server Details Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0[/caption]

Patrick Terlisten
Infrastructure Cloud/ On-Prem/ Hybrid | Dad of 👧 👧 👦 | Podcaster | Landleben