Secure Boot on Proxmox VE hosts

Secure Boot on Proxmox VE hosts blocks unsigned boot code and kernel modules. This page explains the signed shim, GRUB and kernel chain, switching an existing install, DKMS modules and when to manage your own keys.

On this page

Why Secure Boot matters on Proxmox VE hosts

UEFI Secure Boot matters on a Proxmox VE host because it checks that each piece of code loaded before the operating system is signed by a key the firmware trusts. For a regulated team running hypervisors that host sensitive guests, that check is the first link in the chain of evidence showing the hypervisor booted unmodified. Secure Boot does not protect guests from a compromised hypervisor, and it does not replace hardware-backed attestation. It narrows one specific risk: a bootloader, GRUB module or kernel swapped on disk or in the boot partition before the system starts.

The chain runs from firmware to a signed shim, then to a signed GRUB, then to a signed Linux kernel. Each stage verifies the next before handing over control. The shim is the piece signed by a Microsoft-trusted key, which lets Proxmox VE boot on hardware whose firmware only trusts that CA. Kernel modules that are not signed by a key in the chain will not load while Secure Boot is enforced, so the team must know which out-of-tree drivers, such as DKMS-built modules, the host needs. Teams should confirm the firmware mode on each node, the enrolled keys, and whether any node runs in setup mode, because those settings decide what the host will actually accept at boot.

The Proxmox VE Secure Boot setup wiki covers how to set up and manage your own fully trusted Secure Boot certificates instead of relying on the Microsoft-signed bootloader. That choice moves signing responsibility to your team, so it should be made deliberately, with a documented key lifecycle, a plan for re-signing after kernel and GRUB updates, and a tested recovery path. Review the Proxmox VE Secure Boot setup wiki before deciding whether your environment needs own keys or the default signed chain.

Microsoft CA chain or your own keys

The default path relies on a bootloader shim signed by Microsoft's certificate authority, which the UEFI firmware already trusts on most server platforms. The shim then verifies the GRUB and kernel packages that Proxmox VE ships. Your team installs and updates packages through the normal repositories, and no key ceremony is needed on day one. The trade-off is that your trust depends on a signing chain you do not operate, and your recovery and key rotation options are limited to what the distribution provides.

  • Who controls signing: Microsoft signs the shim and the distribution signs the boot components. Your organization signs nothing.
  • Enrollment effort: Usually minimal, since the firmware already holds the Microsoft certificates. Confirm on your hardware that Secure Boot is enabled and that the shim loads.
  • Recovery when keys are lost: There is no private key on your side to lose, so recovery focuses on firmware settings and reinstalling signed packages.
  • Fit for regulated audits: Auditors may ask who holds trust anchors and how revocations are handled. Expect to document the chain of trust as the vendor describes it rather than as something you directly control.
  • Operational detail: Test the boot path after each kernel or GRUB update, and record the firmware version and boot entries.

Check with your security team whether an external signing chain meets your written trust requirements for production hosts.

How to switch an existing Proxmox VE install to Secure Boot

