Bug 1903133
Summary: | Server-Cert.crt created using dscreate has Subject:CN =localhost instead of hostname. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Sudhir Menon <sumenon> | |
Component: | 389-ds-base | Assignee: | mreynolds | |
Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 8.4 | CC: | aadhikar, mreynolds, msauton, pasik, sgouvern, toneata | |
Target Milestone: | rc | Keywords: | Regression, Triaged, ZStream | |
Target Release: | 8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | sync-to-jira | |||
Fixed In Version: | 389-ds-1.4-8040020201216214810.866effaa | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1912481 (view as bug list) | Environment: | ||
Last Closed: | 2021-05-18 15:45:43 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: | ||||
Bug Blocks: | 1912481 |
Description
Sudhir Menon
2020-12-01 12:09:34 UTC
I can reproducce this, and have a tentative fix, but I don't see why it works in 1.4.2 and not in 1.4.3. Upstream ticket https://github.com/389ds/389-ds-base/issues/4460 Build Tested: 389-ds-base-1.4.3.16-6.module+el8.4.0+9207+729bbaca.x86_64 [root@ci-vm-XX-XX-XX-XX slapd-TEST]# certutil -d . -L -n 'Server-Cert' Certificate: Data: Version: 3 (0x2) Serial Number: 00:b6:d7:5b:d2 Signature Algorithm: PKCS #1 SHA-256 With RSA Encryption Issuer: "CN=ssca.389ds.example.com,O=testing,L=389ds,ST=Queensland,C= AU" Validity: Not Before: Fri Dec 18 10:49:57 2020 Not After : Sun Dec 18 10:49:57 2022 Subject: "CN=<hostname>,givenNam e=e445d3f3-0593-4607-bcc0-739a4ff41434,O=testing,L=389ds,ST=Queen sland,C=AU" Subject Public Key Info: Public Key Algorithm: PKCS #1 RSA Encryption RSA Public Key: Modulus: 'Server-Cert' has Subject: "CN=<hostanme>" where <hostname> is the actual hostname of the system. -> Marking as verified: tested. As per comment 7, marking as VERIFIED with build 389-ds-base-1.4.3.16-6.module+el8.4.0+9207+729bbaca.x86_64 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 (389-ds:1.4 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:1835 |