docusealco / docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️
https://www.docuseal.co
GNU Affero General Public License v3.0
6.26k stars 446 forks source link

Unable to use TLS #145

Closed alexismdr closed 9 months ago

alexismdr commented 10 months ago

See #93 for reference.

I'm sorry @AlexandrToorchyn but even if you check "TLS" this error is displayed. This forces me to use SSL, which doesn't help in my case. 🫤

Originally posted by @alexismdr in https://github.com/docusealco/docuseal/issues/93#issuecomment-1812611199

alexismdr commented 10 months ago

When I set "security" to None and leave port 587, everything works normally and docuseal uses TLS. But as soon as I check "TLS" for "security", the following error is displayed:

SSL_connect returned=1 errno=0 peeraddr=[IP]:587 state=error: wrong version number

You really should fix this problem, because this behavior is strange.

omohokcoj commented 9 months ago

@alexismdr that's a common error that happens because your SMTP server doesn't support TLS on the specified port. Specifying a correct port should fix the error

alexismdr commented 9 months ago

I'm sorry @omohokcoj, but the SMTP server in question is Google's. I'd be surprised if it didn't support TLS!

gbonazzoli commented 8 months ago

@alexismdr @omohokcoj

Same problem with libraesva SMTP/SSL on port 587. It is mandatory to set SMTP Security to None.