Citrix XenDesktop

Connecting XenDesktop 7 to vCenter using self signed certificate

In this post I will explain how to connect your XenDesktop 7 deployment to a vCenter environment which doesn’t use any third party certificates for it’s SSL authentication.  If you attempt to make the connection it will fail as the certificate is not trusted. What you need to do is import the certificate onto your XenDesktop server so that it is trusted. If you do not do this you will receive the following error:

“Cannot connect to the VCenter server due to a certificate error. Make sure that the appropriate certificates are installed on the VCenter server, and install the appropriate certificates on the same machine that contains all instances of the Host service”

image

So to make the connection successful we can follow the following steps:

1) Export the certificate from your vCenter server and call it whatever you like. Once you have done this copy it onto your XenDesktop server

image

2) Double click on the certificate and verify the details.  It should say “Issued to VMware default certificate” If so select “Install Certificate”

image

3) The Certificate Import Wizard will start up. For the store location select “Local Machine”

image

4)  When prompted for which certificate store you want the certificate in, let the wizard place it automatically.

image

5) Now that the certificate is in the store our SSL connection should be trusted.  We can now proceed to enter our connection details:

image

Note the address needs to match exactly what was on the “Issued By” field on the certificate otherwise this process will fail.

6) If the connection was successful then you will be displayed with all your resources in vCenter. You can now proceed with setting up the rest of the connection properties 🙂

image

2 Comments

  1. I had issues following the instructions I found out later the certificate has to be placed in the trusted people store. Hopefully this will help you guys out.

Leave a Reply

Your email address will not be published. Required fields are marked *