DeveloperSide.NET Forums
February 28, 2020, 04:35:37 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 Failing to Run from PHP  (Read 5932 times)
0 Members and 1 Guest are viewing this topic.
christopherward
Member
*
Posts: 4


View Profile Email
« on: June 01, 2005, 11:23:30 PM »

All of the OpenSSL Functions from within PHP fail.  As an example,
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 my 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!