I'm trying to install Ubuntu 24.04.2 LTS (downloaded from https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso) next to already installed Windows 11, with Secure Boot enabled. I used Balena Etcher to write the image to USB disk. Unfortunately the installer from USB disk cannot boot as it complains about "Invalid signature detected. Check Secure Boot Policy".
Windows 11 claims Secure Boot is enabled correctly, the computer (MSI Prestige A16 AI+ A3HMG) has all required keys (from Microsoft) provisioned. I have access to these keys (e.g. using Powershell command https://learn.microsoft.com/en-us/powershell/module/secureboot/get-securebootuefi?view=windowsserver2025-ps, they can also be exported to a file in BIOS).
As far as I understand https://wiki.ubuntu.com/UEFI/SecureBoot, USB disk should boot a shim signed by Microsoft, which in turn embeds Canonical keys, so the Ubuntu image can be booted.
In order to investigate it, how can I verify the signature of the bootloader from the USB disk to check if it's valid using Secure Boot keys provisioned on my computer? How can I read the signature of the shim in USB disk and verify it against provisioned keys?