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 1697487

Summary: mod_auth_mellon Cert files name wrong when hostname contains a number (fixed in upstream package) [rhel-7.6.z]
Product: Red Hat Enterprise Linux 7 Reporter: RAD team bot copy to z-stream <autobot-eus-copy>
Component: mod_auth_mellonAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Scott Poore <spoore>
Severity: high Docs Contact:
Priority: high    
Version: 7.7CC: cpelland, jbgorrie, jhrozek, nkinder, spoore, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_auth_mellon-0.14.0-2.el7_6.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1652980 Environment:
Last Closed: 2019-04-16 14:40:29 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: 1652980    
Bug Blocks:    

Description RAD team bot copy to z-stream 2019-04-08 13:59:17 UTC
This bug has been copied from bug #1652980 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 4 Scott Poore 2019-04-08 19:42:16 UTC
Verified.

Version ::

mod_auth_mellon-0.14.0-2.el7_6.2.x86_64

Results ::

[root@rhel7-2 httpd]# hostnameorig=$(hostname)

[root@rhel7-2 httpd]# hostnamectl set-hostname mellon100.example.com

[root@rhel7-2 httpd]# /usr/libexec/mod_auth_mellon/mellon_create_metadata.sh \
>     https://$(hostname)/mellon https://$(hostname)/mellon \
>     > mellon_create_metadata.out 2>&1

[root@rhel7-2 httpd]# cat mellon_create_metadata.out
Output files:
Private key:                              https_mellon100.example.com_mellon.key
Certificate:                              https_mellon100.example.com_mellon.cert
Metadata:                                 https_mellon100.example.com_mellon.xml
Host:                                     mellon100.example.com

Endpoints:
SingleLogoutService (SOAP):               https://mellon100.example.com/mellon/logout
SingleLogoutService (HTTP-Redirect):      https://mellon100.example.com/mellon/logout
AssertionConsumerService (HTTP-POST):     https://mellon100.example.com/mellon/postResponse
AssertionConsumerService (HTTP-Artifact): https://mellon100.example.com/mellon/artifactResponse
AssertionConsumerService (PAOS):          https://mellon100.example.com/mellon/paosResponse

[root@rhel7-2 httpd]# grep mellon100.example.com_mellon mellon_create_metadata.out
Private key:                              https_mellon100.example.com_mellon.key
Certificate:                              https_mellon100.example.com_mellon.cert
Metadata:                                 https_mellon100.example.com_mellon.xml

Comment 6 errata-xmlrpc 2019-04-16 14:40:29 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/RHSA-2019:0766