Share via

Issue regarding secure boot certificates upgradation from 2011 to 2023 for ubuntu 20.04 VM deployed in azure environment.

Jagan R 0 Reputation points
2026-06-19T07:00:24.2533333+00:00

Hello,

I have an azure advisory recommendation to update the secure boot certificate from 2011 to 2023 in ubuntu 20.04 vm .I tried updating the firmware using below commands:

sudo fwupdmgr update

sudo reboot

After reboot, verify that the new certificates are present:

mokutil --db | grep -i "2023"

sudo apt update

sudo apt install --only-upgrade \

shim-signed \

grub-efi-amd64-signed \

grub-efi-amd64-bin

sudo reboot

apt list --upgradable | grep -E "shim|grub"

I found out that there is no certificate available inside vm even after the update for firmware. Kindly help me out in fixing the issue. I have rebooted the vm as well.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


3 answers

Sort by: Most helpful
  1. Jagan R 0 Reputation points
    2026-06-19T07:08:40.2666667+00:00

    Is this for ubuntu 20.04 vm or all other vm?Kindly provide an update ASAP.

    Was this answer helpful?

    0 comments No comments

  2. Jagan R 0 Reputation points
    2026-06-19T07:06:38.4966667+00:00

    Is this for ubuntu 20.04 VM?

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-06-19T07:01:06.85+00:00

    For Azure VMs, Secure Boot trust is enforced by the UEFI firmware of the underlying host, not by certificates inside the guest OS. The 2011→2023 Secure Boot certificate transition is about updating the UEFI Secure Boot databases (DB/DBX) and KEK in firmware so that Windows (and other OS bootloaders) signed with the new 2023 CAs remain trusted.

    The commands run inside Ubuntu (fwupdmgr, shim/grub updates, mokutil) affect the guest boot components and any OS-level trust stores, but they do not control or directly expose the host’s UEFI Secure Boot certificates. It is therefore expected that mokutil --db in the guest does not show the Microsoft 2023 Secure Boot CAs; those CAs live in the host firmware and are managed by Microsoft/Azure and OEM firmware updates.

    Key points from the provided guidance:

    1. Microsoft is transitioning from the 2011 Secure Boot CAs to new 2023 CAs (for example, Windows UEFI CA 2023, Microsoft UEFI CA 2023, Microsoft Option ROM UEFI CA 2023). These are stored in the firmware Secure Boot DB/KEK, not inside the guest OS.
    2. Devices (including platforms hosting VMs) must be updated to the 2023 certificates before the 2011 certificates expire (starting June–October 2026) to remain in compliance and continue receiving boot-level security updates.
    3. If firmware blocks or fails Secure Boot updates (for example, Event ID 1795 on Windows), the guidance is to work with the OEM or platform provider and apply firmware/host updates; the fix is not inside the guest OS.
    4. After expiration, systems without the new 2023 CAs can still boot and receive normal OS updates, but they will no longer receive new boot-level security protections.

    For an Azure Ubuntu VM:

    • The advisory about 2011→2023 Secure Boot certificates refers to the host/firmware layer managed by Azure. There is no supported way from inside the Ubuntu guest to directly verify or modify those Microsoft Secure Boot CAs.
    • Updating shim/grub and running fwupdmgr in the guest is still good practice so that the guest boot chain is current and compatible with newer firmware trust anchors, but it will not make the Microsoft 2023 CAs appear in mokutil --db.
    • If the Azure advisory persists or indicates a platform-side issue, the next step is to treat it as a platform/firmware concern and work with Azure support so they can confirm the host’s Secure Boot certificate state and apply any required platform updates.

    In summary, the absence of the 2023 Microsoft CAs in mokutil --db inside the Ubuntu VM does not mean the Azure advisory cannot be satisfied; the relevant certificates are managed at the firmware/host level, not inside the guest OS.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.