Bug 1834664
Summary: | Upgrade to RHEL 8.2 causes smart card login to skip/fail due to failure in OCSP response verification | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | rmitra |
Component: | sssd | Assignee: | Sumit Bose <sbose> |
Status: | CLOSED NOTABUG | QA Contact: | sssd-qe <sssd-qe> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.2 | CC: | arajendr, atikhono, esears, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sbose, spoore, tscherf |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-09 05:37:10 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: |
Description
rmitra
2020-05-12 07:18:50 UTC
(In reply to rmitra from comment #0) > d) The smart card certificates are present in the nssdb and the > issuer/signing certificate for the smart card is also present in the system > trust store: > > # certutil -L -d /etc/pki/nssdb/ As a note, SSSD for RHEL8 doesn't use NSS but OpenSSL (by default: /etc/sssd/pki/sssd_auth_ca_db.pem, see man sssd.conf "pam_cert_db_path") But that doesn't explain why things were broken with an upgrade from 8.1 to 8.2. Is machine run in a FIPS mode? Hi, I have an idea what might be wrong. Would the customer like to test a test-build? If yes, please let me know which SSSD package version the customer is currently using. bye, Sumit (In reply to Sumit Bose from comment #3) > Hi, > > I have an idea what might be wrong. Would the customer like to test a > test-build? If yes, please let me know which SSSD package version the > customer is currently using. > > bye, > Sumit I'd be happy to try out a test-build. Current version: sssd-2.2.3-20 (In reply to Alexey Tikhonov from comment #1) > (In reply to rmitra from comment #0) > > d) The smart card certificates are present in the nssdb and the > > issuer/signing certificate for the smart card is also present in the system > > trust store: > > > > # certutil -L -d /etc/pki/nssdb/ > > As a note, SSSD for RHEL8 doesn't use NSS but OpenSSL (by default: > /etc/sssd/pki/sssd_auth_ca_db.pem, see man sssd.conf "pam_cert_db_path") > > But that doesn't explain why things were broken with an upgrade from 8.1 to > 8.2. > Is machine run in a FIPS mode? Hi Alexey, The RHEL 8.2 system in question has FIPS disabled (because they need MD5 for using Apache Maven), but they do have FIPS enabled on other systems. Regards, Ritu (In reply to Alexey Tikhonov from comment #2) > Can we have full p11_child debug log and sssd.conf please? > > Feel free to make attachment private and/or delete sensitive information. Added the following attachments: 1. Tar file having configurations + SSSD debug logs, includes sssd.conf and p11_child debug logs 2. Output of "/usr/libexec/sssd/p11_child --nssdb=/etc/pki/nssdb --pre -d 10 --debug-fd=1" NOTE: this doesn't list the certificates because "--verify=no_verification" option is not used 3. Output of "OPENSC_DEBUG=9 ssh -I /usr/lib64/pkcs11/opensc-pkcs11.so <user>@localhost" for both cases: a) without "certificate_verification=no_ocsp" added in /etc/sssd/sssd.conf b) with "certificate_verification=no_ocsp" added in /etc/sssd/sssd.conf Is anything need from me to try and resolve this? This is impacting the ability for all of our users to log in. Hi, it turned out that the switch to sha256 as digest for OCSP was not received well by the used OCSP responder. Adding the sub-option 'ocsp_dgst=sha1' to the 'certificate_verification' in the [sssd] section of sssd.conf solved the issue, see man sssd.conf for details. I close this ticket. bye, Sumit |