Troubleshooting
Could not insert 'zfs': Key was rejected by service
Secure boot enabled systems require the MOK (Machine Owner's Key) for signed DKMS modules to be loaded into the kernel, otherwise errors like the following will occur:
/sbin/modprobe zfs
modprobe: ERROR: could not insert 'zfs': Key was rejected by service
Certificates must be added to secure boot certificate store before enabling secure boot; intentionally requires physical presence (or pre-existing keys to be installed during bare-metal turn-up via firmware/BIOS).
mokutil manages this process and generates changes for MOK Manager (loaded by the secure boot shim) to process on next reboot.
Security Policy Violation
Microsoft changed secure boot shim and disabled previously allowed shims used in older installers.
Verifying shim SBAT data failed: Security Policy Violation Something has gone seriously wrong: SBAT self-check failed: Security Policy Violation
Disable secure boot, disable SBAT policy, and install updated shims.
- Disable secure boot.
- Boot live cd.
-
install mokutil and delete SBAT policy.
mokutil --set-sbat-policy delete -
Reboot.
- Update and re-enable secure boot.