I just remembered, I had "unrelated" issue yesterday with php 5.3.6. It is used as standalone socket server with SSL connections and it suddenly stopped working, server was receiving gibberish instead of XML requests. I nailed it down to stream_set_blocking() which was set to false for various daemon-related purposes. And when it was changed to true the functionality was restored. b. On 22 March 2011 13:14, Bostjan Skufca <bostjan@xxxxxx> wrote: > Will be more verbose ASAP, openssl is 0.9.8r... Just checked, > connection to mail.google.com works, seems this is an issue specific > to one server. > > b. > > > On 22 March 2011 12:53, <james@xxxxxxxxxxxxxxx> wrote: >> We've been using PHP 5.3.(5|6) since their released without any SSL issues. We build PHP with OpenSSL (+FIPS), considering our product is in the real world, we've had no complaints about connectivity issues via SSL. I compile PHP with OpenSSL and the FIPS module frequently and haven't seen any of these errors. >> >> When exactly are these errors occurring? >> What version of OpenSSL are you compiling against? >> >> Any additional information would be helpful. >> >> >>>---- Original Message ---- >>>From: Bostjan Skufca <bostjan@xxxxxx> >>>To: "php-general" <php-general@xxxxxxxxxxxxx> >>>Sent: Mon, Mar 21, 2011, 9:22 PM >>>Subject: SSL issues >>> >>>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 >> >> > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php