Secure Boot Violation

Hello. I’ve been trying to get secure boot/disk encryption working on my balena x86 devices. It seems the os installs but as soon as it reboots I get a Secure Boot Violation. How do I debug this?

Looks like the OS doesn’t actually get installed. Half the time I try to install it I just get a black screen and nothing seems to happen. Sometimes it reboots with this error but the OS was never actually installed.