OpenSSL Problem
| From: | Gustafson, Tim | Date: | Thu, 06 Jan 2005 15:44:48 +0000 |
| Subject: | OpenSSL Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205733@lists.php.net to get a copy of this message | ||
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/octet-stream] keys.phtml
Attachment: [application/x-x509-ca-cert] falconsoft.com.crt
Attachment: [application/x-pkcs7-signature] smime.p7s
Attachment: [application/octet-stream] keys.phtml
Attachment: [application/x-x509-ca-cert] falconsoft.com.crt
Attachment: [application/x-pkcs7-signature] smime.p7s