Upgrading vCenter to address CVEs results in errors creating VMs in VMware Cloud Director with Encryption Management with 401 unauthorized
search cancel

Upgrading vCenter to address CVEs results in errors creating VMs in VMware Cloud Director with Encryption Management with 401 unauthorized

book

Article ID: 451054

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

After upgrading vCenter Server to address security vulnerabilities (CVE-2026-59309, CVE-2026-59310), VMware Cloud Director (VCD) fails to create new Virtual Machines. The Encryption Management (KMS) solution reports authentication failures when communicating with the vCenter SDK.

On the KMS itself for logs we have errors similar to:
time="####-##-## ##:##:##" level=error msg="Post \"https://<vCenter Server>/ext-api/####################/sdk\": 401 Unauthorized\n\tat #################/vcf/vcd-addon-byok/byok/client/vc.(*Client).RetrieveKmipServerStatus(/opt/src/client/vc/crypto.go:139)

Other symptoms may include:

  • Attempts to create or power on VMs in VCD fail.
  • MQTT client connectivity loss to Cloud Director may be reported in KMS logs.

 

 

Environment

VMware Cloud Director 10.6.1
VMware Cloud Director Encryption Management 1.2.1
vCenter Server 8.0.3

Cause

The vCenter upgrade causes a trust mismatch or invalidates the existing session/credentials used by the Encryption Management solution to communicate with the vCenter SDK.

Resolution

To re-establish trust and resolve the 401 Unauthorized error:

  1. Log in to the VMware Cloud Director Encryption Management UI.
  2. Navigate to the Key Providers section.
  3. Perform a Certificate Trust refresh for the impacted vCenter.
  4. Perform a Credential Renewal to update the service account session.
  5. Verify the KMS status is "Healthy" and attempt VM creation.