Skip to content

build_library: Update our temporary Secure Boot CA certificate#4140

Merged
tormath1 merged 1 commit into
mainfrom
chewi/update-sb-dev-ca
Jul 10, 2026
Merged

build_library: Update our temporary Secure Boot CA certificate#4140
tormath1 merged 1 commit into
mainfrom
chewi/update-sb-dev-ca

Conversation

@chewi

@chewi chewi commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

As a reminder, this is what we're using for official releases until we get a formally signed certificate from Microsoft.

How to use

Short of doing a release, you can recreate flatcar_production_qemu_uefi_secure_efi_vars.qcow2 with virt-fw-vars and pass that to flatcar_production_qemu_uefi_secure.sh with -W.

virt-fw-vars --input /usr/share/edk2/OvmfX64/OVMF_VARS_4M.secboot.qcow2 --output flatcar_production_qemu_uefi_secure_efi_vars.qcow2 --add-db 00000000-0000-0000-0000-000000000000 /usr/share/sb_keys/DB.crt --add-db 00000000-0000-0000-0000-000000000000 build_library/flatcar-sb-dev-ca.pem

Testing done

I've done the above. It successfully booted, and mokutil --sb-state showed Secure Boot was enabled.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update) -- N/A
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc. -- N/A

As a reminder, this is what we're using for official releases until we
get a formally signed certificate from Microsoft.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi self-assigned this Jul 10, 2026
Copilot AI review requested due to automatic review settings July 10, 2026 14:35
@chewi chewi requested a review from a team as a code owner July 10, 2026 14:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the temporary Secure Boot development CA certificate used by build_library tooling to generate QEMU UEFI Secure Boot variable stores for official releases (until a Microsoft-signed cert is available).

Changes:

  • Update the default virt-fw-vars --add-db extra DB certificate from the old shim cert to the new dev CA PEM.
  • Remove the old flatcar-sb-dev-shim-2025.cert from the repository.
  • Add the new flatcar-sb-dev-ca.pem certificate file.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
build_library/vm_image_util.sh Switch default extra Secure Boot DB cert injection to flatcar-sb-dev-ca.pem.
build_library/flatcar-sb-dev-shim-2025.cert Remove the superseded shim certificate.
build_library/flatcar-sb-dev-ca.pem Add the updated temporary Secure Boot development CA certificate.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread build_library/vm_image_util.sh
@tormath1 tormath1 merged commit d1bb9ba into main Jul 10, 2026
5 of 6 checks passed
@tormath1 tormath1 deleted the chewi/update-sb-dev-ca branch July 10, 2026 16:22
@tormath1 tormath1 added the main label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

3 participants