This sequence moves an installed Proxmox VE host from an unsigned or Microsoft-trusted boot chain to a boot chain your own keys sign, with a check at each step so you can roll back before the host is left unbootable. It is written for administrators who already run the host and want to confirm the result before relying on it.

  1. Confirm firmware mode and current boot state

    Before changing anything, confirm the host boots in UEFI mode, not legacy BIOS, and record whether Secure Boot is currently enabled in the firmware setup. On the running system, check that the /sys/firmware/efi directory exists and read the Secure Boot state with mokutil --sb-state. Also note the Proxmox VE release and the Debian base it runs on, since package names and the repository you use must match that release. Done means you have a written record of firmware mode, Secure Boot state and Proxmox VE version, and you know whether the host is booting with the bootloader the installer put in place.

  2. Back up configuration and boot settings

    Take a full backup of the host configuration before touching the boot chain. Copy /etc/pve, /etc/network/interfaces, the firmware settings you can export, and a current backup of each guest that matters, stored off the host. Record the EFI System Partition layout with lsblk and efibootmgr -v so you can restore the boot entries if a signature check fails. Confirm that a recovery path exists, such as console or out-of-band management access and the installer media for your release. Done means the backups exist somewhere other than this host and you have tested that you can reach the console without relying on the network.

  3. Install the signed boot packages from the matching repository

    Install the shim, GRUB and kernel signing packages that match your Proxmox VE release, using the repository for that release. The enterprise repository requires a valid subscription key; without one, the no-subscription repository is the freely accessible option, which the Proxmox documentation describes as suited to testing and non-production use. Confirm the repository choice with your subscription terms before you run the update. Run apt update and install the packages the Proxmox VE Secure Boot setup wiki lists for your release. Done means the packages install cleanly, the installed versions match the repository, and apt reports no held or broken dependencies.

  4. Create your own Secure Boot keys

    Generate your own platform key and signing keys so the boot chain is trusted by keys you hold instead of by the Microsoft certificate authority that signs the default shim. Follow the key generation procedure in the Proxmox VE Secure Boot setup wiki and store the private keys offline or in a controlled secrets store, with access limited to the people who sign updates. Record the key fingerprints and expiry dates in your change record. Done means the key files exist, their permissions restrict private key access, and you can list the certificate fingerprints so they match what you will enroll.

  5. Enroll keys in firmware

    Enroll your certificate into the firmware key database so the firmware trusts binaries signed with it. The usual route is the machine owner key enrollment process, which requires a reboot and confirmation at the firmware prompt. Some firmware implementations need the Secure Boot mode switched to setup or custom mode before keys can be written, and the exact menu depends on the vendor. Keep the firmware in a state you can return to. Done means the enrollment list in the firmware or mokutil --list-enrolled shows your certificate, and the enrollment prompt has been completed.

  6. Sign GRUB and kernel components

    Sign the GRUB EFI binary and each kernel image that the host will boot, using your private key and the signing tool from the Proxmox VE Secure Boot setup wiki. Signing must be repeated whenever a kernel or GRUB package updates, so decide who owns that step and whether it is part of your patch procedure. Check the signatures with a verification tool before rebooting, such as sbverify against your certificate. Done means every boot binary you installed reports a valid signature from your key, and you have a list of the files signed.

  7. Handle DKMS modules and out-of-tree drivers

    Any DKMS-built module that loads at boot, such as an out-of-tree storage or network driver, must also be signed with your key or it will be rejected once Secure Boot enforces signatures. Identify these modules with dkms status and lsmod, then sign each built module with the same key and confirm the kernel accepts it after a test load. If a driver cannot be signed, decide whether to replace it, keep Secure Boot off for that host, or change the driver path with your hardware vendor. Done means each required module is signed and loads, or the exception is recorded with an owner and a decision.

  8. Reboot and verify Secure Boot is enforced

    Reboot the host, enable Secure Boot in firmware if it was off, and let the system come up. After boot, run mokutil --sb-state and confirm it reports Secure Boot enabled, then check dmesg for signature rejections and confirm the Proxmox VE services and guests start normally. If the host fails to boot, use the console and the backed-up boot entries to restore the previous state. Done means Secure Boot reports enabled, the kernel shows no unexpected lockdown or signature errors, all guests start, and the verification result is recorded in your change log.

DKMS modules and signing after kernel updates

Third-party kernel modules built with DKMS, such as storage or NIC drivers, load on a Secure Boot host only if they are signed with a key the firmware trusts. Each card below covers one step in keeping those modules loading across kernel updates, so a routine upgrade does not leave a node without storage or network access.

Module inventory

Start by listing every DKMS module on each host with dkms status and identifying which ones are required for boot, storage or networking. Record the module name, source, version and the kernel versions it is built for. Modules that come from a vendor package or an out-of-tree project usually need signing, while in-tree kernel modules shipped with the kernel do not. Confirm this list per host, since hosts with different hardware often carry different drivers.

Signing key use

Every DKMS module must be signed with the same key you enrolled for the bootloader and kernel chain. Keep the private key off the host where possible and document who can sign modules and when. Check the signing procedure in the Proxmox VE Secure Boot wiki for your installed version before you change any key settings, because the expected key paths and tooling can differ between releases.

Secure Boot setup wiki

Kernel update handling

A new kernel triggers a DKMS rebuild, and an unsigned rebuild will fail to load after reboot even though the host booted cleanly before. Decide whether signing runs automatically on each rebuild or as a manual step in your change process. Test that the rebuilt module is signed with the enrolled key before the new kernel becomes the default on production nodes.

Failed module loads

