Re: SSL issues
| From: | Richard Quadling | Date: | Tue, 22 Mar 2011 10:37:43 +0000 |
| Subject: | Re: SSL issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311983@lists.php.net to get a copy of this message | ||
On 22 March 2011 01:21, Bostjan Skufca <bostjan@a2o.si> wrote:
> Hi all,
>
> is anyone else experiencing SSL connectivity issues with PHP 5.3(.5|6)?
> PHP 5.2.17 compiled identically on the same system with the same
> config file connects to remote SSL-enabled host just fine, whereas PHP
> 5.3 (only tried .5 and .6) does not. Error message:
>
> Warning: stream_socket_client(): SSL operation failed with code 1.
> OpenSSL Error messages:
> error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
> unexpected message
> Warning: stream_socket_client(): Failed to enable crypto
>
> Any ideas why this is happening?
>
> Thanks,
> b.
>
> PS: With all the best efforts towards ditching PHP 5.2 this is a real
> showstopper.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I'm on Windows. Using 5-3-7-dev (my own build with php_openssl
statically built rather than as a shared extension).
php -d error_reporting=-1 -d display_errors=1 -r "echo
file_get_contents('https://mail.google.com/mail');"
and I get the correct content and no errors.
Can you try the above command?
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY