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 ∆
- Lets assume you have Active Directory Certificate Services installed already with the web enrollment feature enabled. If not, do that first.
- In server manager, under ADCS/Certificate Templates find the webserver template, right click on it and select duplicate

- Select Windows Server 2003 Enterprise as the minimum supported CA and click OK

- Set the display name and desired validity period

- On the "request handling" tab, ensure that "Allow private key to be exported" is checked

- Check the security tab and ensure your user account has permission to enroll. Domain Admins are permitted to enroll by default.
- Under ADCS/
/ right click on Certificate Templates and select New/Certificate Template to Issue 
- Select your newly created template and click OK
- On your VMware View Connection Server open the Microsoft Management Console (run MMC.exe)
- Under File select add / remove snap-in
- Add the Certificates snap-in and select Computer Account when prompted and click next

- Select Local computer (the default), click Finish then OK
- Under Certificates (Local Computer) / Personal right click on Certificates and select All Tasks / Advanced Operations / Create Custom Request...

- Click next on the "Before you begin" screen and on the "Certificate Enrollment Policy" screen
- On the custom request screen select the newly created template

- Click the button next to details then click properties

- 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.

- Enter a filename and location to save the certificate request
- Open your browser of choice and browse to the ADCS web enrollment page (http://
/certsrv by default) - Select Request a Certificate

- Select "Advanced Certificate Request"
- Select "Submit a certificate request by using a base-64-encoded..."

- 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.

- Click "Download the certificate" and save the file
- Back in MMC, right clock on Certificates under Certificates (local computer) / Personal and select All Tasks / Import

- Use the import certificate wizard to import the new certificate file
- Right click on the new certificate and select properties
- In the certificate properties for the new certificate set the friendly name to "vdm"

- In the properties for the original, self signed certificate, clear the Friendly Name
- Restart the VMware View Connection Broker service

No comments:
Post a Comment