Citrix Delivery Controller cannot connect to VCSA (Attempting to connect to the VCenter server failed due to a certificate error.)

Citrix Delivery Controller cannot connect to VCSA (Attempting to connect to the VCenter server failed due to a certificate error.)

When you cannot add Machines to Machine Catalogs or your Hosts Test shows

theny you may have changed your certificate of your VCSA Appliance.

To resolve these issue you have to change the trusted certificate of your VCSA Connection in Citrix.

Firts have a look at the current configuration

Then check the Thumbprint of your current vcsa Certificate.

If the thumbprint doest’t match to your Citrix Confiuguration you have to change the Thumbprint in Citrix Connection config.
Please note that the Thumbprint has to be UPPERCASE!

Set-Item -LiteralPath %FullPath% -sslthumbprint %ThumbprintOfYourNewCertificate% -hypervisorAddress %HypervisorAddress%

After entering the command everything should work again