Forum archive
Hardened default SSL/TLS setting - cannot get connection to SMTP server
Hi
I installed Version 14.0 LAMP Stack on a MS Hyper-V-Cluster.
Then transferred an existing phpBB-board and updated it to the latest version (3.1.6). Everything works fine except for the connection to my smtp-server (which is supposed to send the e-mails from the board). Tried different ones with different settings (ports, auth method etc), got none working...
The failure logs in my board (below) show, that the connection to the server is established but when it comes to some TLS stuff something goes wrong with the connection and it breaks...
I suspect that it could have something to do with the "hardened default SSL/TLS setting" which is described as "technically TLS settings as all versions of SSL are now disabled." (from here: /blog/turnkey-14-0-release).
I tried to set the "Compatible Cipher List recommended for older clients" in this file: /etc/apache2/mods-available/ssl.conf (and rebooted machine) but this didn't work either (form here: https://github.com/turnkeylinux/common/blob/master/conf/turnkey.d/zz-ssl...).
As I have the same board running as a test-site on a Turnkey Linux version 13.1 (on the MS Hyper-V-Cluster as well) wihtout any problems, I think it might has to do with the new tight security features in der version 14.0.
Now, I have no clue where to look further for some information on how to resolve the problem, the results of all search I did weren't of much help...
Can somebody guide me in a new direction? How can I disable (at least temporarily) the security features? Or some of them? Is this TLS-related at all...?
Do you need any further information on my system?
Thanks a lot for any help on that!
Chris
phpBBFailure logs from two different smtp servers:
Backtrace Connecting to mail.somedomain.ch:25 LINE: 1020 <- 220-websrv1.hostservers.ch ESMTP Exim 4.77 #2 Tue, 13 Oct 2015 23:44:29 +0200 LINE: 1020 <- 220-We do not authorize the use of this system to transport unsolicited, LINE: 1020 <- 220 and/or bulk e-mail. # EHLO lamp LINE: 1369 <- 250-websrv1.hostservers.ch Hello 213-193-80-20.static.cablecom.ch [213.193.80.20] LINE: 1369 <- 250-SIZE 52428800 LINE: 1369 <- 250-PIPELINING LINE: 1369 <- 250-AUTH PLAIN LOGIN LINE: 1369 <- 250-STARTTLS LINE: 1369 <- 250 HELP # STARTTLS LINE: 1414 <- 220 TLS go ahead # AUTH LOGIN LINE: 1493 <- 554 Security failure
Backtrace Connecting to mail.dachel.ch:587 LINE: 1020 <- 220 mail.dachel.ch Kerio Connect 8.3.3 ESMTP ready # EHLO lamp LINE: 1369 <- 250-mail.dachel.ch LINE: 1369 <- 250-AUTH CRAM-MD5 PLAIN LOGIN DIGEST-MD5 NTLM LINE: 1369 <- 250-STARTTLS LINE: 1369 <- 250-ENHANCEDSTATUSCODES LINE: 1369 <- 250-8BITMIME LINE: 1369 <- 250-PIPELINING LINE: 1369 <- 250-ETRN LINE: 1369 <- 250-DSN LINE: 1369 <- 250 HELP # STARTTLS LINE: 1414 <- 220 2.0.0 Ready to start TLS # AUTH LOGIN
I also had a connection problem for a service, when upgrading v13=>v14.
SSL / TLS is handled by stunnel now. Your service may need to to be 'directed through' stunnel. It will work on a fresh install, but may break when v13 configs are restored back to a v14 appliance.
see here v14.0 is different