php-windows Digest 7 Jun 2005 01:00:31 -0000 Issue 2686
Topics (messages 26070 through 26071):
openssl_pkey_new does not seem to generate a new key
26070 by: steven.xu
26071 by: steven.xu
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
php 4.3.10, openssl-0.9.6m
OPENSSL_CONF,SSLEAY_CONF environmental variable has been set
<?
$opensslconf = "c:\\usr\\local\\ssl\\openssl.cnf";
$config = array("config" => $opensslconf);
$privkey = openssl_pkey_new($config);
while ($msg = openssl_error_string())
echo $msg . "<br />\n";
openssl_pkey_export($privkey, $keydata);
echo $keydata;
?>
the php execute result:
error:02001003:system library:fopen:No such process
error:2006D002:BIO routines:BIO_new_file:system lib
error:0E064002:configuration file routines:CONF_load:system lib
--- End Message ---
--- Begin Message ---
php 4.3.10, openssl-0.9.6m
OPENSSL_CONF,SSLEAY_CONF environmental variable has been set
<?
$opensslconf = "c:\\usr\\local\\ssl\\openssl.cnf";
$config = array("config" => $opensslconf);
$privkey = openssl_pkey_new($config);
while ($msg = openssl_error_string())
echo $msg . "<br />\n";
openssl_pkey_export($privkey, $keydata);
echo $keydata;
?>
the php execute result:
error:02001003:system library:fopen:No such process
error:2006D002:BIO routines:BIO_new_file:system lib
error:0E064002:configuration file routines:CONF_load:system lib
--- End Message ---