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 1959016

Summary: SHA-1 support in legacy mode at SECLEVEL 1
Product: Red Hat Enterprise Linux 9 Reporter: Sahana Prasad <sahana>
Component: opensslAssignee: Sahana Prasad <sahana>
Status: CLOSED WONTFIX QA Contact: Alicja Kario <hkario>
Severity: unspecified Docs Contact:
Priority: medium    
Version: CentOS StreamCC: asosedki, bstinson, hkario, jwboyer, omoris, szidek
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: SHA-1 is only supported in LEGACY mode in RHEL-9 Reason: SHA-1 support is still needed for backwards compatibility with RHEL-8 to verify signatures. This will also help users that haven't migrated from using SHA-1 yet. Internally for OpenSSL in RHEL-9, SHA-1 support will be at SECLEVEL 1. SECLEVEL1 will inherit all it's algorithms and key sizes from SECLEVEL2, except that it would also support SHA-1 Upstream definitions of SELEVELs can be found here: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html Result: Successful verification of SHA-1 certs and signatures in LEGACY mode.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-13 11:29:04 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: 1960700    

Description Sahana Prasad 2021-05-10 15:05:59 UTC
OpenSSL upstream has deprecated support for SHA-1 by default. It is available only if SECLEVEL is set 0.
In RHEL-9 we want to support SHA-1 in LEGACY mode @SECLEVEL1.
A downstream patch is required to introduce this.
Crypto policies is set to @SECLEVEL 2 for LEGACY mode, it should be changed to @SECLEVEL1 to prevent a conflict with DEFAULT mode which is also set to @SECLEVEL2.

Comment 7 Alicja Kario 2021-08-10 12:02:01 UTC
*** Bug 1954616 has been marked as a duplicate of this bug. ***