Bug 2052755

Summary: Can't SecureBoot current (20220208) Stream 9 ISO
Product: Red Hat Enterprise Linux 9 Reporter: Jesper Reenberg <jesper.reenberg>
Component: grub2Assignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jwboyer
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-10 01:28:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jesper Reenberg 2022-02-09 23:16:53 UTC
Description of problem:

Trying to boot from CentOS-Stream-9-20220208.1-x86_64-boot.iso, with SecureBoot enabled in a VMware vSphere environment fails with a "0x1A Security Violation"


Version-Release number of selected component (if applicable):

CentOS-Stream-9-20220208.1-x86_64-boot.iso


How reproducible:

Steps to Reproduce:
1. Create a new VM
2. Mount the ISO
3. Start the VM

Actual results:

Boot fails.


Expected results:

Boot succeeds and start the installation.


Additional info:

Bug 2002499 claims this to be fixed (as far as I can tell).  But unpacking the ISO file, and looking at the signature of the `grubx64.efi` file, shows that it is still using the "Red Hat Test Certificate".

Comment 15 of that bug (from end September) mentioned the grub package being in QA.
Is it still awaiting, or did something else happen?

```
$ pesign -i /mnt/EFI/BOOT/grubx64.efi -S
---------------------------------------------
certificate address is 0x7f7634122008
Content was not encrypted.
Content is detached; signature cannot be verified.
The signer's common name is Red Hat Test Certificate
No signer email address.
Signing time: Fri Nov 19, 2021
There were certs or crls included.
---------------------------------------------
certificate address is 0x7f7634122b00
Content was not encrypted.
Content is detached; signature cannot be verified.
The signer's common name is Red Hat Test Certificate
No signer email address.
Signing time: Fri Nov 19, 2021
There were certs or crls included.
---------------------------------------------
```

Comment 1 Brian Stinson 2022-02-10 01:28:52 UTC

*** This bug has been marked as a duplicate of bug 2027505 ***