Subject: Update: Inbound SMTP TLS/SSL handshake problem
I’ve been working with IBM regarding this issue via a PMR for the past two weeks. There is no conclusive resolution as of this moment.
I’m not going to give all the details, but I’ve gone back and forth many times, sent multiple log files after trying various suggested notes.ini/configuration changes, etc, etc, etc. These have been analyzed, presumably, but no fix.
There was speculation that our certificate – which was SHA-1, because until just this recent release SHA-2 certs were not supported – might have been the issue. So, I updated the certificate to SHA-2, and still no joy with certain inbound SSL handshakes failing.
NOTE: for those of you who have GoDaddy for your SSL, switching to a SHA-2 cert was relatively painless and cost free. I first updated our cert from SHA-1 to SHA-2, which is an option in the GoDaddy SSL management screen. Then, realizing that this “new” cert would be based on the original CSR and old private keys, which were SHA-1, I used the option in GoDaddy to rekey the certificate as if the keys were lost. I generated a new CSR using the arcane and obtuse command-line method outlined by IBM support (here: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/3rd_Party_SHA-2_with_OpenSSL_and_kyrtool?open) http://www-10.lotus.com/ldd/dominowiki.nsf/dx/3rd_Party_SHA-2_with_OpenSSL_and_kyrtool?open and got a full SHA-2 certificate with new keys from GoDaddy. Again, no additional cost; same expiration date for cert as the old one. The cert works fine and tests fine using the Qualys SSL HTTP test AND the CheckTLS test for SMTP (CheckTLS: The Email Encryption Testing Authority) http://www.checktls.com/index.html. BTW, I have yet to find a way to get the SHA-2 cert into the “IBM HTTP Server” transparent proxy I have configured to sit in front of Domino, only into Domino itself. This whole thing is a convoluted PITA.
As mentioned, this did not fix the SMTP handshake issue with certain inbound senders, which still error with:
Mapping SSL error -6996 to 4166 [SSLProtocolErr]
I think the issue might be related to this from Symantec: “Symantec Messaging Gateway may fail to connect to mail servers utilizing strict TLS version 1 transport encryption”
Please select your identity provider. - Support Portal http://www.symantec.com/business/support/index?page=content&id=TECH215003
Regardless, IBM needs to fix this so that Domino can reliably accept mail, encrypted, from as many sources as possible. If gmail, Yahoo mail, and hotmail accept connections from the sources in question, then so must our company. If Domino can’t do it, then it is Domino that needs fixing, regardless of any “strict” reading of RFCs or whatever. I can’t not accept mail from the sources in question (some of whom are clients), and I have no power to get these organizations to change what they are doing. Their response is “we’re not having any problems sending mail to anybody except to you; the problem is on your end.” And I agree with them.
As for “Nad Surf”'s http://www-10.lotus.com/ldd/ndseforum.nsf/xpAuthor.xsp?Author=Nad%20Surf question regarding why connections don’t fall back to unencrypted after the encryption handshake fails, it is my understanding that if the sending server is configured to send unencrypted, it will typically only do so if the receiving server indicates it doesn’t support SSL/TLS at all (i.e. it doesn’t offer STARTTLS during the connection negotiation). If the receiving server indicates it DOES support encryption and gives a STARTTLS, and if the two servers cannot agree on a way to encrypt the connection, then the failure does not trigger a plain text send as an alternative. The connection simply fails, and the sender probably tries it over and over until it times out and returns the mail.
It would be nice if encryption handshake failures did fall back to plain (if configured on the server), because I’ve yet to find an inbound connection that fails the encryption handshake yet is unwilling to forgo encryption completely and deliver mail in the clear if I turn off inbound encryption on Domino. No, I don’t have an RFC reference. This is my experience.
The root problem I’m assuming is that the “fix” given to us by IBM strictly supports only TLS 1.0, not 1.1 or 1.2. This is not acceptable. TLS 1.1 was defined by RFC in 2006, going on nine years ago. TLS 1.2 was defined nearly seven years ago, in 2008. (Transport Layer Security - Wikipedia). https://en.wikipedia.org/wiki/Transport_Layer_Security#TLS_1.1 These are NOT new standards.
Our choices are:
A) don’t patch/update Domino and remain vulnerable to POODLE, etc, You’ll have increasing issues from visitors of all kinds due to supporting SSL 3. This isn’t a real option.
B) update to 9.0.1 FP2 IF1 and incompletely support the current TLS standards – which have been available for going on a decade
C) update Domino but disable SMTP inbound SSL/TLS encryption so that you don’t miss critical mail from certain senders (twitter is one off them, BTW)
My “solution” to reliably receiving inbound mail – which is all users and management is really interested in – is option “C”. Obviously, this isn’t really a “solution”.
SMTP inbound TLS on Domino is incomplete/broken as currently offered. It only satisfies a lawyer’s interpretation of “we have given the clients a solution to the problem”, and cannot be used for inbound SMTP by organizations in the real world without the risk of rejecting significant legitimate mail.