OpenSSL Problem
| From: | Frédéric HARDY | Date: | Wed, 10 Dec 2003 17:49:57 +0000 |
| Subject: | OpenSSL Problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22357@lists.php.net to get a copy of this message | ||
Hello !
When I Use this code :
<?php
// Generate a new private (and public) key pair
$privkey = openssl_pkey_new();
// Show any errors that occurred here
echo "<UL>";
while (($e = openssl_error_string()) !== false) {
echo "<LI>" . $e . "</LI>\n";
}
echo "</UL>";
?>
I have this :
<UL>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
<LI>error:0E06D06C:configuration file routines:NCONF_get_string:no
value</LI>
</UL>
I'm using windows 98, apache 1.34, php 4.3.3 with openssl support enabled,
and OpenSSL 0.9.7b 10 Apr 2003, OPENSSL_CONF is correctly setted, and dll
are in SYSTEM32.
Is it normal ? Have you got any solutions ???
Best regards,
Fred
===================================================================
Frederic HARDY Email: fch@hexanet.fr
HEXANET SARL URL: http://www.hexanet.fr/
ZAC Les Charmilles Tel: +33 (0)3 26 79 30 05
3, allée Thierry Sabine Direct: +33 (0)3 26 61 77 84
BP 202 - 51686 REIMS CEDEX 2 FRANCE
===================================================================