Blog

Notes from the Field: When a PVS Upgrade Broke XenServer Licensing

Article illustration

Even a simple upgrade can cause unexpected issues. Here’s what happened when a PVS upgrade broke XenServer licensing, and how we fixed it.

Background

During a recent upgrade of Citrix Provisioning Services (PVS) to version 2507 at a customer site, we encountered an unexpected licensing issue. PVS 2507 enforces stricter certificate requirements: the certificate subject name on the Citrix license server must match the FQDN used by PVS.

The Situation

During the upgrade, we discovered that the certificate used by the WebServicesForLicensing component (which handles license communication) was still the old one. As a result, PVS licensing did not work until we corrected this. 

How We Fixed the PVS Issue

To resolve the PVS licensing problem, we replaced the server.crt and server.key files in:

C:\Program Files (x86)\Citrix\Licensing\WebServicesForLicensing\Apache\conf

with the correct certificate files that matched the FQDN.

After correcting the certificate for PVS, we found out that this change impacted XenServer’s ability to check out licenses. While XenServer had been able to communicate with the license server using the old certificate, the new certificate was not immediately trusted by the XenServer hosts, causing them to enter license grace mode.

Final Steps:

  1. Remove the License Server from XenServer: In XenCenter, we removed the license server configuration from the affected XenServer hosts. This resulted in XenServer operating in trial mode.
  2. Reconfigure the License Server: We then re-added the license server details in XenCenter. This forced XenServer to re-establish trust and pick up the correct (new) certificate.

Both PVS and XenServer were able to communicate with the license server again, and normal operation resumed.

Key Takeaways

  • Certificate changes may not propagate to all services on the license server. Always check which certificate is being used by backend components like WebServicesForLicensing.
  • Updating the certificate files directly (server.crt and server.key) is necessary for proper license communication.
  • Changes made for one Citrix component (like PVS) can impact others (like XenServer). Always test all integrations after making certificate changes.
  • Re-adding the license server in XenServer is a quick way to force it to trust a new or updated certificate.

Upgrades and security improvements are essential, but they can have unexpected side effects. In this case, fixing licensing for PVS inadvertently impacted XenServer. A simple reconfiguration step saved the day. Hopefully, this helps others avoid unnecessary downtime during Citrix upgrades!

How GripMatix Can Help

This real-world scenario is an example of the challenges organizations face when managing complex EUC environments. At GripMatix, we specialize in Managed EUC Support & Consultancy to help businesses avoid downtime and ensure smooth operations during upgrades, migrations, and security improvements.

If you want peace of mind and expert support for your EUC infrastructure, GripMatix is here to help.

Contact us today to learn how we can keep your Citrix environment secure, stable, and future-ready.

Marc van der Veer

Consultant @ GripMatix