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.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Description of problem: httpd does not start in FIPS mode with mod_ssl installed. Version-Release number of selected component (if applicable): mod_ssl-2.4.6-14.el7.x86_64 httpd-2.4.6-14.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Start system in FIPS mode 2. Install mod_ssl 3. Generate self-signed keys: openssl req -x509 -newkey rsa -keyout server.key -out server.crt -subj /CN=localhost -nodes -batch 4. Copy to default location for httpd keys: cp server.key /etc/pki/tls/private/localhost.key cp server.crt /etc/pki/tls/certs/localhost.crt 5. Start service: systemct start httpd Actual results: # systemctl status httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: failed (Result: exit-code) since Fri 2014-02-28 07:42:33 EST; 8s ago Process: 19676 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS) Process: 19675 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 19675 (code=exited, status=1/FAILURE) Feb 28 07:42:33 pes-guest-66.lab.eng.brq.redhat.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Feb 28 07:42:33 pes-guest-66.lab.eng.brq.redhat.com systemd[1]: Failed to start The Apache HTTP Server. Feb 28 07:42:33 pes-guest-66.lab.eng.brq.redhat.com systemd[1]: Unit httpd.service entered failed state. # less /var/log/httpd/error_log [Fri Feb 28 07:42:33.806710 2014] [core:notice] [pid 19675] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Fri Feb 28 07:42:33.808808 2014] [suexec:notice] [pid 19675] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Feb 28 07:42:33.809829 2014] [ssl:error] [pid 19675] AH01878: Init: Failed to generate temporary 1024 bit RSA private key [Fri Feb 28 07:42:33.809878 2014] [ssl:error] [pid 19675] SSL Library Error: error:2D07406D:FIPS routines:RSA_BUILTIN_KEYGEN:invalid key length AH00016: Configuration Failed Expected results: Apache started Additional info: Probably caused by newly introduced limits in FIPS mode that disallow DH params below 2048 bit Marking as regression since mod_ssl works in FIPS mode on RHEL 6