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 2009/09/10 12:34:20 UTC
DO NOT REPLY [Bug 47814] New: openssl_pkcs7_sign error
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: bugs@httpd.apache.org
ReportedBy: levuhoang@yahoo.com
--- Comment #0 from levuhoang@yahoo.com 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 47814] openssl_pkcs7_sign error
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47814
--- Comment #3 from levuhoang@yahoo.com 2009-09-16 02:19:15 PDT ---
Is there any apache supporter here?
--
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 47814] openssl_pkcs7_sign error
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47814
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Eric Covener <co...@gmail.com> 2009-09-10 05:37:07 PDT ---
How are you acquiring your build of Apache? Do they both link to the same level
of 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
DO NOT REPLY [Bug 47814] openssl_pkcs7_sign error
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47814
--- Comment #4 from Eric Covener <co...@gmail.com> 2009-09-16 07:29:15 PDT ---
I'm afraid you'll need someone to debug this from the PHP side and add some
detailed information here. Lack of updates [aside from the bug still being
marked NEEDINFO] implies nobody has any clue how updating Apache would
interfere with how PHP calls methods in 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
DO NOT REPLY [Bug 47814] openssl_pkcs7_sign error
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47814
--- Comment #2 from levuhoang@yahoo.com 2009-09-10 09:15:17 PDT ---
I build apache from source (both 2.2.9 and 2.2.13).
Steps are the same for two of them:
1. ./configure
2. make
3. make install
when I install the new version, I do distclean & clean in the old apache folder
and recompile the new one
1. make distclean
2. make clean
3. ./configure
4. make
5. make install
I test this situation on the same machine (overwrite the old version with the
new one). So, OpenSSL version is the same: 0.9.8j
--
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