When using VMware vSphere as the hypervisor for Citrix XenDesktop, there may be an issue you encounter when trying to initially connect to the vCenter server during initial config of XenDesktop.

With XenDesktop 5.5, you will most come across this very useful error message:

"Object reference not set to an instance of an object"



This error message is essentially due to communications with VMware vCenter Server being secured and encrypted with an SSL certificate.

The SSL certificate in question is a self-signed and generated certifcate by vCenter at the time of installation, unless you changed this to a public signed one by verisign? (No i didn't think so).


So all you have to do is get the desktop delivery controller(s) (DDCs) to trust this certificate - easy!

We still want to continue to use secure https communication with the vCenter server.



1. Open Internet Explorer and browse to the https address of your vCenter server.





2.  Click on the certificate error and view the certificate


3. When the certifcate opens click "Install certificate"




4. Install the certificate to "Trusted People/Local Computer".

Note: You need tick physical locations and choose local computer otherwise it will not work.







Share this blog post on social media:

Social Links


All advice, installation/configuration how to guides, troubleshooting and other information on this website are provided as-is with no warranty or guarantee. Whilst the information provided is correct to the best of my knowledge, I am not reponsible for any issues that may arise using this information, and you do so at your own risk. As always before performing anything; check, double check, test and always ensure you have a backup.

Copyright ©2008-2021 Andy Barnes - Please do not copy any content including images without prior consent!

Designed and Hosted by Andy Barnes