httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47814] New: openssl_pkcs7_sign error
Date Thu, 10 Sep 2009 10:34:20 GMT

           Summary: openssl_pkcs7_sign error
           Product: Apache httpd-2
           Version: 2.2.13
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core

--- Comment #0 from 2009-09-10 03:34:17 PDT ---
My server is running Apache 2.2.9, PHP 5.2.9, OpenSSL 0.9.8j, Zend Optimizer
3.3.0. Everything is fine. I don’t get any error.
After I upgraded Apache to 2.2.13 (and reboot server), I can’t use this PHP
function: openssl_pkcs7_sign
The PHP error is:
Warning: openssl_pkcs7_sign() [function.openssl-pkcs7-sign]: error creating
PKCS7 structure! in /home/www/myfile.php on line 25
The signature file is empty.

I’m sure that signature files are ok. If I use OpenSSL to sign pkcs7 in command
line (use the same signatures), it runs correctly. I can use PHP exec to do
this also but It’s not secure.
I tried this situation many times and the result is the same.
1.    If I fully restore my system with Apache 2.2.9, the system works correct.
2.    I install Apache 2.2.13, system is error
3.    I reinstall Apache 2.2.9 (overwrite 2.2.13), system still error
So, the final solution is fully restore the system. But I would like to know
that what happen with the latest Apache 2.2.13, PHP 5.2.9 and OpenSSL 0.9.8j.
Thank you

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message