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 1985362 - FIPS functionality in OpenSSL 3.0
Summary: FIPS functionality in OpenSSL 3.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: openssl
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: ---
Assignee: Dmitry Belyavskiy
QA Contact: Alicja Kario
Jan Fiala
URL:
Whiteboard:
: 1985363 (view as bug list)
Depends On:
Blocks: 1942527 1995282
TreeView+ depends on / blocked
 
Reported: 2021-07-23 13:53 UTC by Sahana Prasad
Modified: 2022-05-17 15:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 15:36:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRYPTO-5088 0 None None None 2021-11-02 12:52:16 UTC
Red Hat Product Errata RHBA-2022:3900 0 None None None 2022-05-17 15:36:48 UTC

Description Sahana Prasad 2021-07-23 13:53:16 UTC
Working of FIPS mode in OpenSSL 3.0 deviates from the upstream FIPS behaviour.
Working of FIPS in upstream is described here:
https://github.com/openssl/openssl/blob/master/README-FIPS.md

RHEL-9

When is FIPS provider loaded by default?

1. If the kernel FIPS flag is set, then OpenSSL will automatically load the FIPS provider.
This means that no additional configuration is required to be set manually by the user.
No changes in openssl.cnf.
HMAC calculations will be done on fip.so.

2. If the kernel FIPS flag is not set, then OpenSSL will automatically load the DEFAULT provider.
(no config changes required as mentioned before)
However, if the user, wants to add other sections and load different providers through configuration
via openssl.cnf, this is fully permitted. It should be noted that this configuration will then take effect
and override what was configured by default. It is generally not recommended to customize openssl.cnf,unless it is absolutely necessary.

Comment 1 Sahana Prasad 2021-08-03 17:32:22 UTC
*** Bug 1985363 has been marked as a duplicate of this bug. ***

Comment 4 Dmitry Belyavskiy 2021-11-04 16:33:42 UTC
ossl_provider_add_conf_module seems a relevant place to load the FIPS provider implicitly for the end user.

Comment 13 errata-xmlrpc 2022-05-17 15:36:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: openssl), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3900


Note You need to log in before you can comment on or make changes to this bug.