Hi, I'm installed to Roundcube on localhost when I'm trying logging on to Roundcube, getting "
Connection to storage server failed" error
only when SSL connections. :'( hMailServer works perfectly.
[08-May-2014 12:40:27 +0400]: IMAP Error: Login failed for [email protected] from 127.0.0.1. Could not connect to ssl://test.local:993: Unknown reason (fsockopen() function disabled?) in C:\inetpub\mail\program\lib\Roundcube\rcube_imap.php on line 184 (POST /?_task=login?_task=login&_action=login)
$config['db_dsnw'] = 'pgsql://postgres:masterkey@localhost:5433/rc';
$config['default_host'] = 'ssl://test.local';
$config['smtp_server'] = 'ssl://test.local';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['support_url'] = '';
$config['des_key'] = 'iShJJa5UfkD!&E$!EgUdQkcd';
$config['plugins'] = array();
$config['language'] = 'en_US';
[WebPIChanges]
error_log = "C:\Windows\temp\php56_errors.log"
upload_tmp_dir = C:\Windows\temp
session.save_path = C:\Windows\temp
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1
fastcgi.logging = 0
max_execution_time = 300
date.timezone = Europe/London
extension_dir = "C:\php-5.6.0beta2\ext\"
[ExtensionList]
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_mbstring.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_curl.dll
extension=php_exif.dll
extension=php_xmlrpc.dll
extension=php_openssl.dll
extension=php_soap.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_imap.dll
extension=php_tidy.dll
extension=php_com_dotnet.dll
extension=php_pdo_sqlsrv.dll
extension=php_sqlsrv.dll
extension=php_fileinfo.dll
What went wrong? Plz help.
I experience the same problem and I guess it has to do with php 5.6 and certificate peer verification.
Below is a bug report that gives some extra information.
(https://www.mail-archive.com/
[email protected]/msg1227148.html)
I tried to solve this with the ca-certificates package (I and running my own CA) and all possible checks tell me that this
is installed correct but round cube imap-login still reports problems. Maybe the php code has to be changed so the
correct CApath is used. I also tried to edit php.ini with the openssl.capath option but this didn't solve the problem for me.
I am running 0.8.7. I guess newer version also experience this problem when connecting to imap with ssl