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 1952930 - certmonger: Port to OpenSSL 3.0
Summary: certmonger: Port to OpenSSL 3.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: certmonger
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: beta
: ---
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1955873 1961687
Blocks: 1958021
TreeView+ depends on / blocked
 
Reported: 2021-04-23 15:28 UTC by Sahana Prasad
Modified: 2021-12-07 21:27 UTC (History)
8 users (show)

Fixed In Version: certmonger-0.79.13-6.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:24:13 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7463 0 None None None 2021-12-03 01:28:14 UTC

Description Sahana Prasad 2021-04-23 15:28:41 UTC
This bug is used to track the readiness of certmonger with OpenSSL 3.0

currently the build fails with some porting issues:

https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=218931

Kindly fix them to ensure certmonger builds with OpenSSL 3.0, as we will introduce OpenSSL 3.0 in RHEL-9

OpenSSL 3.0 package to test with:
http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210414.0/compose/BaseOS/x86_64/os/Packages/openssl-3.0.0-0.alpha13.1.el9.x86_64.rpm

Comment 1 Sahana Prasad 2021-04-29 09:32:51 UTC
There is no sidetag yet,
kindly use this build
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1571383
I will notify you where there is a sidetag.

Comment 2 Rob Crittenden 2021-04-29 17:42:46 UTC
Will start in Fedora with https://copr.fedorainfracloud.org/coprs/saprasad/openssl-3.0/

Comment 3 Rob Crittenden 2021-04-29 18:25:40 UTC
I believe this failure is caused by libraries that have not been ported yet, including openldap and krb5.

Comment 4 Rob Crittenden 2021-05-14 14:05:27 UTC
Still waiting for dependent libraries to be rebuilt and added to the side tag: https://kojihub.stream.rdu2.redhat.com/kojifiles/work/tasks/6342/266342/build.log

Comment 5 Florian Weimer 2021-05-14 14:23:33 UTC
The build failure looks like a toolchain problem, unrelated to OpenSSL 3.0:

/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/cckkh08J.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup[.text.startup.group]+0x2ee): undefined reference to `OPENSSL_init_ssl'

I filed binutils bug 1960658 for this. I expect the fact that it appears after your changes is just an accident.

Comment 7 Rob Crittenden 2021-05-17 13:43:55 UTC
Adding %define _lto_cflags %{nil} to the spec eliminated the DWARF warnings

libcurl, openldap and openssh were built and added to the side tag, thanks.

I attempted a rebuild this morning and it looks like only the krb5 dependency is missing:
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=267355

Comment 9 Christian Heimes 2021-05-18 08:00:42 UTC
I'm adding the krb5 BZ to make the dependency more visible.

Comment 10 Rob Crittenden 2021-05-18 13:08:09 UTC
I made a hacky local build of krb5. It provides enough that certmonger can compile so I can at least start looking at the API changes needed (just a small component of certmonger requires Kerberos).

Comment 11 Rob Crittenden 2021-05-18 13:45:33 UTC
Filed https://bugzilla.redhat.com/show_bug.cgi?id=1961687 . openssl spkac fails causing tests/003-csrgen to fail

Comment 12 Rob Crittenden 2021-05-18 23:03:16 UTC
I have a candidate scratch build done.

Comment 13 Rob Crittenden 2021-05-19 14:35:04 UTC
Patches merged. This will need to be re-visited in the future once the OpenSSL bug is addressed so I can re-enable the gencsr tests.

Comment 24 Michal Polovka 2021-07-15 12:31:41 UTC
Verified manually from build log[1] of certmonger-0.79.13-6.el9[2]

Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcom_err.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libdl.so.2()(64bit) libidn2.so.0()(64bit) libidn2.so.0(IDN2_0.0.0)(64bit) libjansson.so.4()(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) libldap_r-2.4.so.2()(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.10)(64bit) libnss3.so(NSS_3.12)(64bit) libnss3.so(NSS_3.12.4)(64bit) libnss3.so(NSS_3.12.5)(64bit) libnss3.so(NSS_3.14)(64bit) libnss3.so(NSS_3.16.2)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.3)(64bit) libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.5)(64bit) libnss3.so(NSS_3.7)(64bit) libnss3.so(NSS_3.8)(64bit) libnss3.so(NSS_3.9)(64bit) libnss3.so(NSS_3.9.3)(64bit) libnssutil3.so()(64bit) libnssutil3.so(NSSUTIL_3.12)(64bit) libplc4.so()(64bit) libplds4.so()(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libsmime3.so()(64bit) libsmime3.so(NSS_3.4)(64bit) libssl3.so()(64bit) libtalloc.so.2()(64bit) libtalloc.so.2(TALLOC_2.0.2)(64bit) libtevent.so.0()(64bit) libtevent.so.0(TEVENT_0.9.9)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH)
Processing files: certmonger-debugsource-0.79.13-6.el9.x86_64

[1] http://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/certmonger/0.79.13/6.el9/data/logs/x86_64/build.log
[2] https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1635509


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