Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2225009

Summary: Include the newly created secureboot{304, 504, 704} certs into redhat-sb-certs
Product: Red Hat Enterprise Linux 9 Reporter: Vitaly Kuznetsov <vkuznets>
Component: redhat-releaseAssignee: Veronika Doubkova <vdoubkov>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: ailan, asabadra, bstinson, lisas, vdoubkov, zveleba
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-release-9.3-0.4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-03 21:24:44 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:
Bug Depends On:    
Bug Blocks: 2225529    

Description Vitaly Kuznetsov 2023-07-24 08:54:00 UTC
New secureboot keys to sign Unified Kernel Images were created: https://issues.redhat.com/browse/SIGNSERVER-416 so we need to include them into 'redhat-sb-certs' package.

For RHEL9.3+, I suggest we create /usr/share/pki/sb-certs/secureboot-uki-virt-x86_64.cer and /etc/pki/sb-certs/secureboot-uki-virt-x86_64.cer link containing 
secureboot504.

Comment 1 Vitaly Kuznetsov 2023-07-24 08:55:20 UTC
For CentOS Stream, we need to package centossecureboot204. I can create a separate BZ if needed.

Comment 10 Lisa S 2023-07-31 21:16:56 UTC
We will get to this next sprint, which starts next week.

Comment 11 Veronika Doubkova 2023-08-21 12:17:12 UTC
certs files have been converted from .crt to .cer format files:
$ openssl x509 -inform PEM -in redhatsecureboot504.crt -outform DER -out redhatsecureboot504.cer
$ openssl x509 -inform PEM -in redhatsecureboot304.crt -outform DER -out redhatsecureboot304.cer
$ openssl x509 -inform PEM -in redhatsecureboot704.crt -outform DER -out redhatsecureboot704.cer
[sb-certs]$ ls
redhatsecureboot302.cer  redhatsecureboot501.cer  redhatsecureboot503.cer  redhatsecureboot701.cer  redhatsecureboot703.cer  redhatsecurebootca3.cer  redhatsecurebootca7.cer
redhatsecureboot304.cer  redhatsecureboot502.cer  redhatsecureboot504.cer  redhatsecureboot702.cer  redhatsecureboot704.cer  redhatsecurebootca5.cer

New .tar file has been uploaded:
$ tar czf sb-certs-9-2023.8.tar.bz2 sb-certs
$ rhpkg upload sb-certs-9-2023.8.tar.bz2
Uploading: sb-certs-9-2023.8.tar.bz2
######################################################################## 100.0%
Source upload succeeded. Don't forget to commit the sources file

Scratch build looks correct to me - https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54759029
Changes have been pushed

Build for rhel-9.3.0 has been created - https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2643494

Comment 12 Veronika Doubkova 2023-08-21 13:31:13 UTC
Build for rhel-9.4.0 has been created - https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54760379

Waiting on OSCI gating tests.

Comment 15 Zdenek Veleba 2023-10-04 12:43:56 UTC
Verified the correct certs are in redhat-sb-certs-9.3-0.5, RHEL-9.3.0-20231003.79

Comment 16 Lisa S 2024-06-03 21:24:44 UTC
Fix has been deployed with correct certs.