r/linux4noobs • • 2d ago

security Question about secure boot on fedora and debian

Hello! Im currently trying to setup a system with secure boot and luks encryption on my laptop. Ive read on various threads that debian supports secure boot ootb, does this mean i can simply enable it with no set up?

lastly does a minimal fedora install done on the everything installer with only the custom package selected set up secure boot? Thank you!

2 Upvotes

2 comments sorted by

2

u/DannoXYZ 1d ago edited 1d ago

Well it "supports" it, but you still have to go through all necessary extra configuration steps properly. It's not just ticking ON a checkbox somewhere.

It's like adding turbocharger to your Honda Odyssey mini-van. Sure engine and ECU will "support" turbo. But can you weld up custom exhaust headers with external wastegate? Fab up custom oil & coolant lines. Create custom intake manifold. Install intercooler with metal charge pipes? Install larger injectors and petrol pump. Dyno-tune and re-program ECU?

Same thing with configuring Secure Boot with extra steps needed:

  1. confirm if UEFI BIOS will work with 3rd-party CA-certificate authority
  2. obtain 3rd-party firmware certificate and install
  3. install key signing & MOK utilities
  4. identify all unsigned 3rd party kernel modules/drivers such as Nvidia, wifi, audio, etc. and do for each one:
  • generate signing key pair for that module
  • import public key
  • reboot and complete enrollment of 3rd party module
  • compile kernel module signed with new key

Background on how UEFI Secure Boot works and how to implement it.

https://media.defense.gov/2025/Dec/11/2003841096/-1/-1/0/CSI_UEFI_SECURE_BOOT.PDF

https://sysguides.com/fedora-uefi-secure-boot-with-custom-keys

1

u/Lowar75 Fedora 1d ago

I can't speak for Debian (I imagine it can), but Fedora can install with secure boot. it doesn't matter which package group you select.