DeveloperSide.NET Forums
December 12, 2019, 08:14:34 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: OpenSSL On PHP  (Read 6093 times)
0 Members and 1 Guest are viewing this topic.
christopherward
Member
*
Posts: 4


View Profile Email
« on: May 26, 2005, 09:14:19 PM »

openssl_pkey_new() fails with the following errors:

error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib

I am running PHP 5.0.3 and OpenSSL 0.9.7c. Per the documentation, I have set the OPENSSL_CONF environment variable on my PHP server to point to the OPENSSL.CNF file. I have verified that libeay32.dll resides in the correct directory. I believe I have a "valid openssl.cnf" file, but it still doesn't work....

My test script is:
<?php
$privkey = openssl_pkey_new();

while (($e = openssl_error_string()) !== false)
{ print($e . "<BR>");
}
?>

Does anyone see what I'm missing? Thx for your help!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!