Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uptls plugin isn't loading correctly on 2.8.19 #2455
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
msimerson
Jun 26, 2018
Member
It's a config issue. The "active" config (see path in log message) is /haraka/config/etc/... whereas the config in tls.ini (wherever that is located) shows /etc/...
|
It's a config issue. The "active" config (see path in log message) is |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
r3pek
Jun 26, 2018
@msimerson a config "parsing" issue you mean right? Because the path in the config is not relative, it's absolute, although it's being parsed as relative.
r3pek
commented
Jun 26, 2018
|
@msimerson a config "parsing" issue you mean right? Because the path in the config is not relative, it's absolute, although it's being parsed as relative. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
analogic
Jun 28, 2018
Contributor
There is definitely something wrong
# freshly started haraka
$ nc localhost 587
220 mailserver ESMTP Haraka ready
EHLO test
250-mailserver Hello Unknown [127.0.0.1], Haraka is at your service.
250-PIPELINING
250-8BITMIME
250-SMTPUTF8
250 SIZE 26214400
$ echo " " >> /opt/haraka-submission/config/tls.ini
# force haraka to reload tls.ini
$ nc localhost 587
220 mailserver ESMTP Haraka ready
EHLO test
250-mailserver Hello Unknown [127.0.0.1], Haraka is at your service.
250-PIPELINING
250-8BITMIME
250-SMTPUTF8
250-SIZE 26214400
250 STARTTLS
tls.ini
[inbound]
ciphers=EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:!RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS
key=tls_key.pem
cert=tls_cert.pem
dhparam=dhparams.pem
[outbound]
ciphers=DEFAULT
[redis]
disable_for_failed_hosts=true
|
There is definitely something wrong
tls.ini
|
msimerson
closed this
in
#2456
Jun 28, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
r3pek
Jun 28, 2018
@msimerson maybe bump version to 2.8.19.1 or just update npmjs version along with the fix?
r3pek
commented
Jun 28, 2018
|
@msimerson maybe bump version to 2.8.19.1 or just update npmjs version along with the fix? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
We'll just cut a new version. We have no shortage of version numbers. |
r3pek commentedJun 26, 2018
•
edited
system info
echo "Haraka | $(haraka -v)"; echo " --- | :--- "; echo "Node | $(node -v)"; echo "OS | $(uname -a)";
echo "openssl | $(openssl version)"
openssl | OpenSSL 1.0.2k-fips 26 Jan 2017Expected behavior
After updating from 2.8.18, server should continue to work as normal.
Observed behavior
TLS plugin failes to load correctly with this on the logs:
Steps to reproduce
Upgrade to 2.8.19 with a valid TLS config.
tls.ini as follows:
cat tls.ini