Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with 5.6.7 B2399 #208

Closed
YasharF opened this issue Jan 5, 2017 · 2 comments
Closed

Issue with 5.6.7 B2399 #208

YasharF opened this issue Jan 5, 2017 · 2 comments

Comments

@YasharF
Copy link
Contributor

YasharF commented Jan 5, 2017

Yesterday I installed hMailServer-5.6.7-B2399 over hMailServer-5.6.6-B2383, and just a little while ago I realized emails haven't been coming thru since the upgrade. I did a downgrade back to B2383 and emails are flowing again. Looking at the logs, I see the following as the only items between when I upgraded and when I downgraded:

"APPLICATION"	6644	"2017-01-04 10:16:34.392"	"Starting servers..."
"ERROR"	6644	"2017-01-04 10:16:34.802"	"Severity: 3 (Medium), Code: HM5511, Source: SslContextInitializer::SetCipherList_, Description: Failed to set SSL ciphers"
"APPLICATION"	6644	"2017-01-04 10:16:34.829"	"Servers started."
"ERROR"	5748	"2017-01-04 10:16:34.851"	"Severity: 3 (Medium), Code: HM5511, Source: SslContextInitializer::SetCipherList_, Description: Failed to set SSL ciphers"

In my server's Setting->Advanced->SSL/TLS I have
SSL/TLS ciphers:
AES256-GCM-SHA384:AES128-GCM-SHA256:!RC4-SHA:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:3DES:!LOW:MEDIUM:HIGH:!aNULL:!eNULL:!ADH:!CAMELLIA:!SEED:!MD5:!EXP:!DES:!IDEA:!ECDHE_RSA_WITH_RC4_128_SHA
[checked] Verify remote server SSL/TLS certificates
[checked] SSL v3.0
[checked] SSL v1.0
[checked] SSL v1.1
[checked] SSL v1.2

I am guessing that the new SSL library is handling ciphers differently or it doesn't support the same set as before, but I could be wrong.

@martinknafve
Copy link
Collaborator

Thanks. I've now made a change so that if the cipher list cannot be set then a slightly more descriptive error message is logged and hMailServer will continue execution. The new version will be up later today (Swedish timezone). Unfortunately OpenSSL is not super helpful in disclosing what the actual error is in the cipher string.

In your case, the reason is: The new version of OpenSSL has dropped support for some weak ciphers such as ECDHE_RSA_WITH_RC4_128_SHA. In your cipher list, you've configured hMailServer (and hence OpenSSL) to exclude this cipher. Since the new version of OpenSSL does not know about this cipher, it generates an error when parsing your cipher list. If you remove this exclusion from your cipher list, the cipher list will be valid.

I will clarify this in the change log when I put up the new version.

@martinknafve
Copy link
Collaborator

Fixed in 5.6.7 build 2405.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants