Skip to content

Nginx to DMS fails with SSL failed error:0A00010B:SSL routines::wrong version number #4159

Answered by polarathene
UhCyR9 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. I understand that nginx terminates the TLS connection and the connection to DMS is no longer encrypted and hence this error?

Correct:

  • STARTTLS ports => nginx would fail by default as this is not TLS to begin with, it must understand STARTTLS protocol to upgrade to TLS.
  • Regardless when TLS is terminated at nginx, DMS is expecting to terminate TLS with STARTTLS or implicit TLS itself, there is no unencrypted option except for port 25.

If you do proxy to DMS, it should be at layer 7 only, and as mentioned you would need to configure PROXY protocol. This is more effort than it is worth for you, you shouldn't need to proxy connections from nginx to DMS.


2. Do the ports that use STARTTL…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@UhCyR9
Comment options

@polarathene
Comment options

Answer selected by UhCyR9
@UhCyR9
Comment options

@polarathene
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/question Someone asked a question - feel free to answer service/dovecot service/postfix area/security issue/likely user-related misconfiguration This issue is likely the result of a misconfiguration on the user's end
2 participants