RE: [PHP] OpenSSL Problem

From: Date: Thu, 06 Jan 2005 16:36:50 +0000
Subject: RE: [PHP] OpenSSL Problem
Groups: php.general 
Request: Send a blank email to php-general+get-205743@lists.php.net to get a copy of this message
I figured it out! I had to change the key references to something like this: file://../falconsoft.com.crt Using an absolute path seems to break it. :\ Tim Gustafson MEI Technology Consulting, Inc tjg@meitech.com (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http://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 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 file that is being referenced is a valid certificate, encoded in base-64 format and the path is correct, and OpenSSL is able to sign using this certificate and the corresponding key if I run it directly from the command line. I have also attached the certificate. What am I missing? Tim Gustafson MEI Technology Consulting, Inc tjg@meitech.com (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http://www.meitech.com/

Attachment: [application/x-pkcs7-signature] smime.p7s
« previous php.general (#205743) next »