When a signed module is missing or rejected, the failure often shows up only as a missing disk or interface after reboot. Check the kernel log with dmesg and the output of journalctl -b for lines about key rejection or unsigned modules. Keep a console or out-of-band access path to each host so a failed load does not leave a node unreachable.

Testing before rollout

Test each kernel and module combination on a non-production node that uses the same Secure Boot state and hardware as the production node. Confirm that the module loads after a cold boot, that storage paths and network links come up, and that the node rejoins the cluster cleanly. Treat a passing test on one host as evidence only for hosts with the same driver and firmware versions.

Rollback planning

Keep the previous kernel and its matching signed modules installed so the bootloader can select them if the new kernel fails to load a driver. Confirm that the older kernel entry remains available in GRUB and that you can select it from the console. Document the rollback steps and the order in which nodes are reverted, and do not remove the old kernel until the new one has run correctly through a full maintenance cycle.

How trust flows from firmware to the running kernel

The chain starts in the UEFI firmware, which checks the signed shim against the keys enrolled in the firmware database. The shim then verifies GRUB and the signed kernel, and the kernel accepts signed DKMS modules only if their signing key is trusted. The trust boundary separates keys your organization enrolls and controls from vendor-signed components. Check each hand-off in your own environment, because a single unsigned module or unenrolled key stops the chain at that point.

Trust passes from firmware keys through signed boot components to the kernel and modules.

Security and operational risks to plan for

Secure Boot adds a trust chain that has to be kept intact across key handling, firmware changes, kernel updates and recovery. The cards below cover the failure points that most often turn a working setup into a host that will not boot, along with the checks and evidence that keep the setup defensible over time.

Lost or compromised signing keys

Your own Secure Boot keys sign the bootloader and kernel components, so the private keys are the most sensitive part of the design. Store them offline or in an access-controlled vault, limit who can sign, and record every signing event. Check that a backup of the keys exists and that you can rotate them if one is exposed, because a leaked key lets an attacker boot code the firmware will trust.

Secure Boot setup wiki

Unsigned modules blocking boot

Out-of-tree drivers, such as those built through DKMS for some storage or network hardware, may not carry a signature the enrolled key accepts. Under Secure Boot the kernel can refuse to load them, which can leave a host without a network interface or storage after a reboot. Confirm which modules your hardware needs, sign them with your key as part of the build, and test a reboot before you rely on the host.

Firmware updates resetting key enrollment

A BIOS or UEFI firmware update can clear or replace the enrolled key database, which silently changes what the host trusts. The host may then fail to boot or fall back to a state you did not configure. Keep a record of enrolled keys and their fingerprints, and after every firmware change check that Secure Boot is still enabled and that your keys are still enrolled before returning the host to service.

Kernel updates breaking the chain

Each new kernel, GRUB build or shim package has to be signed with a key the firmware trusts, and a mismatch between packages can stop the boot chain. Upgrades to Proxmox VE can change several of these components at once. Plan a staged rollout that starts on a non-production node, verify that the signed components match your enrolled keys, and keep a previous kernel available in the boot menu so you can roll back.

Reduced recovery options on console-only hosts

Many hypervisor hosts sit in data centers with only out-of-band console access, so a boot failure can mean a visit or a remote console session. Confirm that you can reach the firmware setup and boot menu through your management controller, that you have a recovery installer that can be booted under your key policy, and that the procedure is written down and tested. Without this, a key or chain mistake can keep a host offline for much longer than it should.

Evidence needed for auditors

Auditors and security reviewers will want to see which keys are trusted, who controls them, how changes were approved and how the boot configuration was verified. Keep a dated inventory of enrolled keys, signing logs, firmware and kernel versions per host, and the results of boot verification after each change. This evidence supports your own controls. It does not replace an independent assessment, which an auditor or certification body performs.

Questions teams ask before running Secure Boot on Proxmox VE

How much work does switching an existing Proxmox VE host to Secure Boot take?

The effort depends on how many hosts you run, whether they sit in a cluster, and how much of the boot chain you plan to control yourself. A single host with the Microsoft-signed path is a short change, while a fleet where you generate and enroll your own keys needs a tested procedure, a rollback plan and a repeat run on every node. Effort rises with the number of hosts, the variety of hardware firmware, and the number of out-of-tree kernel modules that must be re-signed. Ask any partner for the list of hosts, firmware versions and modules in scope before agreeing a timeline, because those inputs decide the plan more than the Secure Boot steps themselves.

