Hi,
Thanks for reading this message. Some time now I experience problem when I want to connect to an imaps enabled server where this server
uses a certificate that is created with the help of my own created CA (Certificate Authority) This problem is related to php version higher then
5.6 and there is a Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750890 gives an indeep description
-- error --
errors:[08-Sep-2014 09:51:36 +0200]: IMAP Error: Login failed for
[email protected] from x.x.x.x. Could not connect to ssl://mailserver.domain.root:993: Unknown reason (fsockopen() function disabled?) in /[path]/roundcube/program/lib/Roundcube/rcube_imap.php on line 184 (POST /dev/roundcube/?_task=login?_task=login&_action=login)
I have tryed a couple of roundcube version from 8.7 - 1.0.2 and all have the same problem. Is there a way to make roundcube aware of the
fact that it has to check the personal CA for example via the openssl.capath variable in php.ini?
One thing I want to point, when one uses the account plugin (identities_imap) this problem doesn't occur. So maybe the function that is used in
the plugin may give some information how to solve this.
The function that is the reason for all these problems is: https://wiki.php.net/rfc/tls-peer-verification
Hope somebody has a solution