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 2042448 - Creation of self-signed certificates in FIPS mode fails
Summary: Creation of self-signed certificates in FIPS mode fails
Keywords:
Status: CLOSED DUPLICATE of bug 2087147
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: openssl
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Dmitry Belyavskiy
QA Contact: Alicja Kario
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-19 14:34 UTC by Alicja Kario
Modified: 2022-05-18 13:18 UTC (History)
3 users (show)

Fixed In Version: openssl-3.0.1-4.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-18 13:18:26 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-6086 0 None None None 2022-01-26 15:51:20 UTC
Red Hat Issue Tracker RHELPLAN-108726 0 None None None 2022-01-19 14:46:50 UTC

Internal Links: 2031742

Description Alicja Kario 2022-01-19 14:34:34 UTC
Description of problem:
Creating self-signed certificates in FIPS mode fails with the openssl req command.

Version-Release number of selected component (if applicable):
openssl-3.0.1-1.el9.x86_64

How reproducible:
always

Steps to Reproduce:
1. Switch system to FIPS mode
2. openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt -subj /CN=localhost -nodes -batch

Actual results:
..+......+...+.+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.....+...+....+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+..+.+.....+....+...+...+............+..+.+..+.........+.+..+.......+.....+.........+.........+...+.......+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+.+..........................+.+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+......+..............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+..+....+............+...+.........+.....+.......+......+...+......+......+..+...+...............+...+......+.+..+.+......+.....+...+......+.+...+.....+.+..+...+.+.........+...............+..+...+.+.....+.+............+.................+.....................+....+...+.....+......+......+.........+...............+....+...+.....+.......+...............+.....................+......+........+.+.....+.......+..+............+.+.........+.....+.+..+...+....+.........+.........+........+............+...+.......+...+..+...+.......+...+..+.+...........+...+.+..+...+.+.....+............................+..+.+..+.......+........+...+...+..........+............+...+......+.........+..+...+.......+..+...+....+..................+.....+.......+...+......+..+...+.+......+.....+............+......+......+.+.........+...+.....+......+......+................+..+...+....+.........+..+..........+.........+......+..+......+.+.........+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
000C4878667F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (SHA1 : 91), Properties (<null>)
000C4878667F0000:error:11000080:X509 V3 routines:X509V3_EXT_nconf_int:error in extension:crypto/x509/v3_conf.c:52:name=subjectKeyIdentifier, value=hash

Expected results:
key and cert created

Additional info:
This is likely caused by the subjectKeyIdentifier and authorityKeyIdentifier extensions in the certificate as they use sha-1 (after the RFC recommendation).
The property query for this use should use "-fips", as it's not security critical use.


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