You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/05/13 08:00:43 UTC

[Bug 66063] New: mod_ssl doesn't support FIPS with OpenSSL 3

https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

            Bug ID: 66063
           Summary: mod_ssl doesn't support FIPS with OpenSSL 3
           Product: Apache httpd-2
           Version: 2.4.53
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
          Assignee: bugs@httpd.apache.org
          Reporter: petr.sumbera@oracle.com
  Target Milestone: ---

Created attachment 38283
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38283&action=edit
Proposed patch file.

OpenSSL 3 no longer defines OPENSSL_FIPS and FIPS_mode() plus FIPS_mode_set()
functions were obsoleted.

mod_ssl code should be modified to fix this. Please see attached proposed
patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

--- Comment #4 from florin.spatar@gmail.com ---
The issue is not fixed.

As Petr Sumbera said, OpenSSL 3 no longer defines OPENSSL_FIPS. That's why, in
the proposed patch, he defined HAVE_FIPS independent of OPENSSL_FIPS for
OpenSSL 3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

florin.spatar@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Sun                         |All
                 CC|                            |florin.spatar@gmail.com
                 OS|Solaris                     |All

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Yann Ylavic <yl...@gmail.com> ---
Merged in 2.4.x (r1901586), will be in next release.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

William A. Rowe Jr. <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #7 from William A. Rowe Jr. <wr...@apache.org> ---
Closing as resolution Fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #5 from Yann Ylavic <yl...@gmail.com> ---
Argh, I missed to define HAVE_FIPS appropriately for openssl-3+.
Fixed in r1901772.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

--- Comment #6 from Christophe JAILLET <ch...@wanadoo.fr> ---
Follow-up patch committed in 2.4.x in r1904771.

Will be part of 2.4.55.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

--- Comment #1 from florin.spatar@gmail.com ---
I face the same problem. The proposed patch works for me. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66063] mod_ssl doesn't support FIPS with OpenSSL 3

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66063

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #2 from Yann Ylavic <yl...@gmail.com> ---
Checking in trunk (r1901470), with two changes:
- modssl_fips_is_enabled() and modssl_fips_enable() as wrappers (to reduce
#ifdef-ery in the code),
- compatibility check using OPENSSL_VERSION_NUMBER >= 0x30000000L instead of
OPENSSL_CONFIGURED_API >= 30000.

I see that OPENSSL_CONFIGURED_API is set by the OpenSSL Configure script,
right? Is it always set then (with OpenSSL 3)? What do we get from it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org