Thursday, October 18, 2012

CA Signed Certificates with VMware View

Another one for my personal notes.

Deploying CA signed SSL certificates for VMware View 5.1 is actually much easier than working with CA certificates for vSphere or ESXi. The vSphere team could learn a lot from their desktop peers.

Again I found Derek Seaman's blog an invaluable resource. I almost opted not to redocument the steps but decided that my process was different and specific enough that I should write it down so I don't have to remember the ∆



  1. Lets assume you have Active Directory Certificate Services installed already with the web enrollment feature enabled. If not, do that first.
  2. In server manager, under ADCS/Certificate Templates find the webserver template, right click on it and select duplicate
  3. Select Windows Server 2003 Enterprise as the minimum supported CA and click OK
  4. Set the display name and desired validity period
  5. On the "request handling" tab, ensure that "Allow private key to be exported" is checked
  6. Check the security tab and ensure your user account has permission to enroll. Domain Admins are permitted to enroll by default.
  7. Under ADCS// right click on Certificate Templates and select New/Certificate Template to Issue
  8. Select your newly created template and click OK
  9. On your VMware View Connection Server open the Microsoft Management Console (run MMC.exe)
  10. Under File select add / remove snap-in
  11. Add the Certificates snap-in and select Computer Account when prompted and click next
  12. Select Local computer (the default), click Finish then OK
  13. Under Certificates (Local Computer) / Personal right click on Certificates and select All Tasks / Advanced Operations / Create Custom Request...
  14. Click next on the "Before you begin" screen and on the "Certificate Enrollment Policy" screen
  15. On the custom request screen select the newly created template
  16. Click the button next to details then click properties
  17. Under subject name select "Common Name" for type and enter the FQDN of the connection server in the Value field. Then click Add> and OK and Next.
  18. Enter a filename and location to save the certificate request
  19. Open your browser of choice and browse to the ADCS web enrollment page (http:///certsrv by default)
  20. Select Request a Certificate
  21. Select "Advanced Certificate Request"
  22. Select "Submit a certificate request by using a base-64-encoded..."
  23. Paste the contents of the certificate request file into the form. (The file can be opened in notepad or dumped at a command line with cat) the click submit.
  24. Click "Download the certificate" and save the file
  25. Back in MMC, right clock on Certificates under Certificates (local computer) / Personal and select All Tasks / Import
  26. Use the import certificate wizard to import the new certificate file
  27. Right click on the new certificate and select properties
  28. In the certificate properties for the new certificate set the friendly name to "vdm"
  29. In the properties for the original, self signed certificate, clear the Friendly Name
  30. Restart the VMware View Connection Broker service
Assuming everything goes well, and your client trusts the domain CA, the VMware View Admin page will now report a valid certificate.


No comments: