fsockopen/ssl
| From: | Wendy Reetz | Date: | Wed, 13 Aug 2003 15:52:02 +0000 |
| Subject: | fsockopen/ssl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159449@lists.php.net to get a copy of this message | ||
Using php 4.3.2, apache 1.3.27, openssl .9.7b
I'm trying to open a secure connection using fsockopen("ssl://"...,443...) as
described in http://us4.php.net/manual/en/function.fsockopen.php.
I keep getting an error: PRNG not seeded.
OpenSSL says http://www.openssl.org/support/faq.html#USER1
says:
If the default seeding file [/dev/random or /dev/urandom] does not exist or is too short, the
"PRNG not seeded" error message may occur.
Now, both of these exist, but I'm not sure how to tell if they are too short...
has anyone used fsockopen("ssl://"...) successfully? I've read through the php site,
apache, and openssl...but I'm not finding a solution. Is there something that may have been
overlooked when the 3 were compiled? Do you need to create a certificate?
The answer may be staring me right in the face & I'm just not seeing it.Any point in the
right direction would be appreciated.
Thanks,
Wendy