I Get “bad Shim Signature” Booting With Secure Boot Enabled

Home » CentOS » I Get “bad Shim Signature” Booting With Secure Boot Enabled
CentOS No Comments

Hi,

If I enable Secure Boot in my UEFI I get this error (just after selecting CentOS from the grub menu)

grub-core/kern/efi/sb.c:151: bad shim signature grub-core/loader/i386/efi/linux.c:208: you need to load the kernel first

Can someone explain to me why I get this, please? And what can I do to get CentOS to boot with Secure Boot?

My system:
NAME=”CentOS Linux”
VERSION=”8″

CentOS Linux release 8.4.2105

Thank you.