Bug 1240495
Summary: | mod_ssl install fails with a long hostname | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ian Wienand <iwienand> | |
Component: | httpd | Assignee: | Luboš Uhliarik <luhliari> | |
Status: | CLOSED ERRATA | QA Contact: | Martin Frodl <mfrodl> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.3 | CC: | isenfeld, jkaluza, jorton, mfrodl, ohudlick | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | httpd-2.4.6-41.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1356938 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-04 08:08:38 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
Ian Wienand
2015-07-07 06:18:36 UTC
That's fun, I've not seen this before. RFC 5280 says that the maximum length of a common name is 64 characters, so this seems to be a restriction of the spec rather than the software. I'm not sure what we can or should do about this. I guess we could force the %post script to use "localhost" in the case where the length is > 64. The FQDN you're using there is only 60 characters, I'm not sure why that should exceed the 64 char limit. Weird. Ah we're hitting the 64 char maximum of emailAddress, which is "root@" + FQDN, hence the maximum FQDN we can handle is exactly 59. Pushed this to Fedora. http://pkgs.fedoraproject.org/cgit/httpd.git/diff/?id=db205dad277f6b7712dc2fd57d9e3b056b637c14 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://rhn.redhat.com/errata/RHEA-2016-2534.html |