[PHP] PHP OpenSSL - Problem with "openssl_pkcs7_verify"

2012-07-21 Thread Samuel Lopes Grigolato
Hello, I'm having some trouble trying to put the "openssl_pkcs7_verify" function to work. I have a file signed with a valid certificate with this software: http://www.signfiles.com/p7s-signer/ What I'm trying to achieve is to extract the contents o

[PHP] OpenSSL problem

2007-10-05 Thread Don O'Neil
Any time I compile PHP 4.4.7 with --with-ssl my apache 1.3.39 server core dumps on my FreeBSD 6.1 box. Anyone have a work around for this or suggestions where to look? I was having a similar problem with Curl, but once I told curl where the OpenSSL home dir was that solved that problem. The locati

RE: [PHP] OpenSSL Problem

2005-01-06 Thread Richard Lynch
Gustafson, Tim wrote: > Actually, if you leave the code exactly as-is, but change the > openssl_csr_sign function to create a self-signed certificate, the > entire script executes perfectly. I know there is a lot of error > checking needed - I'm just making a "test" script to get a feel for how >

Re: [PHP] OpenSSL Problem

2005-01-06 Thread Richard Lynch
Gustafson, Tim wrote: > I am trying to use the OpenSSL module for PHP on a FreeBSD 4.10 server. > I have CVS'd everything, so I have the most current version of the > FreeBSD port. > > I have attached the PHP file that I'm running. Here's the error message > I get: > > openssl_csr_sign(): cannot g

RE: [PHP] OpenSSL Problem

2005-01-06 Thread Gustafson, Tim
://www.meitech.com/ -Original Message- From: Gustafson, Tim Sent: Thursday, January 06, 2005 10:45 AM To: php-general@lists.php.net Subject: [PHP] OpenSSL Problem Hello I am trying to use the OpenSSL module for PHP on a FreeBSD 4.10 server. I have CVS'd everything, so I have the

RE: [PHP] OpenSSL Problem

2005-01-06 Thread Gustafson, Tim
2005 11:24 AM To: Gustafson, Tim Cc: php-general@lists.php.net Subject: Re: [PHP] OpenSSL Problem Gustafson, Tim wrote: > I am trying to use the OpenSSL module for PHP on a FreeBSD 4.10 server. > I have CVS'd everything, so I have the most current version of the > FreeBSD port.

[PHP] OpenSSL Problem

2005-01-06 Thread Gustafson, Tim
Hello I am trying to use the OpenSSL module for PHP on a FreeBSD 4.10 server. I have CVS'd everything, so I have the most current version of the FreeBSD port. I have attached the PHP file that I'm running. Here's the error message I get: openssl_csr_sign(): cannot get cert from parameter 2 The

[PHP] OPENSSL problem

2001-03-15 Thread eXXos
Hi, I'm stuck for serveral days now on the following problem : whatever I try, i can't get the openssl_seal function to work. Even the sample code in the documentation doesn't work. I precise that the .dll is well loaded, I don't get any error while trying to call the functions of the openssl lib