Is anyone else having this issue? When trying to connect via https to a site
with fopen from a page that was connected to via HTTP from the browser it
fails. If HTTPS is used on the browser, the the php fopen call works as
expected. Me and my ISP are going nutts trying to figure this one out. Error
message:

Warning: fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded
error:05067003:Diffie-Hellman routines:DH_generate_key:BN lib
error:14098005:SSL routines:SSL3_SEND_CLIENT_KEY_EXCHANGE:bad asn1 object
header in /usr/local/etc/httpd/sites/xxx/test.php on line 2

Warning: fopen(): php_stream_sock_ssl_activate_with_method: SSL
handshake/connection failed in /usr/local/etc/httpd/sites/xxx/test.php on
line 2

cURL is installed as well as OpenSSL. See versions from phpinfo:
libcurl/7.10.2 OpenSSL/0.9.6g zlib/1.1.4
OpenSSL 0.9.6g 9 Aug 2002

Any help would be GREATLY appreciated.

BTW PHP Version 4.3.4 with the following config command:
'./configure' '--with-pgsql=/usr/local/pgsql' '--with-mysql'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-zlib-dir=/usr/local/lib'
'--with-gd' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--enable-ftp' '--enable-calendar' '--with-openssl=/usr/local/ssl'
'--with-curl=/opt/TWWfsw/curl710/'

- Totally Bummed

Reply via email to