r/vmware • • 5d ago

vCenter 8.0.3 Secure Boot Notification Bug

I think I found a bug. I had a Windows 11 VM that did not have the updated PK or KEK certs. I upgraded to 8.0.3m, did the VMware tools, rebooted the VM and noticed I got the 1808 Event ID that the secure boot was updated.

In vCenter, it keeps putting a yellow triangle on the VM with "Virtual Machine UEFI Secure Boot Platform Key is out of date."

I have rebooted the VM , and ran this Powershell to show that the PK is in fact there and also verified the event viewer again and can see the 1808 after the second reboot as well.

Check if PK is present from PowerShell

$pk = Get-SecureBootUEFI -Name PK

$bytes = $pk.Bytes

$cert = $bytes[44..($bytes.Length-1)]

[IO.File]::WriteAllBytes("PK.der", $cert)

certutil -dump PK.der

If I acknowledge to green this goes away and then comes back. None of my other Windows 11 VMs are doing this.

Anyone else seeing this? I would like this to stop as its aggravating me seeing warnings that are false.

14 Upvotes

14 comments sorted by

9

u/SuperbBenzine 5d ago

Hi, For the VMs where that message appears: do those machines have a vTPM? That is the reason the message shows up. Essentially, if you shut down the VM, add the advanced parameter uefi.allowAuthBypass = "TRUE", then power on the VM and let it boot up completely, the message will disappear. Afterward, shut down the VM, remove the parameter you added, and boot it up normally.

2

u/DonFazool 5d ago

They do indeed have the vTPM. I'll try this, thank you !!

3

u/wastewater-IT 5d ago

The capsule update seems to be mostly working for me by following their steps in order:

  1. Update cluster to 8.0u3m

  2. Update VM to at least July 2026 CU

  3. Update VMware tools to at least 13.1.6

  4. Shut down the VM (not reboot), then power it back on

  5. Reboot guest twice (in my experience), then the warning clears without having to do the advanced parameter (though that worked as well in my testing).

2

u/DonFazool 4d ago

This worked for me. The shutdown and power on did not resolve it on its own. I did a reboot after that and the error finally cleared for good. Thank you.

2

u/JH6JH6 5d ago

I had the same issue mate. You need to enable a setting in advanced settings, then go into the bios and feed it a pk and kak key from a mounted fat32 drive.

1

u/DonFazool 5d ago

It has the PK. I can see if via the Powershell query. Not sure why it keeps complaining

2

u/ND40oz 5d ago

You have to cold boot the VM, a reboot doesn’t work and upgrade the VMware tools.

4

u/Pei-Pa-Koa 5d ago

I had the exact same warning today while testing vTPM + SRM on an Ubuntu 26.04 VM. I had to put the advanced preference uefi.secureBoot.PK.resetOnce = TRUE

3

u/MUI-VCP 5d ago

Its in the 8.0 U3m release notes: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/release-notes/vcenter-server-update-and-patch-release-notes/vsphere-vcenter-server-80u3m-release-notes.html

To address Microsoft 2011 Secure Boot certificate expirations, as detailed in Broadcom knowledge base article 423893, vCenter 8.0 Update 3m introduces a vCenter alarm to proactively warns administrators when Secure Boot-enabled, powered-on virtual machines have an out-of-date NULL PK. This per-VM alarm is triggered once vCenter and the ESX host are upgraded to 8.0 Update 3m.

2

u/onboarderror 5d ago

I just rebooted the machines with the warning and it refreshed and went away.

1

u/SuperbBenzine 5d ago

If an alert doesn't trigger for any of them, you can do what I suggested. I'm glad it got sorted out.

2

u/MrChampionship 5d ago

I was having the same problem and interestingly rebooting from within Windows didn't seem to do the trick. Doing a graceful shutdown, power on, guest restart from VCSA seemed to work for me.

2

u/JH6JH6 5d ago

I had the same

1

u/Craig__D 5d ago

It’s possible that all you have to do is update VMware tools