Skip to the cards
Filed
Source
Christian
Loans
409

Veeam XCP-ng Worker TLS Errors: Certificate Trust, Port 9299 and Recovery Steps

A rejected XCP-ng certificate can leave Veeam without a worker. Check the certificate name and trust chain, then verify local port 9299 and retest.

Veeam XCP-ng Worker TLS Errors: Certificate Trust, Port 9299 and Recovery Steps
VBR Certificate Trust Issue

A worker VM can power on and still be unusable to Veeam Backup & Replication if its connection to the XCP-ng pool fails certificate validation. In this case, the first symptoms were “Failed to find uploaded worker VM images” and a blank storage and host list in the worker properties. The eventual cause was the TLS certificate presented by the XCP-ng endpoint: its identity did not match the fully qualified domain name used for the connection, and Windows did not trust the certificate chain.

Increase RAM and Test Worker

The incident also produced errors about Veeam services and localhost:9299. Those clues deserved checking, but they weren’t the lasting blocker. The practical fix was to reconnect using an address present in the certificate, trust that certificate on the Veeam server, then add the pool and worker again and run a backup to confirm that Veeam could find an available worker.

Logs

How the certificate failure appeared

While configuring the Veeam plug-in for Xen Orchestra, Vates XCP-ng and XenServer, the worker test failed with these messages:

log message
30.11.2026 22:32:25 Failed : Failed to find uploaded worker VM images: The remote certificate was rejected by the provided RemoteCertificateValidationCallback. (0:00:46)
30.11.2026 22:32:26 Failed : Worker worker-tdaxcp01 test failed: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
failed to find uploaded worker image

The message points to a TLS certificate check during Veeam’s connection to the XCP-ng environment. Veeam reached the stage where it had to validate the remote certificate, but rejected it. The same class of error had been reported during beta testing and in other Veeam scenarios, but the workaround used for Scale Computing HyperCore did not resolve this XCP-ng case.

Worker powered on

XCP-ng supports self-signed certificates as well as certificates issued by an internal or public certificate authority. Its default self-signed certificate, xapi-ssl.pem, can fail validation if it isn’t trusted in the Windows certificate store used by the Veeam server, or if its names don’t match the address Veeam connects to. Here, the configured name was tdaxcp-ng01.techdc01.techdirectarchive.com.

worker running

TLS validation checks both trust and identity. Installing a certificate can address the trust-chain check, but the name or IP used for the connection must also match an identity in the certificate’s Subject Alternative Name (SAN) list. Both checks need to succeed.

worker shutdown

Worker properties exposed the problem

The issue was also visible in the Veeam interface. Selecting Edit for the worker produced a “Failed to get storage” or “Unauthorized” error. When the Xen Worker Properties dialog opened, its Storage and Host fields were empty. Veeam had failed to enumerate the pool’s storage repositories while loading the dialog.

Failed
Edit worker fails from the ribbon
Failed to get storage
Storage field empty

A temporary workaround was to disable the worker, enable it again, and rerun its test. This forced Veeam to establish the plug-in session again. The storage and host information then appeared as XCP-ngStorage and TDAXCP-ng01, and the worker test passed at that point.

access log
disabled and re-enabled worker
enable worker

That result didn’t establish lasting trust in the certificate. A later backup could still fail with “No available worker was found” because the worker’s connection back to the pool continued to fail TLS validation. The temporary reset was useful for refreshing the session and confirming the symptom, but the certificate name and trust needed to be corrected.

Failed to establish connection

The worker test can be skipped by clearing Test worker configuration when I click Finish before completing the wizard. In this case, the test was left enabled to validate the repair. The guide also notes a worker sizing recommendation of 1 vCPU and 1 GB RAM for each additional task; increasing RAM during troubleshooting did not resolve this certificate error.

VBR service is not ready

Separate the local Veeam service symptom

Veeam’s plug-in logs showed the worker failing to establish a connection between itself and the cluster, followed by the certificate callback error. The relevant plug-in logs are under C:\ProgramData\Veeam\Backup\Plugins\XEN. The worker VM powered on, received IP address 192.168.2.118 and connected to the backup server, then failed at the worker-to-cluster connection.

restart service
01.12.2026 00:18:31 Failed : Failed to establish connection between the worker and cluster: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
01.12.2026 00:18:35 Failed : Worker worker-tdaxcp01 test failed: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.

