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 1660120 - certmap fails when Issuer DN has comma in name [rhel-7.6.z]
Summary: certmap fails when Issuer DN has comma in name [rhel-7.6.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: mreynolds
QA Contact: RHDS QE
Marc Muehlfeld
URL:
Whiteboard:
Depends On: 1653163
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-17 14:35 UTC by RAD team bot copy to z-stream
Modified: 2019-01-29 17:23 UTC (History)
8 users (show)

Fixed In Version: 389-ds-base-1.3.8.4-22.el7_6
Doc Type: Bug Fix
Doc Text:
Previously, Directory Server failed to compare the issuer distinguished name (DN) from a certificate and the issuer DN set in the /etc/dirsrv/slapd-<instance_name>/certmap.conf file, if the DN contained a character that must be escaped, such as a comma. As a consequence, binding to Directory Server using certificate-based authentication failed. This update fixes the problem. As a result, using a DN with escaped characters in the certificate mapping file works as expected.
Clone Of: 1653163
Environment:
Last Closed: 2019-01-29 17:23:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0179 0 None None None 2019-01-29 17:23:07 UTC

Description RAD team bot copy to z-stream 2018-12-17 14:35:43 UTC
This bug has been copied from bug #1653163 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 5 Viktor Ashirov 2019-01-20 20:07:32 UTC
Build tested: 389-ds-base-1.3.8.4-22.el7_6.x86_64

In the cert:
Issuer: C = US, ST = Massachusetts, O = "Acme, Inc.", CN = "Acme, Inc."

In certmap.conf:
certmap default CN=Acme\, Inc.,O=Acme\, Inc.,ST=Massachusetts,C=US


In the logs:
[18/Jan/2019:15:03:50.246528988 +0000] conn=2 TLS1.3 128-bit AES-GCM; client CN=testuser,O=\22Acme, Inc.\22,ST=Massachusetts,C=US; issuer CN=\22Acme, Inc.\22,O=\22Acme, Inc.\22,ST=Massachusetts,C=US

User bind is successful, marking as VERIFIED, SanityOnly.

Comment 7 errata-xmlrpc 2019-01-29 17:23:03 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, 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-2019:0179


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