Linux modprobe Error: Key Was Rejected by Service (Secure Boot)
Unsigned out-of-tree DKMS kernel module blocked by UEFI Secure Boot.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Linux modprobe Error
Platform: Linux
Common Root Causes:
- Unsigned out-of-tree DKMS kernel module blocked by UEFI Secure Boot.
Interactive Diagnostic Checklist
Verified Solutions:
- Enroll Machine Owner Key (MOK) to sign the module or use in-tree kernel drivers.
Safe Diagnostic Command:
mokutil --sb-state
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Unsigned out-of-tree DKMS kernel module blocked by UEFI Secure Boot. Recommended diagnostic: `mokutil --sb-state`. Remediation: Enroll Machine Owner Key (MOK) to sign the module or use in-tree kernel drivers.
Worked Examples
- Run `mokutil --sb-state` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-linux-kernel-module-tainted-dkms · Independently verified: 2026-11-25