[Bug 592442] Re: fopen fails on some SSL urls

Clint Byrum clint at fewbar.com
Mon Apr 30 14:21:24 UTC 2012


Excerpts from chrone's message of Mon Apr 30 09:34:18 UTC 2012:
> i'm having the same problem here after upgrade from 11.10, my web server
> could not set email using curl and google mail smtp.
> 
> i guess the culprit is either between php5-curl, curl, and openssl. :(
> 
> is there a way to downgrade each curl and openssl version but still
> running on ubuntu 12.04 until this bug is fixed?
> 
> here's the apache error log:
> PHP Warning:  file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in /var/www/piwik.php on line 114
> PHP Warning:  file_get_contents(): Failed to enable crypto in /var/www/piwik.php on line 114
> 

You may want to try setting the cipher to use, as the issue seems to be
with a too-large header for some servers to handle.

http://php.net/manual/en/context.ssl.php

You can test what ciphers work with:

openssl s_client -connect server:port -cipher xxxxx

I'd recommend 'AES256' or 'AES128'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/592442

Title:
  fopen fails on some SSL urls

To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/592442/+subscriptions



More information about the Ubuntu-server-bugs mailing list