Bug 1912481

Summary: Server-Cert.crt created using dscreate has Subject:CN =localhost instead of hostname. [rhel-8.3.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 8.4CC: aadhikar, bsmejkal, gkimetto, ldap-maint, mreynolds, msauton, pasik, sgouvern, toneata
Target Milestone: rcKeywords: Regression, Triaged, ZStream
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-1.4-8030020210311231957.e114a9e7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1903133 Environment:
Last Closed: 2021-04-06 14:06:21 UTC Type: ---
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: 1903133    
Bug Blocks:    

Comment 6 bsmejkal 2021-03-18 12:33:53 UTC
Build tested:
389-ds-base-1.4.3.8-7.module+el8.3.0+10310+6e88d919.x86_64

# certutil -d . -L -n 'Server-Cert'
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            00:b7:b9:d5:a6
        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: Thu Mar 18 12:24:10 2021
            Not After : Sat Mar 18 12:24:10 2023
        Subject: "CN=server.example.com,givenName=a1894e50-b1dc-4c35-9505-c25
            83424062a,O=testing,L=389ds,ST=Queensland,C=AU"
        Subject Public Key Info:
            Public Key Algorithm: PKCS #1 RSA Encryption
            RSA Public Key:
                Modulus:

......

Subject is the actual hostname of the system.
Marking as VERIFIED.

Comment 11 errata-xmlrpc 2021-04-06 14:06:21 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 (Moderate: 389-ds:1.4 security and bug fix 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/RHSA-2021:1086