Can our own team enable Secure Boot on Proxmox VE without outside help?

Often yes, if your engineers are comfortable with UEFI firmware, the boot chain and kernel module signing, and if they can test on non-production hardware first. The official Proxmox VE Secure Boot setup wiki describes how to set up and manage your own fully trusted certificates, so the procedure is documented. The risk sits in the details: a wrong key enrollment can leave a host unable to boot, and a missed DKMS module can fail silently after a kernel update. Teams that lack a lab, a console path or a documented rollback usually benefit from a partner review of the plan before touching production.

What does the Secure Boot change need from our operations team?

The change needs out-of-band console access to every host, such as IPMI, iDRAC, iLO or a KVM, so an engineer can reach firmware setup if a boot fails. It also needs maintenance windows for reboots, and in a cluster it needs a sequence that keeps quorum and guest availability intact while one node at a time is changed. If you manage your own keys, you need named custody for the private signing key, a secure location for backups of it, and a rule for who can sign kernel modules later. Confirm these owners and access paths in writing before the change window is booked.

Do we need custom Secure Boot keys, or is the Microsoft path enough?

The answer depends on your trust model. The Microsoft-signed path trusts a third-party certificate authority that signs the bootloader, which many teams accept for general server use. Custom keys mean your organization signs the shim, GRUB and kernel packages and enrolls its own certificate into the firmware, so only software you approved can run at boot. Regulated environments that require control over the trust anchor, or that must show key custody to an assessor, usually lean toward custom keys. Document the decision with your security and compliance leads, since it determines key storage, rotation and recovery work for the life of the hosts.

How do DKMS modules change the Secure Boot plan on Proxmox VE?

DKMS modules are built from source after a kernel update, so their binaries are created on the host rather than shipped signed by a vendor. Under Secure Boot with enforced signature checks, an unsigned module will not load, which can break drivers for storage, network cards or other hardware. With custom keys, you must sign each DKMS module with your key and make that signing part of the update process. Before you switch, inventory every DKMS module on each host, confirm whether it can be signed in your pipeline, and test a kernel update on a spare host to see whether the module loads after reboot.

What should we expect a partner to scope for a Secure Boot project?

A written scope should name the hosts and clusters covered, the firmware and hardware inventory, the decision on trust model, the key generation and custody method, and the signing process for shim, GRUB, kernel and DKMS modules. It should also cover a lab test, a per-node change procedure, console and rollback checks, verification of the enrolled boot chain, and a handover of runbooks to your team. Ask for the deliverables and acceptance criteria listed explicitly. DeployOpen plans and implements Proxmox VE work in the client's own infrastructure and agrees scope, deliverables and timelines in writing before work starts.

Does Secure Boot on Proxmox VE depend on a Proxmox subscription?

No supplied fact ties Secure Boot to a subscription tier, since all subscription tiers include the same software features and the software can be used without a subscription. What a subscription changes is access to the enterprise repository and support entitlements. Packages that you need for the boot chain come from whichever repository your hosts use, so confirm which repository supplies the shim, GRUB and kernel packages for your version. Ask your support provider and your Proxmox contact to confirm the entitlements that apply to your hosts before you plan the update path.

Where to read the official procedure

The Proxmox VE Secure Boot setup wiki is the procedure of record for this work. It explains how to set up and manage your own fully trusted Secure Boot certificates instead of relying on the Microsoft-signed bootloader, which is the core decision this topic covers. Read it before you touch a host, and treat the steps there as the authoritative sequence for enabling signing, enrolling your keys and maintaining them. Proxmox VE: Secure Boot setup is the link to start from, and it should be open alongside your change record while you plan.

This page is a planning guide. It describes the decisions, dependencies and failure modes around Secure Boot on Proxmox VE hosts, but it does not replace the wiki's commands or file paths. Before any change on a production host, check the wiki against the documentation for the exact Proxmox VE release you run, since Proxmox VE 9.0, 9.1 and 9.2 were released on different dates and the wiki may describe steps that differ between them. Confirm the Debian base for your release, the package versions of the shim, GRUB and kernel packages, and whether your firmware and hardware match what the wiki assumes. Record the release you checked against, and rehearse the procedure on a non-production host first.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.