The logs also included a “VBR service is not ready” message and a connection refusal at localhost:9299. Restarting the service did not clear the certificate failure. A refusal on this local endpoint can indicate that the Veeam service is stopped, still starting, or not yet accepting connections; it may be a transient readiness problem rather than the cause of a separate worker-to-pool TLS rejection.

Triusted store

To check whether port 9299 is listening, the troubleshooting steps used these PowerShell commands:

removed
Get-NetTCPConnection -LocalPort 9299 -State Listen | Format-Table LocalAddress, LocalPort, OwningProcess
Test-NetConnection -ComputerName localhost -Port 9299

A successful TCP test and a listener in the Listen state indicate that a process is accepting connections on that port. To identify the process and its executable path, the guide used:

finish
$listener = Get-NetTCPConnection -LocalPort 9299 -State Listen

$listener | ForEach-Object {
    Get-Process -Id $_.OwningProcess |
        Select-Object Id, ProcessName, Path
}

The HTTP.sys registration can be inspected with:

click ok
netsh http show servicestate | Select-String -Pattern "9299" -Context 5,10

In the reported check, HTTP.sys showed http://localhost:9299/ registered in an active session and associated with Veeam.Backup.IdentityService.exe, PID 9988. There were no active or queued requests. That confirmed the local identity service endpoint was bound when checked, making an earlier connection refusal look temporary. The outstanding issue remained the rejected certificate on the worker-to-cluster connection.

continue
TCP connection test
HTTP.sys service state
Local identity service endpoint

Reconnect with a matching, trusted certificate

The XCP-ng endpoint was 192.168.2.89. Connecting to that IP instead of the FQDN succeeded because the certificate contained the IP address but not tdaxcp-ng01.techdc01.techdirectarchive.com. The IP matched the certificate identity; the FQDN did not. The certificate also needed to be trusted by Windows on the Veeam server.

veeam web service is running

To rebuild the connection, remove the existing XCP-ng worker first, then remove the pool from Veeam. The existing worker must be removed before the pool can be removed. When adding the server again, use the address that matches the certificate. An IP address can work in this setup, but it won’t make certificate validation unnecessary: the certificate still needs to be trusted, and its SAN must include the IP used.

web service running
Remove worker
Remove pool

During the connection flow, use View to open the certificate, choose Install, select Local Machine as the store location, and place it in Trusted Root Certification Authorities. Complete the wizard, confirm the import, then continue through the credential prompt and the remaining server setup steps.

Failed to register cluster XCP-ng or XenServer
Add server by IP
View certificate
Install certificate
Select Local Machine
Select trusted certificate store
Certificate import successful

For teams that prefer DNS names, the long-term setup should use a stable FQDN and a certificate whose SAN includes that name. A DNS record can map the name to the host, and a matching entry in the Veeam server’s hosts file can provide a local static mapping when needed. The name-resolution method does not replace certificate validation: the certificate still has to be trusted and match the name Veeam uses.

Recreate the worker and verify a backup

After the pool has been added, create the worker from the Veeam inventory. Select Backup Proxies, choose Add Proxy, then select Xen worker. Choose the pool and storage; the host should populate from that selection. Complete the wizard and update the relevant backup job to use the re-added worker.

Add worker by IP
Worker added

Run the worker test and a backup job. In the reported case, the job found an available worker and completed. During a test, backup or restore session, Veeam starts the worker VM as needed and shuts it down when the session finishes so the worker can be used for later sessions.

Backup job found a worker
Backup job in progress
Backup job completed

One separate error during troubleshooting was HTTP 502 while connecting to the backup server; the reported cause was that the Veeam Web Service wasn’t running. Another “Failed to Register Cluster” message appeared when trying to add the same pool by IP while its FQDN entry still existed. The pool UUID was already present in Veeam’s inventory, so the old entry needed to be removed before registering it again.

For this failure, start with the certificate’s SAN and trust chain, then check whether Veeam can enumerate storage and whether the worker can connect back to the pool. Use the port 9299 checks to distinguish a local service readiness issue from the TLS failure. A stable DNS name with a matching trusted certificate gives administrators a repeatable connection setup; whichever address they choose, confirm the worker test and a real backup before relying on it.

Source: Christian · techdirectarchive.com

Filed alongside