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 1846778

Summary: [RfE] `/usr/libexec/sssd/p11_child` cmdline argument '--nssdb' might be confusing when SSSD was built against OpenSSL
Product: Red Hat Enterprise Linux 8 Reporter: Thorsten Scherf <tscherf>
Component: sssdAssignee: Alexey Tikhonov <atikhono>
Status: CLOSED ERRATA QA Contact: Scott Poore <spoore>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: atikhono, dlavu, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sgoveas, spoore, tscherf
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.4.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:03:57 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: 1881992    
Bug Blocks:    

Description Thorsten Scherf 2020-06-14 07:32:27 UTC
Description of problem:
`/usr/libexec/sssd/p11_child` has the command-line argument `--nssdb`. However, this argument doesn't always mean "NSS database". If SSSD was built in OpenSSL mode (e.g. RHEL 8.x) instead of NSS mode (e.g. RHEL 7.x), then `--nssdb` actually means the CA root certificates in PEM format. It's referred to as both `nss_sb` and `ca_db` in the common source file `p11_child_common.c`.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Rename the argument '--nssdb' to something more generic. 

Additional info:

Comment 3 Alexey Tikhonov 2020-07-21 18:35:40 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5246

Comment 4 Alexey Tikhonov 2020-08-27 14:11:41 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5246

* `master`
    * a2911482a00dfad79e5f69d42d7e882fc0c717af - Get rid of "NSS DB" references.
    * 266ecc083d5fe9f576b7932a80ecb014d2d25311 - Drop support of libnss as a crypto backend

Comment 12 Scott Poore 2020-11-30 18:42:44 UTC
Verified.

Version ::

sssd-2.4.0-2.el8

Results ::

Verified with automated test run.

...

transport.py               519 DEBUG    RUN ['/usr/libexec/sssd/p11_child', '--pre', '--ca_db=/etc/sssd/pki/sssd_auth_ca_db.pem']
transport.py               563 DEBUG    ipauser1
transport.py               563 DEBUG    /usr/lib64/pkcs11/opensc-pkcs11.so
transport.py               563 DEBUG    0001
transport.py               563 DEBUG    CAC ID Certificate
transport.py               563 DEBUG    MIIEtjCCAx6gAwIBAgIBLjANBgkqhkiG9w0BAQsFADA5MRcwFQYDVQQKDA5TTUFSVENBUkQuVEVTVDEeMBwGA1UEAwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIwMTEyODE5ND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oiWQqkcCJ53QEMb1DiCZly5HCkMMvYzBazNcYWkjDULN0c5DhNpISKeKylSzRt0oGbsi39iBTI8g3YTP6TUEYRXqvCOxdr682fqM7pxgkIs8mKJS36gPpeP8beO3VrUaU80x+ETYjjsdl/nmrWJZ+wZaleFlSlWUri93gbzjnTjxgU7zrUCrK2Uy8R6QUUyuIhT4owHm8cvCxCZygIJNILSvslXZ2E819xMQ/eyX3wODnVD+yIW5tcqk61QyUIfeqZ6h8h29LtM4Aoaddt/Rp8PiO95OKQldJV1f1r6PGwReZrgWAfHrlGqYXZm2ANYu6Ekx8s4O7tFN8OkcVqB0ZH2ZCZS7W8ibAwQh4rH2h1/6NeQa6FS4brWgDcdGYRBO+8ozXCOPIY7A3Nbx3b76iMWg==
transport.py               217 DEBUG    Exit code: 0

Comment 15 errata-xmlrpc 2021-05-18 15:03:57 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 (sssd bug fix and enhancement update), 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-2021:1666