-
Notifications
You must be signed in to change notification settings - Fork 907
Issue with SSL on SMTP #926
Comments
Are you sure you must use SSL and not TLS? Can you set SMTP to use TLS and try the test again? |
The problem came from the line supposed to check verification of SSL certificate used. On "off", it works and my configuration becomes green. On "on", it is unable to read it and return errors. On IMAP, it shows: PS : Have you seen my comment on #107 ? Thank you for your help. |
I know there are (or have been) serious issues with RainLoop and checking certificate validity. So disabling the check is an option but will allow man in the middle attacks. I think you can kind of safely disable it when the IMAP server is on the same server as RainLoop though, but still... I have seen you comment on the fall2ban issue. Looks like you fall2ban is not working correctly. This could have a lot of reasons but it's hard to say. Perhaps try to simulate by changing the fail trigger to "someword “ and then insert that line (replace HOST with an IP address) a couple of times in the log and see if that triggers a ban. I think you'll have to debug a little from there on. |
My IMAP server is on the same server as RainLoop, so I decided to disable it. I Hope it will work better on future releases. |
Could you re-open this issue? I think there is still a bug. I am using a paid-for COMODO RSA SSL certificate for my mail server. The SMTP & IMAP TLS/SSL configuration works perfectly. The sending and receiving of email from my server is encrypted just fine using the certificate. The issue I have resides in the Rainloop webmail, it does not accept my certificate files. I consistently get the error: "failed loading cafile stream: /etc/ssl/domain/domain.crt" I have checked the path and file and it is correct. This .crt file contains the entire chain i.e. the cafile, the gd_bundle and the private key. Is Rainloop incapable of understanding that? Does it have to be in separate files? In Rainloop's configuration, if I turn off "Require verification of SSL certificate used (IMAP/SMTP) (unstable)" I am able to connect via Webmail, if I turn it on I get the "Cannot Connect" error. I do see it says "unstable" but this really should get fixed. I have clients who wish to use the Webmail at times, and I cannot allow them too for obvious MITM vulnerabilities to utilize the Rainloop webmail client. Its an absolute pity as I thoroughly enjoy Rainloop and was planning on purchasing it for my company, but if it cannot verify SSL certificates, I can't propose this as a viable webmail client even though I prefer this above Horde, Squirrel Mail and Roundcube. Any tips or advice would be much appreciated. Thank you for your time. Here is more error info:
|
Most of these errors relate to the setting of PHP. |
My SSL connection is fine. My mailserver is configured correctly as I said in my previous post.
The issue seems to be Rainloop not properly reading my SSL certificate file. |
Ok, try this test file: test_ssl_connection.zip |
Hello, I ran your script and received the following output:
|
Hi,
When I try to set up my domain, that requires SSL auth and click on the "test" button, IMAP pass the test but SMTP give this error :
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Any idea of where can the problem come from ?
Thank you,
Arnaud
The text was updated successfully, but these errors were encountered: