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 2010/09/22 22:58:23 UTC

DO NOT REPLY [Bug 49980] New: can't use a FIFO for SSL key file; mod_ssl checks that size is over zero bytes

https://issues.apache.org/bugzilla/show_bug.cgi?id=49980

           Summary: can't use a FIFO for SSL key file; mod_ssl checks that
                    size is over zero bytes
           Product: Apache httpd-2
           Version: 2.2.16
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: lmeyer@vmware.com


When SSLCertificateKeyFile is set to the name of a FIFO, Apache complains e.g.:

SSLCertificateKeyFile: file '/var/tmp/sslkey.fifo' does not exist or is empty

The code in ssl_util.c checks the specified file as such :

if (pcm & SSL_PCM_ISNONZERO && finfo.size <= 0)
return FALSE;

... even when it's a FIFO.

It would be nice if Apache didn't check the size when it's a FIFO.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49980] can't use a FIFO for SSL key file; mod_ssl checks that size is over zero bytes

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

Luke Meyer <lm...@vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |49997

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49980] can't use a FIFO for SSL key file; mod_ssl checks that size is over zero bytes

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

--- Comment #1 from William A. Rowe Jr. <wr...@apache.org> 2010-09-22 18:44:39 EDT ---
Seems like a reasonable patch.  I can't imagine that an invalid key file isn't
otherwise flagged by openssl.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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