From Web Design to ERP — Your IT Partner

Proxmox UEFI 2023 Certificate Expiry Fix (ms-cert=2023k)

The deadline: Microsoft's original 2011 UEFI Secure Boot certificates expire in June 2026. Any Proxmox VM still running only those certificates can fail to boot the moment Windows Update delivers a bootloader signed with the newer 2023 certificates — and the fix takes under 5 seconds per VM once you know to look for it.

A yellow warning starts appearing on VM boot that most admins have never seen before: EFI disk without 'ms-cert=2023k' option. It's not cosmetic. Ignore it and a routine Windows Update can leave a VM stuck at a Secure Boot violation screen with no warning beforehand.

Need Proxmox Certificate Fixed?

Need help? Connect on WhatsApp 👉 wa.link/uw9n3f

Or ask on website chat for freelancer support.

What's Actually Happening

Every UEFI (OVMF) VM in Proxmox has an EFI disk that stores Secure Boot certificates — the list of signatures the firmware trusts before it'll boot anything. VMs created with the original defaults only have Microsoft's 2011 certificates enrolled. Microsoft issued replacement 2023 certificates years ago, and the 2011 set expires June 2026. Once a Windows Update ships a bootloader signed only with the 2023 certificate and a VM's firmware doesn't recognize it, Secure Boot rejects it outright — black screen, no more informative error than that.

Only VMs on OVMF (UEFI) BIOS are affected. SeaBIOS (legacy) VMs have no Secure Boot mechanism at all.

# Check which BIOS a VM uses

qm config <VMID> | grep bios

# bios: ovmf → affected, needs the fix

# (no line, or bios: seabios) → not affected

Before You Touch Anything: Check BitLocker

This is the step that actually matters on Windows VMs. Changing Secure Boot certificate enrollment triggers a BitLocker recovery-key prompt on next boot if BitLocker is active and you didn't suspend it first — and if the recovery key isn't documented somewhere, that's a full lockout.

# Inside the Windows VM, via RDP or console

manage-bde -status

# If any drive shows "Protection Status: Protection On":

manage-bde -protectors -disable C:

# Suspends for one reboot only — BitLocker re-enables automatically

# after the VM boots successfully post-enrollment

The Fix

StepCommand

1. Shut down (full stop, not reboot)qm shutdown <VMID>

2. Confirm stoppedqm status <VMID>

3. Enroll the 2023 certificatesqm enroll-efi-keys <VMID>

4. Start it back upqm start <VMID>

The command adds the 2023 certificates alongside the existing 2011 set — nothing gets removed, so the VM can boot bootloaders signed by either. This can also be done from the web UI: Hardware → EFI Disk → Disk Action → Enroll Updated Certificates, VM stopped first.

Doing This Across a Whole Fleet

With more than a couple of affected VMs, find them all first, then batch the ones that are already stopped:

# Find every VM with OVMF BIOS and its current status

grep -rl 'bios: ovmf' /etc/pve/qemu-server/ | while read f; do

vmid=$(basename $f .conf)

status=$(qm status $vmid 2>/dev/null | awk '{print $2}')

echo "VM $vmid: $status"

done

# Enroll every VM that's already stopped — safe to batch

for vm in 103 104 108 111 124; do

qm enroll-efi-keys $vm

done

Running VMs must be handled one at a time — shut down, enroll, start, verify it actually came back before moving to the next. If a graceful shutdown times out after 30 seconds (common when the QEMU guest agent isn't installed), force-stop with qm stop <VMID> and enroll anyway.

What to Skip

Templates — can't be enrolled directly. New VMs cloned from a template inherit the old certificates and need enrolling individually after creation, before first boot.

macOS guests — don't use Microsoft's Secure Boot chain at all, this warning doesn't apply.

Linked clones — each clone has its own EFI disk. Enrolling the base template does not update clones that already exist from it.

Production / Public-Facing VMs

Don't apply this to an internet-facing server on the spot — schedule a proper maintenance window. The certificate isn't expired yet at the time this warning first appears, only expiring, so there's no rush that justifies unplanned downtime on something users depend on.

Schedule the window.

Check and suspend BitLocker if active (see above).

qm shutdown → confirm stopped → qm enroll-efi-keys → qm start.

Verify: RDP in, confirm services are running, confirm the actual application is reachable.

Re-enable BitLocker manually if you'd suspended it: manage-bde -protectors -enable C:.

FAQ: Will enrolling break anything?

No — the 2011 certificates stay enrolled alongside the new 2023 ones. Both remain valid; the VM can boot bootloaders signed by either set. Nothing is being removed or revoked.

FAQ: The warning still shows after I ran the enroll command — did it fail?

Probably not. The warning checks for an ms-cert=2023k flag in the EFI disk's config line, which doesn't always auto-update after enrollment even though the certificates themselves are correctly enrolled. Check the enrollment command's own output for successfully updated efidisk — if that's there, it worked regardless of what the summary warning still shows.

FAQ: Do Linux guests need this too?

Yes, if they boot via OVMF with Secure Boot enabled. Modern distributions are transitioning to 2023-signed bootloaders on the same timeline as Windows.

This pairs naturally with a broader Proxmox fleet health review — expiring certificates are exactly the kind of silent, ticking-clock issue that's easy to miss until it takes a VM down without warning. Get in touch if you'd like a fleet audited before June 2026.