[RCU] connection to storage server failed

@lbutlr kremels at kreme.com
Wed Nov 9 11:33:54 CET 2016

On Nov 8, 2016, at 4:17 PM, @lbutlr <kremels at kreme.com> wrote:
> IMAP Error in /usr/local/www/roundcube/program/lib/Roundcube/rcube_imap.php (193): Login failed for kremels from Could not connect to ssl://localhost:993: Unknown reason

Thought I had this figured out, PHP5.6 will not accept a self0signed cert for some reason.

However, even if I point dovecot to a not self-signed cert (A let’s encrypt cert/key pari), I am still getting the same error.

 # openssl s_client -connect localhost:993
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify error:num=20:unable to get local issuer certificate

Not sure what “unable to get local issuer certificate” means.

I did find something online, and tried adding this to the config file for roundcube:

$config['default_host'] = 'tls://mail.covisp.net/';

// PHP 5.6 accept self-sogned certs
$config['imap_conn_options'] = array(
    'ssl' => array(
      'verify_peer'       => true,
      'allow_self_signed' => true,
      'peer_name'         => 'mail.covisp.net',
      'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH',
      'cafile'  => '/etc/ssl/certs/covisp.net.pem',

But, then I get 

Empty startup greeting (mail.covisp.net:993) in /usr/local/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)

More information about the users mailing list