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

           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
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2009-09-10 03:34:17 PDT ---
Hello,
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: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to