An Azure service that is used to provision Windows and Linux virtual machines.
Is this for ubuntu 20.04 vm or all other vm?Kindly provide an update ASAP.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
An Azure service that is used to provision Windows and Linux virtual machines.
Is this for ubuntu 20.04 vm or all other vm?Kindly provide an update ASAP.
Is this for ubuntu 20.04 VM?
AI answer
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:
For an Azure Ubuntu VM:
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.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: